u-boot-brain/drivers
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
..
adc sandbox: add ADC driver 2015-11-02 10:38:00 +09:00
bios_emulator bios_emulator: Fix cast for 64-bit compilation 2016-10-11 11:55:33 +08:00
block block: Move ceva driver to DM 2016-12-20 09:15:27 +01:00
bootcount bootcounter_ram: Fix misaligned cache warning 2016-11-28 15:10:34 -05:00
clk rockchip: clk: Support setting ACLK 2016-11-25 17:59:31 -07:00
core dm: core: Add dev_get_addr_size_index() to retrieve addr and size 2016-12-02 21:03:31 -07:00
cpu cpu: Add get_vendor callback 2016-10-19 09:01:51 +02:00
crypto powerpc: C29X: Move CONFIG_PPC_C29X to Kconfig option 2016-11-23 23:42:04 -08:00
ddr fsl/ddr: Add erratum_a009942_check_cpo and clean related erratum 2016-12-05 08:31:45 -08:00
demo drivers: hierarchize drivers Kconfig menu 2015-08-12 20:47:44 -04:00
dfu dfu: align array in dfu_get_dev_type with enum dfu_device_type 2016-11-03 11:55:25 +01:00
dma treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
fpga arm: imx: add i.MX53 Beckhoff CX9020 Embedded PC 2016-12-16 12:57:12 +01:00
gpio Update Maintainer and Author's email address 2016-12-27 11:24:17 -05:00
hwmon mailaddr: Update mail address 2016-01-27 15:32:05 +01:00
i2c Merge branch 'master' of git://git.denx.de/u-boot-i2c 2016-12-20 08:41:54 -05:00
input powerpc: MPC8555: Remove macro CONFIG_MPC8555 2016-11-23 23:42:05 -08:00
led dm: led: Tidy up SPL options for the led and led-gpio 2015-09-02 21:28:22 -06:00
mailbox libfdt: Bring in upstream stringlist functions 2016-10-13 13:54:10 -06:00
memory memory: Move TI_AEMIF config to KCONFIG 2016-04-18 17:11:43 -04:00
misc OCOTP: Update OCOTP driver to support i.MX6SLL 2016-12-16 11:38:24 +01:00
mmc mmc: make MMC driver entries dependent on MMC 2016-12-29 13:08:07 -05:00
mtd Revert "sf: Fix quad bit set for micron devices" 2016-12-15 18:33:16 +01:00
net Update Maintainer and Author's email address 2016-12-27 11:24:17 -05:00
pch dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
pci pci: mvebu: Add PCIe driver for Armada-8K 2016-12-05 13:34:33 +01:00
pcmcia powerpc: mpc824x: remove MPC824X cpu support 2015-01-05 12:08:55 -05:00
phy/marvell drivers/phy: marvell: Add support for the slave CP COMPHY device 2016-12-05 13:28:23 +01:00
pinctrl arm: imx: add i.MX53 Beckhoff CX9020 Embedded PC 2016-12-16 12:57:12 +01:00
power regulator: fixed: Add support to handle enable-active-high DT property 2016-12-27 08:22:57 -05:00
pwm pwm: imx: increase support up to PWM8 for i.MX6SX 2016-11-29 16:34:27 +01:00
qe powerpc: P1025: Remove macro CONFIG_P1025 2016-11-23 23:42:10 -08:00
ram ram: rename CONFIG_SPL_RAM_SUPPORT to CONFIG_SPL_RAM 2015-08-18 13:46:02 -04:00
remoteproc remoteproc: Add support for TI power processor 2016-03-14 19:18:37 -04:00
reset libfdt: Bring in upstream stringlist functions 2016-10-13 13:54:10 -06:00
rtc rtc: Add RTC chip pcf2127 support 2016-12-02 21:03:31 -07:00
serial serial: 16550: Add Ingenic JZ4780 support 2016-12-19 12:26:37 -05:00
soc Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
sound of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
spi spi: Zap armada100_spi.c and env 2016-12-21 12:18:47 +01:00
spmi Merge git://git.denx.de/u-boot-dm 2016-08-12 16:00:50 -04:00
sysreset xtensa: add support for the 'xtfpga' evaluation board 2016-08-15 18:46:40 -04:00
thermal thermal: Kconfig: Add IMX_THERMAL entry 2016-10-26 16:53:16 +02:00
timer timer: Support clocks via phandle 2016-12-27 11:24:10 -05:00
tpm tpm: tpm_tis_lpc: Add support for AT97SC3204 2016-12-02 10:37:47 -07:00
twserial drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
usb Update Maintainer and Author's email address 2016-12-27 11:24:17 -05:00
video video: Kconfig: Add VIDEO_IPV3 entry 2016-12-16 17:15:27 +01:00
watchdog imx_watchdog: Do not assert WDOG_B on watchdog init 2016-10-04 12:01:14 +02:00
Kconfig drivers/phy: Add Marvell SerDes / PHY drivers used on Armada 3k 2016-09-27 17:29:53 +02:00
Makefile spl: add USB Gadget config option 2016-11-28 19:49:49 -05:00