mmc: move CONFIG_SDHCI to Kconfig, renaming to CONFIG_MMC_SDHCI
Move CONFIG_SDHCI to Kconfig and rename it to CONFIG_MMC_SDHCI. My motivation for the rename is, ultimately, to make all the MMC options prefixed with MMC_ and SDHCI options with MMC_SDHCI_, like Linux. This commit was created as follows: [1] Rename the config option with the following command: find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \ -type f -print | xargs sed -i -e 's/CONFIG_SDHCI/CONFIG_MMC_SDHCI/g' [2] create the entry for MMC_SDHCI in drivers/mmc/Kconfig [3] run "tools/moveconfig.py -y MMC_SDHCI" [4] add "depends on MMC_SDHCI" to existing SDHCI driver entries Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
This commit is contained in:
committed by
Tom Rini
parent
e298c46ac3
commit
e1ce61fbba
@@ -50,6 +50,7 @@ config SPL_MMC_TINY
|
||||
config MSM_SDHCI
|
||||
bool "Qualcomm SDHCI controller"
|
||||
depends on DM_MMC && BLK && DM_MMC_OPS
|
||||
depends on MMC_SDHCI
|
||||
help
|
||||
Enables support for SDHCI 2.0 controller present on some Qualcomm
|
||||
Snapdragon devices. This device is compatible with eMMC v4.5 and
|
||||
@@ -59,6 +60,7 @@ config MSM_SDHCI
|
||||
config ATMEL_SDHCI
|
||||
bool "Atmel SDHCI controller support"
|
||||
depends on DM_MMC && BLK && DM_MMC_OPS && ARCH_AT91
|
||||
depends on MMC_SDHCI
|
||||
help
|
||||
This enables support for the Atmel SDHCI controller, which supports
|
||||
the embedded MultiMedia Card (e.MMC) Specification V4.51, the SD
|
||||
@@ -84,18 +86,21 @@ config SH_SDHI
|
||||
config PIC32_SDHCI
|
||||
bool "Microchip PIC32 on-chip SDHCI support"
|
||||
depends on DM_MMC && MACH_PIC32
|
||||
depends on MMC_SDHCI
|
||||
help
|
||||
Support for Microchip PIC32 SDHCI controller.
|
||||
|
||||
config ZYNQ_SDHCI
|
||||
bool "Arasan SDHCI controller support"
|
||||
depends on DM_MMC && OF_CONTROL && BLK && DM_MMC_OPS
|
||||
depends on MMC_SDHCI
|
||||
help
|
||||
Support for Arasan SDHCI host controller on Zynq/ZynqMP ARM SoCs platform
|
||||
|
||||
config ROCKCHIP_SDHCI
|
||||
bool "Arasan SDHCI controller for Rockchip support"
|
||||
depends on DM_MMC && BLK && DM_MMC_OPS
|
||||
depends on MMC_SDHCI
|
||||
help
|
||||
Support for Arasan SDHCI host controller on Rockchip ARM SoCs platform
|
||||
|
||||
@@ -116,6 +121,17 @@ config SANDBOX_MMC
|
||||
improves build coverage for sandbox and makes it easier to detect
|
||||
MMC build errors with sandbox.
|
||||
|
||||
config MMC_SDHCI
|
||||
bool "Secure Digital Host Controller Interface support"
|
||||
help
|
||||
This selects the generic Secure Digital Host Controller Interface.
|
||||
It is used by manufacturers such as Texas Instruments(R), Ricoh(R)
|
||||
and Toshiba(R). Most controllers found in laptops are of this type.
|
||||
|
||||
If you have a controller with this interface, say Y here.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
endif
|
||||
|
||||
endmenu
|
||||
|
||||
@@ -48,7 +48,7 @@ ifdef CONFIG_GENERIC_MMC
|
||||
obj-$(CONFIG_SANDBOX) += sandbox_mmc.o
|
||||
endif
|
||||
endif
|
||||
obj-$(CONFIG_SDHCI) += sdhci.o
|
||||
obj-$(CONFIG_MMC_SDHCI) += sdhci.o
|
||||
obj-$(CONFIG_SH_MMCIF) += sh_mmcif.o
|
||||
obj-$(CONFIG_SH_SDHI) += sh_sdhi.o
|
||||
obj-$(CONFIG_SOCFPGA_DWMMC) += socfpga_dw_mmc.o
|
||||
|
||||
Reference in New Issue
Block a user