blob: 18351fb48a87b6cc4a3e611721827e0a8431cfca [file] [log] [blame]
Haavard Skinnemoen5ce13052008-06-12 19:27:56 +02001#
2# (C) Copyright 2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Haavard Skinnemoen5ce13052008-06-12 19:27:56 +02006#
7
Simon Glass8ef761e2016-05-01 13:52:39 -06008ifdef CONFIG_DM_MMC
9obj-$(CONFIG_GENERIC_MMC) += mmc-uclass.o
10endif
Simon Glasse7ecf7c2015-06-23 15:38:48 -060011
Simon Glassc40fdca2016-05-01 13:52:35 -060012ifndef CONFIG_BLK
13obj-$(CONFIG_GENERIC_MMC) += mmc_legacy.o
14endif
15
Pavel Machek389b89c2014-09-09 15:16:10 +020016obj-$(CONFIG_ARM_PL180_MMCI) += arm_pl180_mmci.o
Wenyou Yanga3b59b12015-11-02 10:57:09 +080017obj-$(CONFIG_ATMEL_SDHCI) += atmel_sdhci.o
Pavel Machek389b89c2014-09-09 15:16:10 +020018obj-$(CONFIG_BCM2835_SDHCI) += bcm2835_sdhci.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090019obj-$(CONFIG_BFIN_SDH) += bfin_sdh.o
20obj-$(CONFIG_DAVINCI_MMC) += davinci_mmc.o
Pavel Machek389b89c2014-09-09 15:16:10 +020021obj-$(CONFIG_DWMMC) += dw_mmc.o
22obj-$(CONFIG_EXYNOS_DWMMC) += exynos_dw_mmc.o
Peter Griffin447da582015-07-30 18:55:22 +010023obj-$(CONFIG_HIKEY_DWMMC) += hi6220_dw_mmc.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090024obj-$(CONFIG_FSL_ESDHC) += fsl_esdhc.o
25obj-$(CONFIG_FTSDC010) += ftsdc010_mci.o
Kuo-Jung Suadebb982013-11-25 10:51:41 +080026obj-$(CONFIG_FTSDC021) += ftsdc021_sdhci.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090027obj-$(CONFIG_GENERIC_MMC) += mmc.o
Simon Glassc40704f2016-06-12 23:30:18 -060028ifdef CONFIG_SUPPORT_EMMC_BOOT
29obj-$(CONFIG_GENERIC_MMC) += mmc_boot.o
30endif
Masahiro Yamada710f1d32013-10-17 17:34:57 +090031obj-$(CONFIG_GENERIC_ATMEL_MCI) += gen_atmel_mci.o
Pavel Machek389b89c2014-09-09 15:16:10 +020032obj-$(CONFIG_KONA_SDHCI) += kona_sdhci.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090033obj-$(CONFIG_MMC_SPI) += mmc_spi.o
Pavel Machek389b89c2014-09-09 15:16:10 +020034obj-$(CONFIG_MMC_SUNXI) += sunxi_mmc.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090035obj-$(CONFIG_MV_SDHCI) += mv_sdhci.o
Pavel Machek389b89c2014-09-09 15:16:10 +020036obj-$(CONFIG_MVEBU_MMC) += mvebu_mmc.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090037obj-$(CONFIG_MXC_MMC) += mxcmmc.o
38obj-$(CONFIG_MXS_MMC) += mxsmmc.o
39obj-$(CONFIG_OMAP_HSMMC) += omap_hsmmc.o
Simon Glass91785f72015-01-27 22:13:39 -070040obj-$(CONFIG_X86) += pci_mmc.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090041obj-$(CONFIG_PXA_MMC_GENERIC) += pxa_mmc_gen.o
Simon Glassa8cb4fb2015-08-30 16:55:37 -060042obj-$(CONFIG_ROCKCHIP_DWMMC) += rockchip_dw_mmc.o
Pavel Machek389b89c2014-09-09 15:16:10 +020043obj-$(CONFIG_SUPPORT_EMMC_RPMB) += rpmb.o
Marek Vasutdae0f5c2014-07-22 02:34:52 +020044obj-$(CONFIG_S3C_SDI) += s3c_sdi.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090045obj-$(CONFIG_S5P_SDHCI) += s5p_sdhci.o
Simon Glassf8b77522016-05-01 13:52:38 -060046ifdef CONFIG_BLK
47ifdef CONFIG_GENERIC_MMC
Simon Glass8e6cc462015-07-06 12:54:32 -060048obj-$(CONFIG_SANDBOX) += sandbox_mmc.o
Simon Glassf8b77522016-05-01 13:52:38 -060049endif
50endif
Pavel Machek389b89c2014-09-09 15:16:10 +020051obj-$(CONFIG_SDHCI) += sdhci.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090052obj-$(CONFIG_SH_MMCIF) += sh_mmcif.o
Nobuhiro Iwamatsu72d42ba2014-12-17 08:03:00 +090053obj-$(CONFIG_SH_SDHI) += sh_sdhi.o
Pavel Machek389b89c2014-09-09 15:16:10 +020054obj-$(CONFIG_SOCFPGA_DWMMC) += socfpga_dw_mmc.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090055obj-$(CONFIG_SPEAR_SDHCI) += spear_sdhci.o
56obj-$(CONFIG_TEGRA_MMC) += tegra_mmc.o
Masahiro Yamadaa111bfb2016-02-18 19:52:48 +090057obj-$(CONFIG_MMC_UNIPHIER) += uniphier-sd.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090058obj-$(CONFIG_ZYNQ_SDHCI) += zynq_sdhci.o
Kever Yang79c83062016-07-18 17:00:58 +080059obj-$(CONFIG_ROCKCHIP_SDHCI) += rockchip_sdhci.o
Pavel Machek389b89c2014-09-09 15:16:10 +020060
Ying Zhangbb0dc102013-08-16 15:16:11 +080061ifdef CONFIG_SPL_BUILD
Masahiro Yamada710f1d32013-10-17 17:34:57 +090062obj-$(CONFIG_SPL_MMC_BOOT) += fsl_esdhc_spl.o
Paul Burtonda61fa52013-09-09 15:30:26 +010063else
Masahiro Yamada710f1d32013-10-17 17:34:57 +090064obj-$(CONFIG_GENERIC_MMC) += mmc_write.o
Ying Zhangbb0dc102013-08-16 15:16:11 +080065endif
Andrei Pistirica102142c2016-01-28 15:30:18 +053066obj-$(CONFIG_PIC32_SDHCI) += pic32_sdhci.o
Mateusz Kulikowski9d11d122016-03-31 23:12:16 +020067obj-$(CONFIG_MSM_SDHCI) += msm_sdhci.o