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:
@@ -98,6 +98,5 @@
|
||||
|
||||
/* SDHI */
|
||||
#define CONFIG_SH_SDHI_FREQ 97500000
|
||||
#define HAVE_BLOCK_DEVICE
|
||||
|
||||
#endif /* __BLANCHE_H */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -33,9 +33,6 @@
|
||||
/* Generic Timer Definitions */
|
||||
#define COUNTER_FREQUENCY 19000000
|
||||
|
||||
/* Partition table support */
|
||||
#define HAVE_BLOCK_DEVICE
|
||||
|
||||
/* BOOTP options */
|
||||
#define CONFIG_BOOTP_BOOTFILESIZE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user