dm: imx: cm_fx6: Enable more driver model support
[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 obj-y += mmc.o
9 obj-$(CONFIG_$(SPL_)DM_MMC) += mmc-uclass.o
10
11 ifndef CONFIG_$(SPL_)BLK
12 obj-y += mmc_legacy.o
13 endif
14
15 obj-$(CONFIG_SUPPORT_EMMC_BOOT) += mmc_boot.o
16
17 ifdef CONFIG_SPL_BUILD
18 obj-$(CONFIG_SPL_MMC_BOOT) += fsl_esdhc_spl.o
19 obj-$(CONFIG_SPL_SAVEENV) += mmc_write.o
20 else
21 obj-y += mmc_write.o
22 endif
23
24 obj-$(CONFIG_ARM_PL180_MMCI) += arm_pl180_mmci.o
25 obj-$(CONFIG_MMC_DAVINCI)               += davinci_mmc.o
26 obj-$(CONFIG_MMC_DW)                    += dw_mmc.o
27 obj-$(CONFIG_MMC_DW_EXYNOS)             += exynos_dw_mmc.o
28 obj-$(CONFIG_MMC_DW_K3)                 += hi6220_dw_mmc.o
29 obj-$(CONFIG_MMC_DW_ROCKCHIP)           += rockchip_dw_mmc.o
30 obj-$(CONFIG_MMC_DW_SOCFPGA)            += socfpga_dw_mmc.o
31 obj-$(CONFIG_FSL_ESDHC) += fsl_esdhc.o
32 obj-$(CONFIG_FTSDC010) += ftsdc010_mci.o
33 obj-$(CONFIG_GENERIC_ATMEL_MCI) += gen_atmel_mci.o
34 obj-$(CONFIG_MMC_MESON_GX) += meson_gx_mmc.o
35 obj-$(CONFIG_MMC_SPI) += mmc_spi.o
36 obj-$(CONFIG_MVEBU_MMC) += mvebu_mmc.o
37 obj-$(CONFIG_MMC_OMAP_HS)               += omap_hsmmc.o
38 obj-$(CONFIG_MMC_MXC)                   += mxcmmc.o
39 obj-$(CONFIG_MMC_MXS)                   += mxsmmc.o
40 obj-$(CONFIG_MMC_PCI)                   += pci_mmc.o
41 obj-$(CONFIG_PXA_MMC_GENERIC) += pxa_mmc_gen.o
42 obj-$(CONFIG_SUPPORT_EMMC_RPMB) += rpmb.o
43 obj-$(CONFIG_MMC_SANDBOX)               += sandbox_mmc.o
44 obj-$(CONFIG_SH_MMCIF) += sh_mmcif.o
45 obj-$(CONFIG_SH_SDHI) += sh_sdhi.o
46
47 # SDHCI
48 obj-$(CONFIG_MMC_SDHCI)                 += sdhci.o
49 obj-$(CONFIG_MMC_SDHCI_ATMEL)           += atmel_sdhci.o
50 obj-$(CONFIG_MMC_SDHCI_BCM2835)         += bcm2835_sdhci.o
51 obj-$(CONFIG_MMC_SDHCI_CADENCE)         += sdhci-cadence.o
52 obj-$(CONFIG_MMC_SDHCI_KONA)            += kona_sdhci.o
53 obj-$(CONFIG_MMC_SDHCI_MSM)             += msm_sdhci.o
54 obj-$(CONFIG_MMC_SDHCI_MV)              += mv_sdhci.o
55 obj-$(CONFIG_MMC_SDHCI_PIC32)           += pic32_sdhci.o
56 obj-$(CONFIG_MMC_SDHCI_ROCKCHIP)        += rockchip_sdhci.o
57 obj-$(CONFIG_MMC_SDHCI_S5P)             += s5p_sdhci.o
58 obj-$(CONFIG_MMC_SDHCI_SPEAR)           += spear_sdhci.o
59 obj-$(CONFIG_MMC_SDHCI_STI)             += sti_sdhci.o
60 obj-$(CONFIG_MMC_SDHCI_TANGIER)         += tangier_sdhci.o
61 obj-$(CONFIG_MMC_SDHCI_TEGRA)           += tegra_mmc.o
62 obj-$(CONFIG_MMC_SDHCI_XENON)           += xenon_sdhci.o
63 obj-$(CONFIG_MMC_SDHCI_ZYNQ)            += zynq_sdhci.o
64
65 obj-$(CONFIG_MMC_SUNXI)                 += sunxi_mmc.o
66 obj-$(CONFIG_MMC_UNIPHIER)              += uniphier-sd.o