diff options
author | Adam Ford <aford173@gmail.com> | 2018-02-06 12:43:56 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-02-08 19:09:03 -0500 |
commit | 1811a928c6c7604d6d05a84b4d552a7c31b4994e (patch) | |
tree | 7290cbb48a592acd901b0fab235dd08efb54b8ee /include/config_fallbacks.h | |
parent | 560eeee8c2953badfe2a12737ff8e66fefad7944 (diff) | |
download | u-boot-1811a928c6c7604d6d05a84b4d552a7c31b4994e.tar.gz |
Move most CONFIG_HAVE_BLOCK_DEVICE to Kconfig
config_fallbacks.h has some logic that sets HAVE_BLOCK_DEVICE
based on a list of enabled options. Moving HAVE_BLOCK_DEVICE to
Kconfig allows us to drastically shrink the logic in
config_fallbacks.h
Signed-off-by: Adam Ford <aford173@gmail.com>
[trini: Rename HAVE_BLOCK_DEVICE to CONFIG_BLOCK_DEVICE]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/config_fallbacks.h')
-rw-r--r-- | include/config_fallbacks.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/config_fallbacks.h b/include/config_fallbacks.h index 70013fe1d0..3d68d9fe31 100644 --- a/include/config_fallbacks.h +++ b/include/config_fallbacks.h @@ -29,21 +29,6 @@ #define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 } #endif -/* Rather than repeat this expression each time, add a define for it */ -#if defined(CONFIG_IDE) || \ - defined(CONFIG_SATA) || \ - defined(CONFIG_SCSI) || \ - defined(CONFIG_CMD_USB) || \ - defined(CONFIG_CMD_PART) || \ - defined(CONFIG_CMD_GPT) || \ - defined(CONFIG_MMC) || \ - defined(CONFIG_NVME) || \ - defined(CONFIG_SYSTEMACE) || \ - (defined(CONFIG_EFI_LOADER) && !defined(CONFIG_SPL_BUILD)) || \ - defined(CONFIG_SANDBOX) -#define HAVE_BLOCK_DEVICE -#endif - /* Console I/O Buffer Size */ #ifndef CONFIG_SYS_CBSIZE #if defined(CONFIG_CMD_KGDB) |