mmc: move some SDHCI related options to Kconfig
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 7 Dec 2016 13:10:29 +0000 (22:10 +0900)
committerTom Rini <trini@konsulko.com>
Thu, 29 Dec 2016 18:08:16 +0000 (13:08 -0500)
commit45a68fe267f14aae05c5d244b1bcda075de7d0a6
tree66c66c49f8c2c460b583a27d27d3fa7c13023ff6
parente1ce61fbba76304b5ff7e328a55050ceea5028ef
mmc: move some SDHCI related options to Kconfig

While I moved the options, I also renamed them so that they are all
prefixed with MMC_SDHCI_.

This commit was created in the following steps.

[1] Rename with the following command
find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \
-type f -print | xargs sed -i -e '
s/CONFIG_MMC_SDMA/CONFIG_MMC_SDHCI_SDMA/g
s/CONFIG_BCM2835_SDHCI/CONFIG_MMC_SDHCI_BCM2835/g
s/CONFIG_KONA_SDHCI/CONFIG_MMC_SDHCI_KONA/g
s/CONFIG_MV_SDHCI/CONFIG_MMC_SDHCI_MV/g
s/CONFIG_S5P_SDHCI/CONFIG_MMC_SDHCI_S5P/g
s/CONFIG_SPEAR_SDHCI/CONFIG_MMC_SDHCI_SPEAR/g
'

[2] create the Kconfig entries in drivers/mmc/Kconfig

[3] Move the options by the following command
tools/moveconfig.py -y MMC_SDHCI_SDMA MMC_SDHCI_BCM2835 \
MMC_SDHCI_KONA MMC_SDHCI_MV MMC_SDHCI_S5P MMC_SDHCI_SPEAR

[4] Sort drivers/mmc/Makefile for readability

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
54 files changed:
arch/arm/mach-mvebu/cpu.c
board/broadcom/bcm23550_w1d/bcm23550_w1d.c
board/broadcom/bcm28155_ap/bcm28155_ap.c
configs/arndale_defconfig
configs/bayleybay_defconfig
configs/bcm11130_defconfig
configs/bcm11130_nand_defconfig
configs/bcm23550_w1d_defconfig
configs/bcm28155_ap_defconfig
configs/bcm28155_w1d_defconfig
configs/clearfog_defconfig
configs/conga-qeval20-qa3-e3845-internal-uart_defconfig
configs/conga-qeval20-qa3-e3845_defconfig
configs/crownbay_defconfig
configs/db-88f6820-gp_defconfig
configs/dfi-bt700-q7x-151_defconfig
configs/galileo_defconfig
configs/minnowmax_defconfig
configs/odroid-xu3_defconfig
configs/odroid_defconfig
configs/origen_defconfig
configs/peach-pi_defconfig
configs/peach-pit_defconfig
configs/rpi_2_defconfig
configs/rpi_3_32b_defconfig
configs/rpi_3_defconfig
configs/rpi_defconfig
configs/s5p_goni_defconfig
configs/s5pc210_universal_defconfig
configs/smdk5250_defconfig
configs/smdk5420_defconfig
configs/smdkv310_defconfig
configs/snow_defconfig
configs/spring_defconfig
configs/theadorable-x86-dfi-bt700_defconfig
configs/trats2_defconfig
configs/trats_defconfig
drivers/mmc/Kconfig
drivers/mmc/Makefile
drivers/mmc/sdhci.c
include/configs/bayleybay.h
include/configs/bcm23550_w1d.h
include/configs/bcm28155_ap.h
include/configs/clearfog.h
include/configs/conga-qeval20-qa3-e3845.h
include/configs/crownbay.h
include/configs/db-88f6820-gp.h
include/configs/dfi-bt700.h
include/configs/exynos-common.h
include/configs/exynos4-common.h
include/configs/galileo.h
include/configs/minnowmax.h
include/configs/rpi.h
include/configs/s5p_goni.h