aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorAlexandru Gagniuc2017-04-04 10:02:58 -0700
committerTom Rini2017-04-08 09:26:54 -0400
commit0dcf18c69ddcc2a462cd556097d479646c5836ea (patch)
tree045d10c38a994340235debb98eaf33c2e416ba12 /board
parentf2ac8958e4de536f08e6ea28efd3fd89dfaae84c (diff)
spl: Kconfig: SPL_MMC_SUPPORT depends on GENERIC_MMC
spl_mmc.c calls mmc_initialize(). This symbol is provided in drivers/mmc/mmc.c when CONFIG_GENERIC_MMC is enabled. The sunxi Kconfig case is an oddball because it redefines SPL_MMC_SUPPORT. Signed-off-by: Alexandru Gagniuc <alex.g@adaptrum.com> [trini: Update arch/arm/cpu/armv8/zynqmp/Kconfig] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board')
-rw-r--r--board/sunxi/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
index 3e0e2624737..a667c9e5c5c 100644
--- a/board/sunxi/Kconfig
+++ b/board/sunxi/Kconfig
@@ -3,6 +3,7 @@ if ARCH_SUNXI
config IDENT_STRING
default " Allwinner Technology"
+# FIXME: Should not redefine these Kconfig symbols
config PRE_CONSOLE_BUFFER
default y
@@ -19,6 +20,7 @@ config SPL_LIBGENERIC_SUPPORT
default y
config SPL_MMC_SUPPORT
+ depends on SPL && GENERIC_MMC
default y
config SPL_POWER_SUPPORT