]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: visionfive2: re-enable SPL_SYS_MMCSD_RAW_MODE
authorAndreas Schwab <schwab@suse.de>
Tue, 12 Nov 2024 16:27:22 +0000 (17:27 +0100)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 27 Nov 2024 11:32:56 +0000 (19:32 +0800)
To restore MMC boot, enable SPL_SYS_MMCSD_RAW_MODE and recover
SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION and
SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION.

Fixes: 2a00d73d081 ("spl: mmc: Try to clean up raw-mode options")
Signed-off-by: Andreas Schwab <schwab@suse.de>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
configs/starfive_visionfive2_defconfig

index 20f89ae67963b68c33d65a3c0cfd84559a0a0cd3..319e1d358a0b171dab67701527997e0ccd638f14 100644 (file)
@@ -56,6 +56,9 @@ CONFIG_SPL_PAD_TO=0x0
 CONFIG_SPL_SYS_MALLOC=y
 CONFIG_SPL_HAS_CUSTOM_MALLOC_START=y
 CONFIG_SPL_CUSTOM_SYS_MALLOC_ADDR=0x80000000
+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=0x2
 CONFIG_SPL_SYS_MALLOC_SIZE=0x400000
 CONFIG_SPL_SYS_MMCSD_RAW_MODE=y
 CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION=y