blob: d505f37f0194ff152747fe8775c3c0cd5192f28f [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
Masahiro Yamada792f0052017-05-09 20:31:40 +09008obj-y += mmc.o
Simon Glassc4d660d2017-07-04 13:31:19 -06009obj-$(CONFIG_$(SPL_)DM_MMC) += mmc-uclass.o
Simon Glasse7ecf7c2015-06-23 15:38:48 -060010
Simon Glassc4d660d2017-07-04 13:31:19 -060011ifndef CONFIG_$(SPL_)BLK
Masahiro Yamada792f0052017-05-09 20:31:40 +090012obj-y += mmc_legacy.o
13endif
14
15obj-$(CONFIG_SUPPORT_EMMC_BOOT) += mmc_boot.o
16
17ifdef CONFIG_SPL_BUILD
18obj-$(CONFIG_SPL_MMC_BOOT) += fsl_esdhc_spl.o
19obj-$(CONFIG_SPL_SAVEENV) += mmc_write.o
20else
21obj-y += mmc_write.o
Simon Glassc40fdca2016-05-01 13:52:35 -060022endif
23
Pavel Machek389b89c2014-09-09 15:16:10 +020024obj-$(CONFIG_ARM_PL180_MMCI) += arm_pl180_mmci.o
Masahiro Yamada1d2c0502017-01-10 13:32:07 +090025obj-$(CONFIG_MMC_DAVINCI) += davinci_mmc.o
Masahiro Yamadaae4c81e2017-01-10 13:32:05 +090026obj-$(CONFIG_MMC_DW) += dw_mmc.o
27obj-$(CONFIG_MMC_DW_EXYNOS) += exynos_dw_mmc.o
28obj-$(CONFIG_MMC_DW_K3) += hi6220_dw_mmc.o
29obj-$(CONFIG_MMC_DW_ROCKCHIP) += rockchip_dw_mmc.o
30obj-$(CONFIG_MMC_DW_SOCFPGA) += socfpga_dw_mmc.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090031obj-$(CONFIG_FSL_ESDHC) += fsl_esdhc.o
32obj-$(CONFIG_FTSDC010) += ftsdc010_mci.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090033obj-$(CONFIG_GENERIC_ATMEL_MCI) += gen_atmel_mci.o
Carlo Caione93738622017-04-12 20:30:42 +020034obj-$(CONFIG_MMC_MESON_GX) += meson_gx_mmc.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090035obj-$(CONFIG_MMC_SPI) += mmc_spi.o
Pavel Machek389b89c2014-09-09 15:16:10 +020036obj-$(CONFIG_MVEBU_MMC) += mvebu_mmc.o
Masahiro Yamada1d2c0502017-01-10 13:32:07 +090037obj-$(CONFIG_MMC_OMAP_HS) += omap_hsmmc.o
38obj-$(CONFIG_MMC_MXC) += mxcmmc.o
39obj-$(CONFIG_MMC_MXS) += mxsmmc.o
Felipe Balbib706b1c2017-02-20 14:24:13 +030040obj-$(CONFIG_MMC_PCI) += pci_mmc.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090041obj-$(CONFIG_PXA_MMC_GENERIC) += pxa_mmc_gen.o
Pavel Machek389b89c2014-09-09 15:16:10 +020042obj-$(CONFIG_SUPPORT_EMMC_RPMB) += rpmb.o
Masahiro Yamadaa5995a52017-01-30 19:46:50 +090043obj-$(CONFIG_MMC_SANDBOX) += sandbox_mmc.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090044obj-$(CONFIG_SH_MMCIF) += sh_mmcif.o
Nobuhiro Iwamatsu72d42ba2014-12-17 08:03:00 +090045obj-$(CONFIG_SH_SDHI) += sh_sdhi.o
Patrice Chotardb312c592017-09-04 17:56:22 +020046obj-$(CONFIG_STM32_SDMMC2) += stm32_sdmmc2.o
Pavel Machek389b89c2014-09-09 15:16:10 +020047
Masahiro Yamada45a68fe2016-12-07 22:10:29 +090048# SDHCI
49obj-$(CONFIG_MMC_SDHCI) += sdhci.o
Masahiro Yamadadd3b64e2017-01-30 19:46:55 +090050obj-$(CONFIG_MMC_SDHCI_ATMEL) += atmel_sdhci.o
Masahiro Yamada45a68fe2016-12-07 22:10:29 +090051obj-$(CONFIG_MMC_SDHCI_BCM2835) += bcm2835_sdhci.o
Masahiro Yamadae5e7a7c2016-12-30 22:41:46 +090052obj-$(CONFIG_MMC_SDHCI_CADENCE) += sdhci-cadence.o
Masahiro Yamada45a68fe2016-12-07 22:10:29 +090053obj-$(CONFIG_MMC_SDHCI_KONA) += kona_sdhci.o
Masahiro Yamada360c67d2017-01-30 19:46:53 +090054obj-$(CONFIG_MMC_SDHCI_MSM) += msm_sdhci.o
Masahiro Yamada45a68fe2016-12-07 22:10:29 +090055obj-$(CONFIG_MMC_SDHCI_MV) += mv_sdhci.o
Masahiro Yamada1b858772017-01-30 19:46:54 +090056obj-$(CONFIG_MMC_SDHCI_PIC32) += pic32_sdhci.o
Masahiro Yamadafacc8052017-01-30 19:46:52 +090057obj-$(CONFIG_MMC_SDHCI_ROCKCHIP) += rockchip_sdhci.o
Masahiro Yamada45a68fe2016-12-07 22:10:29 +090058obj-$(CONFIG_MMC_SDHCI_S5P) += s5p_sdhci.o
59obj-$(CONFIG_MMC_SDHCI_SPEAR) += spear_sdhci.o
Patrice Chotardeee20f82017-02-21 13:37:09 +010060obj-$(CONFIG_MMC_SDHCI_STI) += sti_sdhci.o
Felipe Balbi83b32482017-02-20 14:24:14 +030061obj-$(CONFIG_MMC_SDHCI_TANGIER) += tangier_sdhci.o
Masahiro Yamada1d2c0502017-01-10 13:32:07 +090062obj-$(CONFIG_MMC_SDHCI_TEGRA) += tegra_mmc.o
Stefan Roeseb6acb5f2016-12-09 15:03:28 +010063obj-$(CONFIG_MMC_SDHCI_XENON) += xenon_sdhci.o
Masahiro Yamada08aa0332017-01-30 19:46:51 +090064obj-$(CONFIG_MMC_SDHCI_ZYNQ) += zynq_sdhci.o
Masahiro Yamada1d2c0502017-01-10 13:32:07 +090065
66obj-$(CONFIG_MMC_SUNXI) += sunxi_mmc.o
67obj-$(CONFIG_MMC_UNIPHIER) += uniphier-sd.o