mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-05 20:54:31 +00:00
e298c46ac3
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>
41 lines
993 B
Text
41 lines
993 B
Text
CONFIG_ARM=y
|
|
CONFIG_ARCH_UNIPHIER=y
|
|
CONFIG_SYS_MALLOC_F_LEN=0x2000
|
|
CONFIG_SPL_MMC_SUPPORT=y
|
|
CONFIG_SPL_NAND_SUPPORT=y
|
|
CONFIG_SPL_SERIAL_SUPPORT=y
|
|
CONFIG_MICRO_SUPPORT_CARD=y
|
|
CONFIG_SYS_TEXT_BASE=0x84000000
|
|
CONFIG_DEFAULT_DEVICE_TREE="uniphier-pro4-ref"
|
|
# CONFIG_ARCH_FIXUP_FDT_MEMORY is not set
|
|
CONFIG_SPL_NOR_SUPPORT=y
|
|
CONFIG_HUSH_PARSER=y
|
|
CONFIG_CMD_BOOTZ=y
|
|
# CONFIG_CMD_XIMG is not set
|
|
# CONFIG_CMD_ENV_EXISTS is not set
|
|
CONFIG_CMD_MMC=y
|
|
CONFIG_CMD_NAND=y
|
|
CONFIG_CMD_I2C=y
|
|
CONFIG_CMD_USB=y
|
|
# CONFIG_CMD_FPGA is not set
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_CMD_TFTPPUT=y
|
|
CONFIG_CMD_PING=y
|
|
CONFIG_CMD_CACHE=y
|
|
CONFIG_CMD_TIME=y
|
|
# CONFIG_CMD_MISC is not set
|
|
CONFIG_CMD_FAT=y
|
|
CONFIG_NET_RANDOM_ETHADDR=y
|
|
CONFIG_GPIO_UNIPHIER=y
|
|
CONFIG_MISC=y
|
|
CONFIG_I2C_EEPROM=y
|
|
CONFIG_MMC_UNIPHIER=y
|
|
CONFIG_NAND_DENALI=y
|
|
CONFIG_SYS_NAND_DENALI_64BIT=y
|
|
CONFIG_NAND_DENALI_SPARE_AREA_SKIP_BYTES=8
|
|
CONFIG_SPL_NAND_DENALI=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_XHCI_HCD=y
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_EHCI_GENERIC=y
|
|
CONFIG_USB_STORAGE=y
|