]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: mvebu: x240: Switch to standard boot
authorChris Packham <judge.packham@gmail.com>
Fri, 22 Nov 2024 00:30:16 +0000 (13:30 +1300)
committerStefan Roese <sr@denx.de>
Tue, 26 Nov 2024 12:20:00 +0000 (13:20 +0100)
Use standard boot instead of the distro boot scripts. Regenerate the
board defconfig now that some options are selected automatically.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/Kconfig
configs/x240_defconfig
include/configs/x240.h

index c1a1a333e6c99187c9443243b42d06b18a3e4c57..b61253e2d098b50a8ce79a5245ae78f226bcd228 100644 (file)
@@ -218,6 +218,7 @@ config TARGET_X530
 config TARGET_X240
        bool "Support Allied Telesis x240"
        select ALLEYCAT_5
+       imply BOOTSTD_DEFAULTS
 
 config TARGET_DB_XC3_24G4XG
        bool "Support DB-XC3-24G4XG"
index f930d28de2dd4c47ac4a6b9ff22ca007e0a1a95f..4fca1096e74027b8c0b9f1a0a8b6bc32e4e419f5 100644 (file)
@@ -27,14 +27,9 @@ CONFIG_CMD_PCI=y
 CONFIG_CMD_SPI=y
 CONFIG_CMD_USB=y
 # CONFIG_CMD_SETEXPR is not set
-CONFIG_CMD_DHCP=y
-CONFIG_CMD_PING=y
 CONFIG_CMD_CACHE=y
 CONFIG_CMD_TIME=y
 CONFIG_CMD_REGULATOR=y
-CONFIG_CMD_EXT4=y
-CONFIG_CMD_FAT=y
-CONFIG_CMD_FS_GENERIC=y
 CONFIG_CMD_UBI=y
 CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_CLK=y
@@ -74,7 +69,6 @@ CONFIG_DM_THERMAL=y
 CONFIG_USB=y
 CONFIG_USB_XHCI_HCD=y
 CONFIG_USB_EHCI_HCD=y
-CONFIG_USB_STORAGE=y
 CONFIG_USB_HOST_ETHER=y
 CONFIG_USB_ETHER_ASIX=y
 CONFIG_USB_ETHER_ASIX88179=y
index bc66e4e3c8e60effc3dbd364e67d136c6fa75906..05241f33d74f5f32fe9e42233d90ca27984cda03 100644 (file)
 #define CFG_SYS_SDRAM_BASE   0x200000000
 
 /* Default Env vars */
-
-#define BOOT_TARGET_DEVICES(func) \
-       func(USB, usb, 0) \
-       func(DHCP, dhcp, na)
-
-#include <config_distro_bootcmd.h>
+#define BOOT_TARGETS "usb dhcp"
 
 #define CFG_EXTRA_ENV_SETTINGS   \
-       BOOTENV \
        "kernel_addr_r=0x202000000\0" \
        "fdt_addr_r=0x201000000\0"    \
        "ramdisk_addr_r=0x206000000\0"    \
+       "boot_targets=" BOOT_TARGETS "\0" \
        "fdtfile=marvell/" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0"
 
 /*