blob: 17ebc04203ed9a81b8916e55f00ed26d8550341b [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Haavard Skinnemoeneb220962008-06-12 19:27:56 +02002#
3# (C) Copyright 2006
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
Haavard Skinnemoeneb220962008-06-12 19:27:56 +02005
Masahiro Yamadaa29e8d32017-05-09 20:31:40 +09006obj-y += mmc.o
Simon Glass5f4bd8c2017-07-04 13:31:19 -06007obj-$(CONFIG_$(SPL_)DM_MMC) += mmc-uclass.o
Jean-Jacques Hiblotd0531672018-01-04 15:23:32 +01008obj-$(CONFIG_$(SPL_)MMC_WRITE) += mmc_write.o
Jaehoon Chung48ad8272021-02-16 10:16:52 +09009obj-$(CONFIG_MMC_PWRSEQ) += mmc-pwrseq.o
Michael Walle02016c62020-09-23 12:42:51 +020010obj-$(CONFIG_MMC_SDHCI_ADMA_HELPERS) += sdhci-adma.o
Simon Glass1e8eb1b2015-06-23 15:38:48 -060011
Simon Glass5f4bd8c2017-07-04 13:31:19 -060012ifndef CONFIG_$(SPL_)BLK
Masahiro Yamadaa29e8d32017-05-09 20:31:40 +090013obj-y += mmc_legacy.o
14endif
15
16obj-$(CONFIG_SUPPORT_EMMC_BOOT) += mmc_boot.o
17
18ifdef CONFIG_SPL_BUILD
19obj-$(CONFIG_SPL_MMC_BOOT) += fsl_esdhc_spl.o
Simon Glasse5db1152016-05-01 13:52:35 -060020endif
21
Pavel Machek859f3062014-09-09 15:16:10 +020022obj-$(CONFIG_ARM_PL180_MMCI) += arm_pl180_mmci.o
Masahiro Yamadab2c88682017-01-10 13:32:07 +090023obj-$(CONFIG_MMC_DAVINCI) += davinci_mmc.o
Masahiro Yamadaf1ad7282017-01-10 13:32:05 +090024obj-$(CONFIG_MMC_DW) += dw_mmc.o
Arthur Li055e18e2020-02-20 18:19:35 -080025obj-$(CONFIG_MMC_DW_CORTINA) += ca_dw_mmc.o
Masahiro Yamadaf1ad7282017-01-10 13:32:05 +090026obj-$(CONFIG_MMC_DW_EXYNOS) += exynos_dw_mmc.o
27obj-$(CONFIG_MMC_DW_K3) += hi6220_dw_mmc.o
28obj-$(CONFIG_MMC_DW_ROCKCHIP) += rockchip_dw_mmc.o
29obj-$(CONFIG_MMC_DW_SOCFPGA) += socfpga_dw_mmc.o
Eugeniy Paltsevb050c2c2019-02-25 18:35:28 +030030obj-$(CONFIG_MMC_DW_SNPS) += snps_dw_mmc.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090031obj-$(CONFIG_FSL_ESDHC) += fsl_esdhc.o
Yangbo Lu982f4252019-06-21 11:42:27 +080032obj-$(CONFIG_FSL_ESDHC_IMX) += fsl_esdhc_imx.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090033obj-$(CONFIG_FTSDC010) += ftsdc010_mci.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090034obj-$(CONFIG_GENERIC_ATMEL_MCI) += gen_atmel_mci.o
Carlo Caione20cab782017-04-12 20:30:42 +020035obj-$(CONFIG_MMC_MESON_GX) += meson_gx_mmc.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090036obj-$(CONFIG_MMC_SPI) += mmc_spi.o
Pavel Machek859f3062014-09-09 15:16:10 +020037obj-$(CONFIG_MVEBU_MMC) += mvebu_mmc.o
Masahiro Yamadab2c88682017-01-10 13:32:07 +090038obj-$(CONFIG_MMC_OMAP_HS) += omap_hsmmc.o
39obj-$(CONFIG_MMC_MXC) += mxcmmc.o
40obj-$(CONFIG_MMC_MXS) += mxsmmc.o
Suneel Garapati40e61332019-10-19 18:03:01 -070041obj-$(CONFIG_MMC_OCTEONTX) += octeontx_hsmmc.o
Amit Singh Tomar347494c2021-11-28 17:02:24 +053042obj-$(CONFIG_MMC_OWL) += owl_mmc.o
Felipe Balbiecf7dfd2017-02-20 14:24:13 +030043obj-$(CONFIG_MMC_PCI) += pci_mmc.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090044obj-$(CONFIG_PXA_MMC_GENERIC) += pxa_mmc_gen.o
Heinrich Schuchardt4c8288f2020-04-15 18:28:09 +020045obj-$(CONFIG_$(SPL_TPL_)SUPPORT_EMMC_RPMB) += rpmb.o
Masahiro Yamada54f7cfc2017-01-30 19:46:50 +090046obj-$(CONFIG_MMC_SANDBOX) += sandbox_mmc.o
Masahiro Yamada5594ce42013-10-17 17:34:57 +090047obj-$(CONFIG_SH_MMCIF) += sh_mmcif.o
Nobuhiro Iwamatsu3ec5f862014-12-17 08:03:00 +090048obj-$(CONFIG_SH_SDHI) += sh_sdhi.o
Patrice Chotardae19b812017-09-04 17:56:22 +020049obj-$(CONFIG_STM32_SDMMC2) += stm32_sdmmc2.o
Paul Burton8e142842018-12-16 19:25:20 -030050obj-$(CONFIG_JZ47XX_MMC) += jz_mmc.o
Stefan Bosch22c12f72020-07-10 19:07:29 +020051obj-$(CONFIG_NEXELL_DWMMC) += nexell_dw_mmc.o
Pavel Machek859f3062014-09-09 15:16:10 +020052
Masahiro Yamada124f6ce2016-12-07 22:10:29 +090053# SDHCI
54obj-$(CONFIG_MMC_SDHCI) += sdhci.o
Eddie Jamesc8a65812019-08-27 09:48:03 -050055obj-$(CONFIG_MMC_SDHCI_ASPEED) += aspeed_sdhci.o
Masahiro Yamada8c1a1322017-01-30 19:46:55 +090056obj-$(CONFIG_MMC_SDHCI_ATMEL) += atmel_sdhci.o
Masahiro Yamada124f6ce2016-12-07 22:10:29 +090057obj-$(CONFIG_MMC_SDHCI_BCM2835) += bcm2835_sdhci.o
Thomas Fitzsimmons919646d2018-06-08 17:59:45 -040058obj-$(CONFIG_MMC_SDHCI_BCMSTB) += bcmstb_sdhci.o
Masahiro Yamadadcbc4432016-12-30 22:41:46 +090059obj-$(CONFIG_MMC_SDHCI_CADENCE) += sdhci-cadence.o
Faiz Abbasd8fb3092019-06-11 00:43:31 +053060obj-$(CONFIG_MMC_SDHCI_AM654) += am654_sdhci.o
Arun Parameswaran2f4f34a2019-09-12 11:06:08 -070061obj-$(CONFIG_MMC_SDHCI_IPROC) += iproc_sdhci.o
Masahiro Yamada124f6ce2016-12-07 22:10:29 +090062obj-$(CONFIG_MMC_SDHCI_KONA) += kona_sdhci.o
Masahiro Yamadaa1262eb2017-01-30 19:46:53 +090063obj-$(CONFIG_MMC_SDHCI_MSM) += msm_sdhci.o
Masahiro Yamada124f6ce2016-12-07 22:10:29 +090064obj-$(CONFIG_MMC_SDHCI_MV) += mv_sdhci.o
Masahiro Yamadaf79df032017-01-30 19:46:54 +090065obj-$(CONFIG_MMC_SDHCI_PIC32) += pic32_sdhci.o
Masahiro Yamadababe0262017-01-30 19:46:52 +090066obj-$(CONFIG_MMC_SDHCI_ROCKCHIP) += rockchip_sdhci.o
Masahiro Yamada124f6ce2016-12-07 22:10:29 +090067obj-$(CONFIG_MMC_SDHCI_S5P) += s5p_sdhci.o
68obj-$(CONFIG_MMC_SDHCI_SPEAR) += spear_sdhci.o
Wolfgang Denk62fb2b42021-09-27 17:42:39 +020069obj-$(CONFIG_MMC_SDHCI_STI) += sti_sdhci.o
Felipe Balbib7567602017-02-20 14:24:14 +030070obj-$(CONFIG_MMC_SDHCI_TANGIER) += tangier_sdhci.o
Masahiro Yamadab2c88682017-01-10 13:32:07 +090071obj-$(CONFIG_MMC_SDHCI_TEGRA) += tegra_mmc.o
Stefan Roese121fc562016-12-09 15:03:28 +010072obj-$(CONFIG_MMC_SDHCI_XENON) += xenon_sdhci.o
Masahiro Yamada168c57d2017-01-30 19:46:51 +090073obj-$(CONFIG_MMC_SDHCI_ZYNQ) += zynq_sdhci.o
Masahiro Yamadab2c88682017-01-10 13:32:07 +090074
75obj-$(CONFIG_MMC_SUNXI) += sunxi_mmc.o
Tianrui Wei8cfc7c52021-07-01 12:54:20 +080076obj-$(CONFIG_MMC_PITON) += piton_mmc.o
Marek Vasutfd83e762018-04-13 23:51:33 +020077obj-$(CONFIG_MMC_UNIPHIER) += tmio-common.o uniphier-sd.o
78obj-$(CONFIG_RENESAS_SDHI) += tmio-common.o renesas-sdhi.o
Alexander Graf044725f2018-01-23 18:05:22 +010079obj-$(CONFIG_MMC_BCM2835) += bcm2835_sdhost.o
developerdc5a9aa2018-11-15 10:08:04 +080080obj-$(CONFIG_MMC_MTK) += mtk-sd.o
Jassi Brar8188bda2021-06-04 18:44:16 +090081obj-$(CONFIG_MMC_SDHCI_F_SDH30) += f_sdh30.o