]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
configs: socfpga: Fix de0_nano_soc boot
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 11 Dec 2025 16:34:59 +0000 (17:34 +0100)
committerTien Fong Chee <tien.fong.chee@intel.com>
Wed, 17 Dec 2025 10:50:32 +0000 (18:50 +0800)
By default, the de0_nano_soc used raw sectors, but the address became
invalid due the raw-mode refactorings. With loading via partition type
fixed, we can switch to that mode which is in line with what the ROM
loader does.

Fixes: 2a00d73d081a ("spl: mmc: Try to clean up raw-mode options")
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Tien Fong Chee <tien.fong.chee@altera.com>
configs/socfpga_de0_nano_soc_defconfig

index 32cdf6d3a6c308461378fb2a830801a657d5edf7..6564cbd03c6b823a98cbe5c32707524268c1a157 100644 (file)
@@ -28,6 +28,7 @@ CONFIG_SPL_NO_BSS_LIMIT=y
 # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
 # CONFIG_SPL_SHARES_INIT_SP_ADDR is not set
 CONFIG_SPL_HAVE_INIT_STACK=y
+CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE=y
 CONFIG_SPL_SPI_LOAD=y
 CONFIG_SYS_SPI_U_BOOT_OFFS=0x40000
 CONFIG_SYS_MAXARGS=32