mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-08 13:53:21 +09:00
![Masahiro Yamada](/assets/img/avatar_default.png)
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>
74 lines
2.2 KiB
Makefile
74 lines
2.2 KiB
Makefile
#
|
|
# (C) Copyright 2006
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
ifdef CONFIG_DM_MMC
|
|
obj-$(CONFIG_GENERIC_MMC) += mmc-uclass.o
|
|
endif
|
|
|
|
ifndef CONFIG_BLK
|
|
obj-$(CONFIG_GENERIC_MMC) += mmc_legacy.o
|
|
endif
|
|
|
|
obj-$(CONFIG_ARM_PL180_MMCI) += arm_pl180_mmci.o
|
|
obj-$(CONFIG_ATMEL_SDHCI) += atmel_sdhci.o
|
|
obj-$(CONFIG_BFIN_SDH) += bfin_sdh.o
|
|
obj-$(CONFIG_MMC_DAVINCI) += davinci_mmc.o
|
|
|
|
obj-$(CONFIG_MMC_DW) += dw_mmc.o
|
|
obj-$(CONFIG_MMC_DW_EXYNOS) += exynos_dw_mmc.o
|
|
obj-$(CONFIG_MMC_DW_K3) += hi6220_dw_mmc.o
|
|
obj-$(CONFIG_MMC_DW_ROCKCHIP) += rockchip_dw_mmc.o
|
|
obj-$(CONFIG_MMC_DW_SOCFPGA) += socfpga_dw_mmc.o
|
|
obj-$(CONFIG_FSL_ESDHC) += fsl_esdhc.o
|
|
obj-$(CONFIG_FTSDC010) += ftsdc010_mci.o
|
|
obj-$(CONFIG_FTSDC021) += ftsdc021_sdhci.o
|
|
obj-$(CONFIG_GENERIC_MMC) += mmc.o
|
|
ifdef CONFIG_SUPPORT_EMMC_BOOT
|
|
obj-$(CONFIG_GENERIC_MMC) += mmc_boot.o
|
|
endif
|
|
obj-$(CONFIG_GENERIC_ATMEL_MCI) += gen_atmel_mci.o
|
|
obj-$(CONFIG_MMC_SPI) += mmc_spi.o
|
|
obj-$(CONFIG_MVEBU_MMC) += mvebu_mmc.o
|
|
obj-$(CONFIG_MMC_OMAP_HS) += omap_hsmmc.o
|
|
obj-$(CONFIG_MMC_MXC) += mxcmmc.o
|
|
obj-$(CONFIG_MMC_MXS) += mxsmmc.o
|
|
obj-$(CONFIG_X86) += pci_mmc.o
|
|
obj-$(CONFIG_PXA_MMC_GENERIC) += pxa_mmc_gen.o
|
|
obj-$(CONFIG_SUPPORT_EMMC_RPMB) += rpmb.o
|
|
obj-$(CONFIG_S3C_SDI) += s3c_sdi.o
|
|
ifdef CONFIG_BLK
|
|
ifdef CONFIG_GENERIC_MMC
|
|
obj-$(CONFIG_SANDBOX) += sandbox_mmc.o
|
|
endif
|
|
endif
|
|
obj-$(CONFIG_SH_MMCIF) += sh_mmcif.o
|
|
obj-$(CONFIG_SH_SDHI) += sh_sdhi.o
|
|
obj-$(CONFIG_ZYNQ_SDHCI) += zynq_sdhci.o
|
|
obj-$(CONFIG_ROCKCHIP_SDHCI) += rockchip_sdhci.o
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
obj-$(CONFIG_SPL_MMC_BOOT) += fsl_esdhc_spl.o
|
|
obj-$(CONFIG_SPL_SAVEENV) += mmc_write.o
|
|
else
|
|
obj-$(CONFIG_GENERIC_MMC) += mmc_write.o
|
|
endif
|
|
obj-$(CONFIG_PIC32_SDHCI) += pic32_sdhci.o
|
|
obj-$(CONFIG_MSM_SDHCI) += msm_sdhci.o
|
|
|
|
# SDHCI
|
|
obj-$(CONFIG_MMC_SDHCI) += sdhci.o
|
|
obj-$(CONFIG_MMC_SDHCI_BCM2835) += bcm2835_sdhci.o
|
|
obj-$(CONFIG_MMC_SDHCI_CADENCE) += sdhci-cadence.o
|
|
obj-$(CONFIG_MMC_SDHCI_KONA) += kona_sdhci.o
|
|
obj-$(CONFIG_MMC_SDHCI_MV) += mv_sdhci.o
|
|
obj-$(CONFIG_MMC_SDHCI_S5P) += s5p_sdhci.o
|
|
obj-$(CONFIG_MMC_SDHCI_SPEAR) += spear_sdhci.o
|
|
obj-$(CONFIG_MMC_SDHCI_TEGRA) += tegra_mmc.o
|
|
|
|
obj-$(CONFIG_MMC_SUNXI) += sunxi_mmc.o
|
|
obj-$(CONFIG_MMC_UNIPHIER) += uniphier-sd.o
|