Skip to content
Snippets Groups Projects
Commit 3d3a74cc authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Tom Rini
Browse files

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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
Reviewed-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
parent 45a68fe2
No related branches found
No related tags found
No related merge requests found
...@@ -132,6 +132,13 @@ config MMC_SDHCI ...@@ -132,6 +132,13 @@ config MMC_SDHCI
If unsure, say N. 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 config MMC_SDHCI_SDMA
bool "Support SDHCI SDMA" bool "Support SDHCI SDMA"
depends on MMC_SDHCI depends on MMC_SDHCI
...@@ -143,6 +150,7 @@ config MMC_SDHCI_BCM2835 ...@@ -143,6 +150,7 @@ config MMC_SDHCI_BCM2835
tristate "SDHCI support for the BCM2835 SD/MMC Controller" tristate "SDHCI support for the BCM2835 SD/MMC Controller"
depends on ARCH_BCM283X depends on ARCH_BCM283X
depends on MMC_SDHCI depends on MMC_SDHCI
select MMC_SDHCI_IO_ACCESSORS
help help
This selects the BCM2835 SD/MMC controller. This selects the BCM2835 SD/MMC controller.
......
...@@ -83,7 +83,6 @@ ...@@ -83,7 +83,6 @@
/* SD/MMC configuration */ /* SD/MMC configuration */
#define CONFIG_GENERIC_MMC #define CONFIG_GENERIC_MMC
#define CONFIG_MMC_SDHCI_IO_ACCESSORS
#ifdef CONFIG_CMD_USB #ifdef CONFIG_CMD_USB
#define CONFIG_USB_DWC2 #define CONFIG_USB_DWC2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment