mmc: rename CONFIG_ROCKCHIP_DWMMC to CONFIG_MMC_DW_ROCKCHIP
[platform/kernel/u-boot.git] / drivers / mmc / Makefile
1 #
2 # (C) Copyright 2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # SPDX-License-Identifier:      GPL-2.0+
6 #
7
8 ifdef CONFIG_DM_MMC
9 obj-$(CONFIG_GENERIC_MMC) += mmc-uclass.o
10 endif
11
12 ifndef CONFIG_BLK
13 obj-$(CONFIG_GENERIC_MMC) += mmc_legacy.o
14 endif
15
16 obj-$(CONFIG_ARM_PL180_MMCI) += arm_pl180_mmci.o
17 obj-$(CONFIG_ATMEL_SDHCI) += atmel_sdhci.o
18 obj-$(CONFIG_BFIN_SDH) += bfin_sdh.o
19 obj-$(CONFIG_DAVINCI_MMC) += davinci_mmc.o
20 obj-$(CONFIG_DWMMC) += dw_mmc.o
21 obj-$(CONFIG_EXYNOS_DWMMC) += exynos_dw_mmc.o
22 obj-$(CONFIG_HIKEY_DWMMC) += hi6220_dw_mmc.o
23 obj-$(CONFIG_FSL_ESDHC) += fsl_esdhc.o
24 obj-$(CONFIG_FTSDC010) += ftsdc010_mci.o
25 obj-$(CONFIG_FTSDC021) += ftsdc021_sdhci.o
26 obj-$(CONFIG_GENERIC_MMC) += mmc.o
27 ifdef CONFIG_SUPPORT_EMMC_BOOT
28 obj-$(CONFIG_GENERIC_MMC) += mmc_boot.o
29 endif
30 obj-$(CONFIG_GENERIC_ATMEL_MCI) += gen_atmel_mci.o
31 obj-$(CONFIG_MMC_SPI) += mmc_spi.o
32 obj-$(CONFIG_MMC_SUNXI) += sunxi_mmc.o
33 obj-$(CONFIG_MVEBU_MMC) += mvebu_mmc.o
34 obj-$(CONFIG_MXC_MMC) += mxcmmc.o
35 obj-$(CONFIG_MXS_MMC) += mxsmmc.o
36 obj-$(CONFIG_OMAP_HSMMC) += omap_hsmmc.o
37 obj-$(CONFIG_X86) += pci_mmc.o
38 obj-$(CONFIG_PXA_MMC_GENERIC) += pxa_mmc_gen.o
39 obj-$(CONFIG_MMC_DW_ROCKCHIP) += rockchip_dw_mmc.o
40 obj-$(CONFIG_SUPPORT_EMMC_RPMB) += rpmb.o
41 obj-$(CONFIG_S3C_SDI) += s3c_sdi.o
42 ifdef CONFIG_BLK
43 ifdef CONFIG_GENERIC_MMC
44 obj-$(CONFIG_SANDBOX) += sandbox_mmc.o
45 endif
46 endif
47 obj-$(CONFIG_SH_MMCIF) += sh_mmcif.o
48 obj-$(CONFIG_SH_SDHI) += sh_sdhi.o
49 obj-$(CONFIG_SOCFPGA_DWMMC) += socfpga_dw_mmc.o
50 obj-$(CONFIG_TEGRA_MMC) += tegra_mmc.o
51 obj-$(CONFIG_MMC_UNIPHIER) += uniphier-sd.o
52 obj-$(CONFIG_ZYNQ_SDHCI) += zynq_sdhci.o
53 obj-$(CONFIG_ROCKCHIP_SDHCI) += rockchip_sdhci.o
54
55 ifdef CONFIG_SPL_BUILD
56 obj-$(CONFIG_SPL_MMC_BOOT) += fsl_esdhc_spl.o
57 obj-$(CONFIG_SPL_SAVEENV) += mmc_write.o
58 else
59 obj-$(CONFIG_GENERIC_MMC) += mmc_write.o
60 endif
61 obj-$(CONFIG_PIC32_SDHCI) += pic32_sdhci.o
62 obj-$(CONFIG_MSM_SDHCI) += msm_sdhci.o
63
64 # SDHCI
65 obj-$(CONFIG_MMC_SDHCI)                 += sdhci.o
66 obj-$(CONFIG_MMC_SDHCI_BCM2835)         += bcm2835_sdhci.o
67 obj-$(CONFIG_MMC_SDHCI_CADENCE)         += sdhci-cadence.o
68 obj-$(CONFIG_MMC_SDHCI_KONA)            += kona_sdhci.o
69 obj-$(CONFIG_MMC_SDHCI_MV)              += mv_sdhci.o
70 obj-$(CONFIG_MMC_SDHCI_S5P)             += s5p_sdhci.o
71 obj-$(CONFIG_MMC_SDHCI_SPEAR)           += spear_sdhci.o