[PATCH] configs: toradex-smarc-imx8mp: enable SPL_SYS_MMCSD_RAW_MODE

Stefan Eichenberger <[email protected]>
Newsgroups org.u-boot-project.lists.u-boot
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.