]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
starfive: visionfive2: switch to standard boot
authorNam Cao <namcao@linutronix.de>
Wed, 21 Feb 2024 12:00:14 +0000 (13:00 +0100)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Tue, 12 Mar 2024 06:36:13 +0000 (14:36 +0800)
Distro boot scripts are deprecated. Use standard boot instead.

Signed-off-by: Nam Cao <namcao@linutronix.de>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
configs/starfive_visionfive2_defconfig
include/configs/starfive-visionfive2.h

index c68f3c2def50b805b67c534b85d1955e2bef1294..7a3f1d4dbdfdbe30eeca5f52fe9582bd7bab9b8f 100644 (file)
@@ -30,8 +30,8 @@ CONFIG_RISCV_SMODE=y
 # CONFIG_OF_BOARD_FIXUP is not set
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
 CONFIG_FIT=y
+CONFIG_BOOTSTD_DEFAULTS=y
 CONFIG_SYS_BOOTM_LEN=0x4000000
-CONFIG_DISTRO_DEFAULTS=y
 CONFIG_BOOTSTAGE=y
 CONFIG_QSPI_BOOT=y
 CONFIG_SD_BOOT=y
index 29c74470c71bd4cb6b98092fe01d5ddbc52670aa..049b0a0630164ad4a5039c15a827dcd165d7cc10 100644 (file)
 
 #define __io
 
-/* Environment options */
-
-#define BOOT_TARGET_DEVICES(func) \
-       func(NVME, nvme, 0) \
-       func(USB, usb, 0) \
-       func(MMC, mmc, 0) \
-       func(MMC, mmc, 1) \
-       func(DHCP, dhcp, na)
-
-#include <config_distro_bootcmd.h>
-
 #define TYPE_GUID_SPL          "2E54B353-1271-4842-806F-E436D6AF6985"
 #define TYPE_GUID_UBOOT        "BC13C2FF-59E6-4262-A352-B275FD6F7172"
 #define TYPE_GUID_SYSTEM       "EBD0A0A2-B9E5-4433-87C0-68B6B72699C7"
@@ -48,7 +37,6 @@
        "type_guid_gpt_loader2=" TYPE_GUID_UBOOT "\0" \
        "type_guid_gpt_system=" TYPE_GUID_SYSTEM "\0" \
        "partitions=" PARTS_DEFAULT "\0" \
-       "fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0" \
-       BOOTENV
+       "fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0"
 
 #endif /* _STARFIVE_VISIONFIVE2_H */