From: Masahiro Yamada Date: Wed, 7 Dec 2016 13:10:30 +0000 (+0900) Subject: mmc: move MMC_SDHCI_IO_ACCESSORS to Kconfig X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=3d3a74cc8c774345be7d1661b215555ad41f4515;p=u-boot.git mmc: move MMC_SDHCI_IO_ACCESSORS to Kconfig This is a user-unconfigurable option that is selected by the drivers that need to overwrite SDHCI IO memory accessors. (BCM2835 SDHCI seems the only driver that needs to do so.) Signed-off-by: Masahiro Yamada Reviewed-by: Tom Rini Reviewed-by: Jaehoon Chung --- diff --git a/drivers/mmc/Kconfig b/drivers/mmc/Kconfig index cfb4e14741..2ba1254d70 100644 --- a/drivers/mmc/Kconfig +++ b/drivers/mmc/Kconfig @@ -132,6 +132,13 @@ config MMC_SDHCI If unsure, say N. +config MMC_SDHCI_IO_ACCESSORS + bool + depends on MMC_SDHCI + help + This is silent Kconfig symbol that is selected by the drivers that + need to overwrite SDHCI IO memory accessors. + config MMC_SDHCI_SDMA bool "Support SDHCI SDMA" depends on MMC_SDHCI @@ -143,6 +150,7 @@ config MMC_SDHCI_BCM2835 tristate "SDHCI support for the BCM2835 SD/MMC Controller" depends on ARCH_BCM283X depends on MMC_SDHCI + select MMC_SDHCI_IO_ACCESSORS help This selects the BCM2835 SD/MMC controller. diff --git a/include/configs/rpi.h b/include/configs/rpi.h index 8005ac1ec6..45d88247af 100644 --- a/include/configs/rpi.h +++ b/include/configs/rpi.h @@ -83,7 +83,6 @@ /* SD/MMC configuration */ #define CONFIG_GENERIC_MMC -#define CONFIG_MMC_SDHCI_IO_ACCESSORS #ifdef CONFIG_CMD_USB #define CONFIG_USB_DWC2