From: Stefan Eichenberger <[email protected]>

Enable raw MMC/SD boot mode again so that the SPL can load U-Boot proper
from a RAW U-Boot sector. This was previously removed in commit
25fefa05d732 ("configs: Resync with savedefconfig") but is required for
the Toradex SMARC-iMX8MP board to boot from MMC/SD.

Fixes: 25fefa05d732 ("configs: Resync with savedefconfig")
Signed-off-by: Stefan Eichenberger <[email protected]>
---
 configs/toradex-smarc-imx8mp_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configs/toradex-smarc-imx8mp_defconfig 
b/configs/toradex-smarc-imx8mp_defconfig
index 7301d7a4ace..83647284ae8 100644
--- a/configs/toradex-smarc-imx8mp_defconfig
+++ b/configs/toradex-smarc-imx8mp_defconfig
@@ -56,6 +56,8 @@ CONFIG_SPL_SYS_MALLOC=y
 CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
 CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x42200000
 CONFIG_SPL_SYS_MALLOC_SIZE=0x80000
+CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
 CONFIG_SPL_I2C=y
 CONFIG_SPL_POWER=y
 CONFIG_SPL_WATCHDOG=y
-- 
2.55.0

Reply via email to