mmc: move more driver config options to Kconfig
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 10 Jan 2017 04:32:07 +0000 (13:32 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 11 Jan 2017 10:40:15 +0000 (19:40 +0900)
commit1d2c0506d31a9997e5ffc22e90942902f673b107
treea2b91cf78bee469f9fea66e7cbc70d026e935dc1
parent0ec6eb54959d061def8505a28e438395140d9f52
mmc: move more driver config options to Kconfig

Move (and rename) the following CONFIG options to Kconfig:

  CONFIG_DAVINCI_MMC  (renamed to CONFIG_MMC_DAVINCI)
  CONFIG_OMAP_HSMMC   (renamed to CONFIG_MMC_OMAP_HS)
  CONFIG_MXC_MMC      (renamed to CONFIG_MMC_MXC)
  CONFIG_MXS_MMC      (renamed to CONFIG_MMC_MXS)
  CONFIG_TEGRA_MMC    (renamed to CONFIG_MMC_SDHCI_TEGRA)
  CONFIG_SUNXI_MMC    (renamed to CONFIG_MMC_SUNXI)

They are the same option names as used in Linux.

This commit was created as follows:

[1] Rename the options with the following command:

find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \
-type f -print | xargs sed -i -e '
s/CONFIG_DAVINCI_MMC/CONFIG_MMC_DAVINCI/g
s/CONFIG_OMAP_HSMMC/CONFIG_MMC_OMAP_HS/g
s/CONFIG_MXC_MMC/CONFIG_MMC_MXC/g
s/CONFIG_MXS_MMC/CONFIG_MMC_MXS/g
s/CONFIG_TEGRA_MMC/CONFIG_MMC_SDHCI_TEGRA/g
s/CONFIG_SUNXI_MMC/CONFIG_MMC_SUNXI/g
'

[2] Commit the changes

[3] Create entries in driver/mmc/Kconfig.
    (copied from Linux)

[4] Move the options with the following command
tools/moveconfig.py -y -r HEAD \
MMC_DAVINCI MMC_OMAP_HS MMC_MXC MMC_MXS MMC_SDHCI_TEGRA MMC_SUNXI

[5] Sort and align drivers/mmc/Makefile for readability

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Marek Vasut <marex@denx.de>
165 files changed:
arch/arm/cpu/arm926ejs/mx27/generic.c
arch/arm/include/asm/arch-mx27/imx-regs.h
arch/arm/mach-davinci/da830_pinmux.c
arch/arm/mach-omap2/am33xx/board.c
arch/arm/mach-tegra/board2.c
board/armadeus/apf27/apf27.c
board/avionic-design/common/tamonten.c
board/compal/paz00/paz00.c
board/davinci/da8xxevm/da850evm.c
board/davinci/da8xxevm/omapl138_lcdk.c
board/htkw/mcx/mcx.c
board/lego/ev3/legoev3.c
board/nvidia/cardhu/cardhu.c
board/nvidia/dalmore/dalmore.c
board/nvidia/harmony/harmony.c
board/nvidia/seaboard/seaboard.c
board/nvidia/whistler/whistler.c
board/technexion/twister/twister.c
board/teejet/mt_ventoux/mt_ventoux.c
board/toradex/colibri_t20/colibri_t20.c
configs/am335x_baltos_defconfig
configs/am335x_boneblack_defconfig
configs/am335x_boneblack_vboot_defconfig
configs/am335x_evm_defconfig
configs/am335x_evm_nor_defconfig
configs/am335x_evm_norboot_defconfig
configs/am335x_evm_spiboot_defconfig
configs/am335x_evm_usbspl_defconfig
configs/am335x_igep0033_defconfig
configs/am335x_shc_defconfig
configs/am335x_shc_ict_defconfig
configs/am335x_shc_netboot_defconfig
configs/am335x_shc_prompt_defconfig
configs/am335x_shc_sdboot_defconfig
configs/am335x_shc_sdboot_prompt_defconfig
configs/am335x_sl50_defconfig
configs/am3517_crane_defconfig
configs/am3517_evm_defconfig
configs/am43xx_evm_defconfig
configs/am43xx_evm_ethboot_defconfig
configs/am43xx_evm_qspiboot_defconfig
configs/am43xx_evm_usbhost_boot_defconfig
configs/am43xx_hs_evm_defconfig
configs/am57xx_evm_defconfig
configs/am57xx_evm_nodt_defconfig
configs/am57xx_hs_evm_defconfig
configs/apf27_defconfig
configs/apx4devkit_defconfig
configs/birdland_bav335a_defconfig
configs/birdland_bav335b_defconfig
configs/brppt1_mmc_defconfig
configs/brppt1_spi_defconfig
configs/brxre1_defconfig
configs/cairo_defconfig
configs/cl-som-am57x_defconfig
configs/cm_t335_defconfig
configs/cm_t3517_defconfig
configs/cm_t35_defconfig
configs/cm_t43_defconfig
configs/cm_t54_defconfig
configs/devkit8000_defconfig
configs/dra7xx_evm_defconfig
configs/dra7xx_hs_evm_defconfig
configs/draco_defconfig
configs/duovero_defconfig
configs/eco5pk_defconfig
configs/etamin_defconfig
configs/igep0020_defconfig
configs/igep0030_defconfig
configs/igep0032_defconfig
configs/k2g_evm_defconfig
configs/kc1_defconfig
configs/m28evk_defconfig
configs/mcx_defconfig
configs/mt_ventoux_defconfig
configs/mx23_olinuxino_defconfig
configs/mx23evk_defconfig
configs/mx28evk_auart_console_defconfig
configs/mx28evk_defconfig
configs/mx28evk_nand_defconfig
configs/mx28evk_spi_defconfig
configs/nokia_rx51_defconfig
configs/omap3_beagle_defconfig
configs/omap3_evm_defconfig
configs/omap3_ha_defconfig
configs/omap3_logic_defconfig
configs/omap3_overo_defconfig
configs/omap3_pandora_defconfig
configs/omap3_zoom1_defconfig
configs/omap4_panda_defconfig
configs/omap4_sdp4430_defconfig
configs/omap5_uevm_defconfig
configs/pcm051_rev1_defconfig
configs/pcm051_rev3_defconfig
configs/pengwyn_defconfig
configs/pepper_defconfig
configs/pxm2_defconfig
configs/rastaban_defconfig
configs/rut_defconfig
configs/sansa_fuze_plus_defconfig
configs/sc_sps_1_defconfig
configs/sniper_defconfig
configs/tao3530_defconfig
configs/thuban_defconfig
configs/ti814x_evm_defconfig
configs/ti816x_evm_defconfig
configs/tricorder_defconfig
configs/tricorder_flash_defconfig
configs/ts4600_defconfig
configs/twister_defconfig
configs/xfi3_defconfig
drivers/mmc/Kconfig
drivers/mmc/Makefile
include/configs/am3517_crane.h
include/configs/am3517_evm.h
include/configs/apalis_t30.h
include/configs/apf27.h
include/configs/beaver.h
include/configs/brppt1.h
include/configs/brxre1.h
include/configs/cardhu.h
include/configs/cei-tk1-som.h
include/configs/cm_t35.h
include/configs/cm_t3517.h
include/configs/colibri_t20.h
include/configs/colibri_t30.h
include/configs/da850evm.h
include/configs/dalmore.h
include/configs/e2220-1170.h
include/configs/harmony.h
include/configs/imx27lite-common.h
include/configs/jetson-tk1.h
include/configs/k2g_evm.h
include/configs/kc1.h
include/configs/legoev3.h
include/configs/mcx.h
include/configs/medcom-wide.h
include/configs/mxs.h
include/configs/nokia_rx51.h
include/configs/nyan-big.h
include/configs/omap3_evm.h
include/configs/omapl138_lcdk.h
include/configs/p2371-0000.h
include/configs/p2371-2180.h
include/configs/p2571.h
include/configs/p2771-0000.h
include/configs/paz00.h
include/configs/plutux.h
include/configs/seaboard.h
include/configs/siemens-am33x-common.h
include/configs/sniper.h
include/configs/sunxi-common.h
include/configs/tam3517-common.h
include/configs/tao3530.h
include/configs/tec-ng.h
include/configs/tec.h
include/configs/tegra-common-post.h
include/configs/ti814x_evm.h
include/configs/ti816x_evm.h
include/configs/ti_armv7_omap.h
include/configs/tricorder.h
include/configs/trimslice.h
include/configs/venice2.h
include/configs/ventana.h
include/configs/whistler.h