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>
This commit is contained in:
Adam Ford
2018-02-06 12:43:56 -06:00
committed by Tom Rini
parent 560eeee8c2
commit 1811a928c6
20 changed files with 31 additions and 37 deletions

View File

@@ -98,6 +98,5 @@
/* SDHI */
#define CONFIG_SH_SDHI_FREQ 97500000
#define HAVE_BLOCK_DEVICE
#endif /* __BLANCHE_H */

View File

@@ -43,9 +43,6 @@
/* Disabled by default as some sub-commands can brick eMMC */
/*#define CONFIG_SUPPORT_EMMC_BOOT */
/* Partition table support */
#define HAVE_BLOCK_DEVICE /* Needed for partition commands */
#include <config_distro_defaults.h>
/* BOOTP options */

View File

@@ -33,9 +33,6 @@
/* Generic Timer Definitions */
#define COUNTER_FREQUENCY 19000000
/* Partition table support */
#define HAVE_BLOCK_DEVICE
/* BOOTP options */
#define CONFIG_BOOTP_BOOTFILESIZE