u-boot/drivers/mmc
Masahiro Yamada e298c46ac3 mmc: make MMC driver entries dependent on MMC
Currently, CONFIG_MMC is not related to any other options by
"depends on" or "select".  One of big advantages of using Kconfig
is automatic dependency tracking, but the current state is lacking
it.  As the first step, make the existing MMC driver entries depend
on MMC.

This commit was created by the following steps:

[1] Run the following script:

--------------------8<--------------------
rm -f tmp.txt

for d in $(find . -path './configs/*_defconfig')
do
        if grep -q -e 'CONFIG_MSM_SDHCI=y' $d ||
           grep -q -e 'CONFIG_ATMEL_SDHCI=y' $d ||
           grep -q -e 'CONFIG_ROCKCHIP_DWMMC=y' $d ||
           grep -q -e 'CONFIG_SH_SDHI=y' $d ||
           grep -q -e 'CONFIG_PIC32_SDHCI=y' $d ||
           grep -q -e 'CONFIG_ZYNQ_SDHCI=y' $d ||
           grep -q -e 'CONFIG_ROCKCHIP_SDHCI=y' $d ||
           grep -q -e 'CONFIG_MMC_UNIPHIER=y' $d ||
           grep -q -e 'CONFIG_SANDBOX_MMC=y' $d
        then
                echo CONFIG_MMC=y >> $d
                echo ${d#./configs/} >> tmp.txt
        fi
done

tools/moveconfig.py -y -s -d tmp.txt
rm tmp.txt
--------------------8<--------------------

[2] surround MMC driver entries with "if MMC" and "endif"

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
2016-12-29 13:08:07 -05:00
..
arm_pl180_mmci.c mmc: use the generic error number 2016-08-05 11:21:25 +09:00
arm_pl180_mmci.h mmc: Split mmc struct, rework mmc initialization (v2) 2014-03-24 12:58:56 +02:00
atmel_sdhci.c mmc: atmel_sdhci: Remove unnecessary clock calling 2016-10-28 18:37:15 +02:00
bcm2835_sdhci.c mmc: sdhci: use the generic error number 2016-10-10 15:23:33 +09:00
bfin_sdh.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
davinci_mmc.c mmc: use the generic error number 2016-08-05 11:21:25 +09:00
dw_mmc.c mmc: dw_mmc: remove the unnecessary arguments for dwmci_setup_cfg 2016-10-10 15:23:33 +09:00
exynos_dw_mmc.c mmc: dw_mmc: remove the unnecessary arguments for dwmci_setup_cfg 2016-10-10 15:23:33 +09:00
fsl_esdhc_spl.c block: pass block dev not num to read/write/erase() 2016-01-13 21:05:18 -05:00
fsl_esdhc.c dm: mmc: intialize dev when probe 2016-10-04 15:41:01 +02:00
ftsdc010_mci.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
ftsdc021_sdhci.c mmc: sdhci: use the generic error number 2016-10-10 15:23:33 +09:00
gen_atmel_mci.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
hi6220_dw_mmc.c treewide: replace #include <asm-generic/errno.h> with <linux/errno.h> 2016-09-23 22:25:27 -04:00
Kconfig mmc: make MMC driver entries dependent on MMC 2016-12-29 13:08:07 -05:00
kona_sdhci.c mmc: sdhci: use the generic error number 2016-10-10 15:23:33 +09:00
Makefile mmc: spear: remove the entire spear_sdhci.c file 2016-12-22 07:08:52 +09:00
mmc_boot.c mmc: squash lines for immediate return 2016-09-23 17:53:44 -04:00
mmc_legacy.c mmc: Tinification of the mmc code 2016-12-01 13:51:57 +09:00
mmc_private.h dm: mmc: Support erase 2016-10-09 21:36:27 -06:00
mmc_spi.c mmc: use the generic error number 2016-08-05 11:21:25 +09:00
mmc_write.c dm: mmc: Support erase 2016-10-09 21:36:27 -06:00
mmc-uclass.c mmc: refactor two core functions 2016-10-28 11:02:16 +09:00
mmc.c mmc: Tinification of the mmc code 2016-12-01 13:51:57 +09:00
msm_sdhci.c mmc: sdhci: use the host version value in sdhci_setup_cfg 2016-10-10 15:23:33 +09:00
mv_sdhci.c mmc: sdhci: use the generic error number 2016-10-10 15:23:33 +09:00
mvebu_mmc.c mmc: use the generic error number 2016-08-05 11:21:25 +09:00
mxcmmc.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
mxsmmc.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
omap_hsmmc.c ARM: OMAP4+: Add support for getting pbias info from board 2016-12-04 13:54:51 -05:00
pci_mmc.c mmc: Fix cast for 64-bit compilation 2016-10-11 07:46:11 +09:00
pic32_sdhci.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
pxa_mmc_gen.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
rockchip_dw_mmc.c mmc: dw_mmc: remove the unnecessary arguments for dwmci_setup_cfg 2016-10-10 15:23:33 +09:00
rockchip_sdhci.c mmc: squash lines for immediate return 2016-09-23 17:53:44 -04:00
rpmb.c Move ALLOC_CACHE_ALIGN_BUFFER() to the new memalign.h header 2015-09-11 17:15:20 -04:00
s3c_sdi.c mmc: use the generic error number 2016-08-05 11:21:25 +09:00
s5p_sdhci.c mmc: s5p_sdhci: fix to check proper pinmux id 2016-12-01 11:09:44 +09:00
sandbox_mmc.c mmc: squash lines for immediate return 2016-09-23 17:53:44 -04:00
sdhci.c mmc: sdhci: assign to clk_mul when host version is upper than SD3.0 2016-10-28 11:02:16 +09:00
sh_mmcif.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
sh_mmcif.h ARM: Rmobile: Rename CONFIG_RMOBILE to CONFIG_ARCH_RMOBILE 2016-08-17 10:25:34 +09:00
sh_sdhi.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
socfpga_dw_mmc.c dm: mmc: socfpga: fix MMC_OPS support 2016-10-28 11:02:16 +09:00
sunxi_mmc.c mmc: sunxi: Enable 8bits bus width for sun8i 2016-11-16 13:30:17 +09:00
tegra_mmc.c mmc: tegra: only use new clock/reset APIs 2016-09-27 09:11:03 -07:00
uniphier-sd.c mmc: uniphier-sd: migrate to CONFIG_BLK 2016-09-14 22:54:19 +09:00
zynq_sdhci.c mmc: sdhci: use the host version value in sdhci_setup_cfg 2016-10-10 15:23:33 +09:00