Skip to contentSkip to conversation

configs: toradex-smarc-imx8mp: enable SPL_SYS_MMCSD_RAW_MODE

PATCH In review Stefan Eichenberger 2 participants 2 messages Aug 14 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs: toradex-smarc-imx8mp: enable SPL_SYS_MMCSD_RAW_MODE

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")
---
 configs/toradex-smarc-imx8mp_defconfig | 2 ++
 1 file changed, 2 insertions(+)
configs/toradex-smarc-imx8mp_defconfig +2 -0
index 7301d7a4ace..83647284ae8 100644
@@ -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
Signature · 1 line
2.55.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Stefan Eichenberger

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")

And also this,

Fixes 2a00d73d081a ("spl: mmc: Try to clean up raw-mode options")