2008-06-12 17:27:56 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2006
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2008-06-12 17:27:56 +00:00
|
|
|
#
|
|
|
|
|
2016-05-01 19:52:39 +00:00
|
|
|
ifdef CONFIG_DM_MMC
|
|
|
|
obj-$(CONFIG_GENERIC_MMC) += mmc-uclass.o
|
|
|
|
endif
|
2015-06-23 21:38:48 +00:00
|
|
|
|
2016-05-01 19:52:35 +00:00
|
|
|
ifndef CONFIG_BLK
|
|
|
|
obj-$(CONFIG_GENERIC_MMC) += mmc_legacy.o
|
|
|
|
endif
|
|
|
|
|
2014-09-09 13:16:10 +00:00
|
|
|
obj-$(CONFIG_ARM_PL180_MMCI) += arm_pl180_mmci.o
|
2015-11-02 02:57:09 +00:00
|
|
|
obj-$(CONFIG_ATMEL_SDHCI) += atmel_sdhci.o
|
2014-09-09 13:16:10 +00:00
|
|
|
obj-$(CONFIG_BCM2835_SDHCI) += bcm2835_sdhci.o
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_BFIN_SDH) += bfin_sdh.o
|
|
|
|
obj-$(CONFIG_DAVINCI_MMC) += davinci_mmc.o
|
2014-09-09 13:16:10 +00:00
|
|
|
obj-$(CONFIG_DWMMC) += dw_mmc.o
|
|
|
|
obj-$(CONFIG_EXYNOS_DWMMC) += exynos_dw_mmc.o
|
2015-07-30 17:55:22 +00:00
|
|
|
obj-$(CONFIG_HIKEY_DWMMC) += hi6220_dw_mmc.o
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_FSL_ESDHC) += fsl_esdhc.o
|
|
|
|
obj-$(CONFIG_FTSDC010) += ftsdc010_mci.o
|
2013-11-25 02:51:41 +00:00
|
|
|
obj-$(CONFIG_FTSDC021) += ftsdc021_sdhci.o
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_GENERIC_MMC) += mmc.o
|
2016-06-13 05:30:18 +00:00
|
|
|
ifdef CONFIG_SUPPORT_EMMC_BOOT
|
|
|
|
obj-$(CONFIG_GENERIC_MMC) += mmc_boot.o
|
|
|
|
endif
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_GENERIC_ATMEL_MCI) += gen_atmel_mci.o
|
2014-09-09 13:16:10 +00:00
|
|
|
obj-$(CONFIG_KONA_SDHCI) += kona_sdhci.o
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_MMC_SPI) += mmc_spi.o
|
2014-09-09 13:16:10 +00:00
|
|
|
obj-$(CONFIG_MMC_SUNXI) += sunxi_mmc.o
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_MV_SDHCI) += mv_sdhci.o
|
2014-09-09 13:16:10 +00:00
|
|
|
obj-$(CONFIG_MVEBU_MMC) += mvebu_mmc.o
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_MXC_MMC) += mxcmmc.o
|
|
|
|
obj-$(CONFIG_MXS_MMC) += mxsmmc.o
|
|
|
|
obj-$(CONFIG_OMAP_HSMMC) += omap_hsmmc.o
|
2015-01-28 05:13:39 +00:00
|
|
|
obj-$(CONFIG_X86) += pci_mmc.o
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_PXA_MMC_GENERIC) += pxa_mmc_gen.o
|
2015-08-30 22:55:37 +00:00
|
|
|
obj-$(CONFIG_ROCKCHIP_DWMMC) += rockchip_dw_mmc.o
|
2014-09-09 13:16:10 +00:00
|
|
|
obj-$(CONFIG_SUPPORT_EMMC_RPMB) += rpmb.o
|
2014-07-22 00:34:52 +00:00
|
|
|
obj-$(CONFIG_S3C_SDI) += s3c_sdi.o
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_S5P_SDHCI) += s5p_sdhci.o
|
2016-05-01 19:52:38 +00:00
|
|
|
ifdef CONFIG_BLK
|
|
|
|
ifdef CONFIG_GENERIC_MMC
|
2015-07-06 18:54:32 +00:00
|
|
|
obj-$(CONFIG_SANDBOX) += sandbox_mmc.o
|
2016-05-01 19:52:38 +00:00
|
|
|
endif
|
|
|
|
endif
|
2016-12-07 13:10:28 +00:00
|
|
|
obj-$(CONFIG_MMC_SDHCI) += sdhci.o
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_SH_MMCIF) += sh_mmcif.o
|
2014-12-16 23:03:00 +00:00
|
|
|
obj-$(CONFIG_SH_SDHI) += sh_sdhi.o
|
2014-09-09 13:16:10 +00:00
|
|
|
obj-$(CONFIG_SOCFPGA_DWMMC) += socfpga_dw_mmc.o
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_TEGRA_MMC) += tegra_mmc.o
|
2016-02-18 10:52:48 +00:00
|
|
|
obj-$(CONFIG_MMC_UNIPHIER) += uniphier-sd.o
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_ZYNQ_SDHCI) += zynq_sdhci.o
|
2016-07-18 09:00:58 +00:00
|
|
|
obj-$(CONFIG_ROCKCHIP_SDHCI) += rockchip_sdhci.o
|
2014-09-09 13:16:10 +00:00
|
|
|
|
2013-08-16 07:16:11 +00:00
|
|
|
ifdef CONFIG_SPL_BUILD
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_SPL_MMC_BOOT) += fsl_esdhc_spl.o
|
2016-09-28 09:16:18 +00:00
|
|
|
obj-$(CONFIG_SPL_SAVEENV) += mmc_write.o
|
2013-09-09 14:30:26 +00:00
|
|
|
else
|
2013-10-17 08:34:57 +00:00
|
|
|
obj-$(CONFIG_GENERIC_MMC) += mmc_write.o
|
2013-08-16 07:16:11 +00:00
|
|
|
endif
|
2016-01-28 10:00:18 +00:00
|
|
|
obj-$(CONFIG_PIC32_SDHCI) += pic32_sdhci.o
|
2016-03-31 21:12:16 +00:00
|
|
|
obj-$(CONFIG_MSM_SDHCI) += msm_sdhci.o
|