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_BFIN_SDH) += bfin_sdh.o 19obj-$(CONFIG_MMC_DAVINCI) += davinci_mmc.o 20 21obj-$(CONFIG_MMC_DW) += dw_mmc.o 22obj-$(CONFIG_MMC_DW_EXYNOS) += exynos_dw_mmc.o 23obj-$(CONFIG_MMC_DW_K3) += hi6220_dw_mmc.o 24obj-$(CONFIG_MMC_DW_ROCKCHIP) += rockchip_dw_mmc.o 25obj-$(CONFIG_MMC_DW_SOCFPGA) += socfpga_dw_mmc.o 26obj-$(CONFIG_FSL_ESDHC) += fsl_esdhc.o 27obj-$(CONFIG_FTSDC010) += ftsdc010_mci.o 28obj-$(CONFIG_FTSDC021) += ftsdc021_sdhci.o 29obj-$(CONFIG_GENERIC_MMC) += mmc.o 30ifdef CONFIG_SUPPORT_EMMC_BOOT 31obj-$(CONFIG_GENERIC_MMC) += mmc_boot.o 32endif 33obj-$(CONFIG_GENERIC_ATMEL_MCI) += gen_atmel_mci.o 34obj-$(CONFIG_MMC_SPI) += mmc_spi.o 35obj-$(CONFIG_MVEBU_MMC) += mvebu_mmc.o 36obj-$(CONFIG_MMC_OMAP_HS) += omap_hsmmc.o 37obj-$(CONFIG_MMC_MXC) += mxcmmc.o 38obj-$(CONFIG_MMC_MXS) += mxsmmc.o 39obj-$(CONFIG_X86) += pci_mmc.o 40obj-$(CONFIG_PXA_MMC_GENERIC) += pxa_mmc_gen.o 41obj-$(CONFIG_SUPPORT_EMMC_RPMB) += rpmb.o 42obj-$(CONFIG_S3C_SDI) += s3c_sdi.o 43ifdef CONFIG_BLK 44ifdef CONFIG_GENERIC_MMC 45obj-$(CONFIG_SANDBOX) += sandbox_mmc.o 46endif 47endif 48obj-$(CONFIG_SH_MMCIF) += sh_mmcif.o 49obj-$(CONFIG_SH_SDHI) += sh_sdhi.o 50obj-$(CONFIG_ZYNQ_SDHCI) += zynq_sdhci.o 51obj-$(CONFIG_ROCKCHIP_SDHCI) += rockchip_sdhci.o 52 53ifdef CONFIG_SPL_BUILD 54obj-$(CONFIG_SPL_MMC_BOOT) += fsl_esdhc_spl.o 55obj-$(CONFIG_SPL_SAVEENV) += mmc_write.o 56else 57obj-$(CONFIG_GENERIC_MMC) += mmc_write.o 58endif 59obj-$(CONFIG_PIC32_SDHCI) += pic32_sdhci.o 60obj-$(CONFIG_MSM_SDHCI) += msm_sdhci.o 61 62# SDHCI 63obj-$(CONFIG_MMC_SDHCI) += sdhci.o 64obj-$(CONFIG_MMC_SDHCI_BCM2835) += bcm2835_sdhci.o 65obj-$(CONFIG_MMC_SDHCI_CADENCE) += sdhci-cadence.o 66obj-$(CONFIG_MMC_SDHCI_KONA) += kona_sdhci.o 67obj-$(CONFIG_MMC_SDHCI_MV) += mv_sdhci.o 68obj-$(CONFIG_MMC_SDHCI_S5P) += s5p_sdhci.o 69obj-$(CONFIG_MMC_SDHCI_SPEAR) += spear_sdhci.o 70obj-$(CONFIG_MMC_SDHCI_TEGRA) += tegra_mmc.o 71obj-$(CONFIG_MMC_SDHCI_XENON) += xenon_sdhci.o 72 73obj-$(CONFIG_MMC_SUNXI) += sunxi_mmc.o 74obj-$(CONFIG_MMC_UNIPHIER) += uniphier-sd.o 75