diff mbox

[U-Boot] mmc: sunxi: revive depends on UART0_PORT_F

Message ID 1484190975-13351-1-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit 0ad178c18af3ed7f5752005a42283c4f95fcd4e3
Delegated to: Jaehoon Chung
Headers show

Commit Message

Masahiro Yamada Jan. 12, 2017, 3:16 a.m. UTC
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>
---

 drivers/mmc/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Maxime Ripard Jan. 12, 2017, 4:50 p.m. UTC | #1
On Thu, Jan 12, 2017 at 12:16:15PM +0900, Masahiro Yamada wrote:
> 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>

Thanks!
Maxime
Jaehoon Chung Jan. 13, 2017, 3:19 a.m. UTC | #2
On 01/13/2017 01:50 AM, Maxime Ripard wrote:
> On Thu, Jan 12, 2017 at 12:16:15PM +0900, Masahiro Yamada wrote:
>> 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>

Thanks! Applied on u-boot-mmc!

Best Regards,
Jaehoon Chung

> 
> Thanks!
> Maxime
>
diff mbox

Patch

diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig
index 0aef132..9ed8da3 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