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