]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: stm32mp1: Restore boot SPL from sdcard for stm32mp15
authorPatrice Chotard <patrice.chotard@foss.st.com>
Mon, 16 Dec 2024 10:22:15 +0000 (11:22 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Wed, 18 Dec 2024 10:34:10 +0000 (11:34 +0100)
Restore boot SPL from sdcard for STM32MP1 platforms.

Fixes: 2a00d73d081a ("spl: mmc: Try to clean up raw-mode options")
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
configs/stm32mp15_basic_defconfig

index 1c0d0d0a073cb88876a11864d08ba211ad64f94d..dcf44bcc0e767f499c24e9d729fdc013ca1578ab 100644 (file)
@@ -38,6 +38,9 @@ CONFIG_SPL_SYS_MALLOC=y
 CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
 CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0xc0300000
 CONFIG_SPL_SYS_MALLOC_SIZE=0x1d00000
+CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION=0x3
 CONFIG_SPL_ENV_SUPPORT=y
 CONFIG_SPL_I2C=y
 CONFIG_SPL_MTD=y