sandbox: Drop distro_boot

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>
This commit is contained in:
Simon Glass 2021-10-21 21:08:44 -06:00 committed by Tom Rini
parent 9272805139
commit 79c0e8a935

View File

@ -39,16 +39,6 @@
#define CONFIG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600,\ #define CONFIG_SYS_BAUDRATE_TABLE {4800, 9600, 19200, 38400, 57600,\
115200} 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_KEEP_SERVERADDR
#define CONFIG_UDP_CHECKSUM #define CONFIG_UDP_CHECKSUM
#define CONFIG_TIMESTAMP #define CONFIG_TIMESTAMP
@ -93,7 +83,6 @@
#define CONFIG_EXTRA_ENV_SETTINGS \ #define CONFIG_EXTRA_ENV_SETTINGS \
SANDBOX_SERIAL_SETTINGS \ SANDBOX_SERIAL_SETTINGS \
SANDBOX_ETH_SETTINGS \ SANDBOX_ETH_SETTINGS \
BOOTENV \
MEM_LAYOUT_ENV_SETTINGS MEM_LAYOUT_ENV_SETTINGS
#ifndef CONFIG_SPL_BUILD #ifndef CONFIG_SPL_BUILD