summaryrefslogtreecommitdiffstats
path: root/board
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2015-10-15 22:04:07 +0200
committerHans de Goede <hdegoede@redhat.com>2015-10-20 22:48:28 +0200
commit44c798799f667310ce29ce264be5c4bff7a21cf2 (patch)
tree9c7c539adc49adda3bc0a1a88845c82de93ac08f /board
parentf7d6b3cc1686f2fc6ea4c28590710c89bedd3a55 (diff)
downloadtalos-obmc-uboot-44c798799f667310ce29ce264be5c4bff7a21cf2.tar.gz
talos-obmc-uboot-44c798799f667310ce29ce264be5c4bff7a21cf2.zip
sunxi: Use Kconfig CONFIG_MMC
Not all sunxi boards have an MMC embedded. Switching to the Kconfig option will allow to enable or disable the support in each boards' defconfig. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'board')
-rw-r--r--board/sunxi/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
index b3367779af..f6f2a605ec 100644
--- a/board/sunxi/Kconfig
+++ b/board/sunxi/Kconfig
@@ -227,6 +227,10 @@ config OLD_SUNXI_KERNEL_COMPAT
Set this to enable various workarounds for old kernels, this results in
sub-optimal settings for newer kernels, only enable if needed.
+config MMC
+ depends on !UART0_PORT_F
+ default y if ARCH_SUNXI
+
config MMC0_CD_PIN
string "Card detect pin for mmc0"
default ""
OpenPOWER on IntegriCloud