summaryrefslogtreecommitdiffstats
path: root/arch/sandbox/os/Makefile
diff options
context:
space:
mode:
authorMarco Felsch <m.felsch@pengutronix.de>2023-07-05 21:03:52 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2023-07-26 15:39:37 +0200
commitcb2fd486df2fc433aee2fcd6158e851c3e9f618d (patch)
tree7b3c08667301290ee66022e12cb4b99468482e21 /arch/sandbox/os/Makefile
parente483a34a6b95f3e8849a2baad79d208632a3b46e (diff)
downloadbarebox-cb2fd486df2fc433aee2fcd6158e851c3e9f618d.tar.gz
barebox-cb2fd486df2fc433aee2fcd6158e851c3e9f618d.tar.xz
mci: imx-esdhc-pbl: fix image load in DDR mode
The __esdhc_send_cmd checks the sdhci.timing setting and configures it accordingly. If the BootROM configured the device to operare in DDR mode we need to honor that else the PBL can't load the binary correctly from the eMMC. Therefore readback the sdhci mixctrl setting and set the sdhci.timing to DDR52. At the moment DDR52 is the fastest/highest transferrate the BootROM supports, so we don't need to handle HS200/400 yet. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20230705190352.1448472-1-m.felsch@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/sandbox/os/Makefile')
0 files changed, 0 insertions, 0 deletions