xref: /openbmc/u-boot/drivers/mmc/Makefile (revision 2e33df80)
1#
2# (C) Copyright 2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# SPDX-License-Identifier:	GPL-2.0+
6#
7
8obj-$(CONFIG_DM_MMC) += mmc-uclass.o
9
10obj-$(CONFIG_ARM_PL180_MMCI) += arm_pl180_mmci.o
11obj-$(CONFIG_ATMEL_SDHCI) += atmel_sdhci.o
12obj-$(CONFIG_BCM2835_SDHCI) += bcm2835_sdhci.o
13obj-$(CONFIG_BFIN_SDH) += bfin_sdh.o
14obj-$(CONFIG_DAVINCI_MMC) += davinci_mmc.o
15obj-$(CONFIG_DWMMC) += dw_mmc.o
16obj-$(CONFIG_EXYNOS_DWMMC) += exynos_dw_mmc.o
17obj-$(CONFIG_HIKEY_DWMMC) += hi6220_dw_mmc.o
18obj-$(CONFIG_FSL_ESDHC) += fsl_esdhc.o
19obj-$(CONFIG_FTSDC010) += ftsdc010_mci.o
20obj-$(CONFIG_FTSDC021) += ftsdc021_sdhci.o
21obj-$(CONFIG_GENERIC_MMC) += mmc.o
22obj-$(CONFIG_GENERIC_ATMEL_MCI) += gen_atmel_mci.o
23obj-$(CONFIG_KONA_SDHCI) += kona_sdhci.o
24obj-$(CONFIG_MMC_SPI) += mmc_spi.o
25obj-$(CONFIG_MMC_SUNXI) += sunxi_mmc.o
26obj-$(CONFIG_MV_SDHCI) += mv_sdhci.o
27obj-$(CONFIG_MVEBU_MMC) += mvebu_mmc.o
28obj-$(CONFIG_MXC_MMC) += mxcmmc.o
29obj-$(CONFIG_MXS_MMC) += mxsmmc.o
30obj-$(CONFIG_OMAP_HSMMC) += omap_hsmmc.o
31obj-$(CONFIG_X86) += pci_mmc.o
32obj-$(CONFIG_PXA_MMC_GENERIC) += pxa_mmc_gen.o
33obj-$(CONFIG_ROCKCHIP_DWMMC) += rockchip_dw_mmc.o
34obj-$(CONFIG_SUPPORT_EMMC_RPMB) += rpmb.o
35obj-$(CONFIG_S3C_SDI) += s3c_sdi.o
36obj-$(CONFIG_S5P_SDHCI) += s5p_sdhci.o
37obj-$(CONFIG_SANDBOX) += sandbox_mmc.o
38obj-$(CONFIG_SDHCI) += sdhci.o
39obj-$(CONFIG_SH_MMCIF) += sh_mmcif.o
40obj-$(CONFIG_SH_SDHI) += sh_sdhi.o
41obj-$(CONFIG_SOCFPGA_DWMMC) += socfpga_dw_mmc.o
42obj-$(CONFIG_SPEAR_SDHCI) += spear_sdhci.o
43obj-$(CONFIG_TEGRA_MMC) += tegra_mmc.o
44obj-$(CONFIG_ZYNQ_SDHCI) += zynq_sdhci.o
45
46ifdef CONFIG_SPL_BUILD
47obj-$(CONFIG_SPL_MMC_BOOT) += fsl_esdhc_spl.o
48else
49obj-$(CONFIG_GENERIC_MMC) += mmc_write.o
50endif
51obj-$(CONFIG_PIC32_SDHCI) += pic32_sdhci.o
52