]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sandbox: Drop distro_boot
authorSimon Glass <sjg@chromium.org>
Fri, 22 Oct 2021 03:08:44 +0000 (21:08 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 16 Nov 2021 19:35:08 +0000 (14:35 -0500)
This is a complicated set of #defines and it is painful to convert to a
text file. We can (once pending patches are applied) provide the same
functionality with bootmethod. Drop this for sandbox to allow conversion
to a text-file environment.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek BehĂșn <marek.behun@nic.cz>
include/configs/sandbox.h

index d614b704715f53aebc274e28c309e71417289078..0da0cf50924d95aac686ff9e03fd082b7c3aaeec 100644 (file)
 #define CONFIG_SYS_BAUDRATE_TABLE      {4800, 9600, 19200, 38400, 57600,\
                                        115200}
 
-#define BOOT_TARGET_DEVICES(func) \
-       func(HOST, host, 1) \
-       func(HOST, host, 0)
-
-#ifdef __ASSEMBLY__
-#define BOOTENV
-#else
-#include <config_distro_bootcmd.h>
-#endif
-
 #define CONFIG_KEEP_SERVERADDR
 #define CONFIG_UDP_CHECKSUM
 #define CONFIG_TIMESTAMP
@@ -93,7 +83,6 @@
 #define CONFIG_EXTRA_ENV_SETTINGS \
        SANDBOX_SERIAL_SETTINGS \
        SANDBOX_ETH_SETTINGS \
-       BOOTENV \
        MEM_LAYOUT_ENV_SETTINGS
 
 #ifndef CONFIG_SPL_BUILD