From: Masahiro Yamada <yamada.masahiro@socionext.com>
Date: Thu, 12 Jan 2017 03:16:15 +0000 (+0900)
Subject: mmc: sunxi: revive depends on UART0_PORT_F
X-Git-Tag: v2025.01-rc5-pxa1908~7735^2
X-Git-Url: http://git.dujemihanovic.xyz/img/static/html/index.html?a=commitdiff_plain;h=0ad178c18af3ed7f5752005a42283c4f95fcd4e3;p=u-boot.git

mmc: sunxi: revive depends on UART0_PORT_F

Commit f401e907fcbc ("ARM: sunxi: remove bare default for
CONFIG_MMC") dropped "depends on UART0_PORT_F", but it is still
needed.  Revive it as a prerequisite of CONFIG_MMC_SUNXI.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---

diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig
index 0aef13215e..9ed8da39ef 100644
--- a/drivers/mmc/Kconfig
+++ b/drivers/mmc/Kconfig
@@ -299,7 +299,7 @@ config MMC_SDHCI_TEGRA
 
 config MMC_SUNXI
 	bool "Allwinner sunxi SD/MMC Host Controller support"
-	depends on ARCH_SUNXI
+	depends on ARCH_SUNXI && !UART0_PORT_F
 	default y
 	help
 	  This selects support for the SD/MMC Host Controller on