blob: 7c4243289c4d2572ceffc9e4eb635bacd16074a4 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Haavard Skinnemoen5ce13052008-06-12 19:27:56 +02002#
3# (C) Copyright 2006
4# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
Haavard Skinnemoen5ce13052008-06-12 19:27:56 +02005
Masahiro Yamada792f0052017-05-09 20:31:40 +09006obj-y += mmc.o
Simon Glassc4d660d2017-07-04 13:31:19 -06007obj-$(CONFIG_$(SPL_)DM_MMC) += mmc-uclass.o
Simon Glassb8aa4632022-04-24 23:31:14 -06008
9ifdef CONFIG_$(SPL_TPL_)DM_MMC
10obj-$(CONFIG_$(SPL_TPL_)BOOTSTD) += mmc_bootdev.o
11endif
12
Jean-Jacques Hiblotd6400c32018-01-04 15:23:32 +010013obj-$(CONFIG_$(SPL_)MMC_WRITE) += mmc_write.o
Jaehoon Chungcaee38a2021-02-16 10:16:52 +090014obj-$(CONFIG_MMC_PWRSEQ) += mmc-pwrseq.o
Michael Walle4d6a7732020-09-23 12:42:51 +020015obj-$(CONFIG_MMC_SDHCI_ADMA_HELPERS) += sdhci-adma.o
Simon Glasse7ecf7c2015-06-23 15:38:48 -060016
Simon Glassc4d660d2017-07-04 13:31:19 -060017ifndef CONFIG_$(SPL_)BLK
Masahiro Yamada792f0052017-05-09 20:31:40 +090018obj-y += mmc_legacy.o
19endif
20
21obj-$(CONFIG_SUPPORT_EMMC_BOOT) += mmc_boot.o
22
23ifdef CONFIG_SPL_BUILD
24obj-$(CONFIG_SPL_MMC_BOOT) += fsl_esdhc_spl.o
Simon Glassc40fdca2016-05-01 13:52:35 -060025endif
26
Pavel Machek389b89c2014-09-09 15:16:10 +020027obj-$(CONFIG_ARM_PL180_MMCI) += arm_pl180_mmci.o
Masahiro Yamada1d2c0502017-01-10 13:32:07 +090028obj-$(CONFIG_MMC_DAVINCI) += davinci_mmc.o
Masahiro Yamadaae4c81e2017-01-10 13:32:05 +090029obj-$(CONFIG_MMC_DW) += dw_mmc.o
Arthur Lid55e4e72020-02-20 18:19:35 -080030obj-$(CONFIG_MMC_DW_CORTINA) += ca_dw_mmc.o
Masahiro Yamadaae4c81e2017-01-10 13:32:05 +090031obj-$(CONFIG_MMC_DW_EXYNOS) += exynos_dw_mmc.o
32obj-$(CONFIG_MMC_DW_K3) += hi6220_dw_mmc.o
33obj-$(CONFIG_MMC_DW_ROCKCHIP) += rockchip_dw_mmc.o
34obj-$(CONFIG_MMC_DW_SOCFPGA) += socfpga_dw_mmc.o
Eugeniy Paltsev15736e22019-02-25 18:35:28 +030035obj-$(CONFIG_MMC_DW_SNPS) += snps_dw_mmc.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090036obj-$(CONFIG_FSL_ESDHC) += fsl_esdhc.o
Yangbo Lufa33d202019-06-21 11:42:27 +080037obj-$(CONFIG_FSL_ESDHC_IMX) += fsl_esdhc_imx.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090038obj-$(CONFIG_FTSDC010) += ftsdc010_mci.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090039obj-$(CONFIG_GENERIC_ATMEL_MCI) += gen_atmel_mci.o
Carlo Caione93738622017-04-12 20:30:42 +020040obj-$(CONFIG_MMC_MESON_GX) += meson_gx_mmc.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090041obj-$(CONFIG_MMC_SPI) += mmc_spi.o
Pavel Machek389b89c2014-09-09 15:16:10 +020042obj-$(CONFIG_MVEBU_MMC) += mvebu_mmc.o
Masahiro Yamada1d2c0502017-01-10 13:32:07 +090043obj-$(CONFIG_MMC_OMAP_HS) += omap_hsmmc.o
44obj-$(CONFIG_MMC_MXC) += mxcmmc.o
45obj-$(CONFIG_MMC_MXS) += mxsmmc.o
Suneel Garapati70859892019-10-19 18:03:01 -070046obj-$(CONFIG_MMC_OCTEONTX) += octeontx_hsmmc.o
Amit Singh Tomar57a91c32021-11-28 17:02:24 +053047obj-$(CONFIG_MMC_OWL) += owl_mmc.o
Felipe Balbib706b1c2017-02-20 14:24:13 +030048obj-$(CONFIG_MMC_PCI) += pci_mmc.o
Heinrich Schuchardt2448c342020-04-15 18:28:09 +020049obj-$(CONFIG_$(SPL_TPL_)SUPPORT_EMMC_RPMB) += rpmb.o
Masahiro Yamadaa5995a52017-01-30 19:46:50 +090050obj-$(CONFIG_MMC_SANDBOX) += sandbox_mmc.o
Masahiro Yamada710f1d32013-10-17 17:34:57 +090051obj-$(CONFIG_SH_MMCIF) += sh_mmcif.o
Nobuhiro Iwamatsu72d42ba2014-12-17 08:03:00 +090052obj-$(CONFIG_SH_SDHI) += sh_sdhi.o
Patrice Chotardb312c592017-09-04 17:56:22 +020053obj-$(CONFIG_STM32_SDMMC2) += stm32_sdmmc2.o
Paul Burtond7727132018-12-16 19:25:20 -030054obj-$(CONFIG_JZ47XX_MMC) += jz_mmc.o
Stefan Bosch84083182020-07-10 19:07:29 +020055obj-$(CONFIG_NEXELL_DWMMC) += nexell_dw_mmc.o
Pavel Machek389b89c2014-09-09 15:16:10 +020056
Masahiro Yamada45a68fe2016-12-07 22:10:29 +090057# SDHCI
58obj-$(CONFIG_MMC_SDHCI) += sdhci.o
Eddie James7764ee22019-08-27 09:48:03 -050059obj-$(CONFIG_MMC_SDHCI_ASPEED) += aspeed_sdhci.o
Masahiro Yamadadd3b64e2017-01-30 19:46:55 +090060obj-$(CONFIG_MMC_SDHCI_ATMEL) += atmel_sdhci.o
Masahiro Yamada45a68fe2016-12-07 22:10:29 +090061obj-$(CONFIG_MMC_SDHCI_BCM2835) += bcm2835_sdhci.o
Thomas Fitzsimmons894c3ad2018-06-08 17:59:45 -040062obj-$(CONFIG_MMC_SDHCI_BCMSTB) += bcmstb_sdhci.o
Masahiro Yamadae5e7a7c2016-12-30 22:41:46 +090063obj-$(CONFIG_MMC_SDHCI_CADENCE) += sdhci-cadence.o
Faiz Abbas3a1a0df2019-06-11 00:43:31 +053064obj-$(CONFIG_MMC_SDHCI_AM654) += am654_sdhci.o
Arun Parameswaran36645f42019-09-12 11:06:08 -070065obj-$(CONFIG_MMC_SDHCI_IPROC) += iproc_sdhci.o
Masahiro Yamada45a68fe2016-12-07 22:10:29 +090066obj-$(CONFIG_MMC_SDHCI_KONA) += kona_sdhci.o
Masahiro Yamada360c67d2017-01-30 19:46:53 +090067obj-$(CONFIG_MMC_SDHCI_MSM) += msm_sdhci.o
Masahiro Yamada45a68fe2016-12-07 22:10:29 +090068obj-$(CONFIG_MMC_SDHCI_MV) += mv_sdhci.o
Masahiro Yamada1b858772017-01-30 19:46:54 +090069obj-$(CONFIG_MMC_SDHCI_PIC32) += pic32_sdhci.o
Masahiro Yamadafacc8052017-01-30 19:46:52 +090070obj-$(CONFIG_MMC_SDHCI_ROCKCHIP) += rockchip_sdhci.o
Masahiro Yamada45a68fe2016-12-07 22:10:29 +090071obj-$(CONFIG_MMC_SDHCI_S5P) += s5p_sdhci.o
72obj-$(CONFIG_MMC_SDHCI_SPEAR) += spear_sdhci.o
Wolfgang Denk0cf207e2021-09-27 17:42:39 +020073obj-$(CONFIG_MMC_SDHCI_STI) += sti_sdhci.o
Felipe Balbi83b32482017-02-20 14:24:14 +030074obj-$(CONFIG_MMC_SDHCI_TANGIER) += tangier_sdhci.o
Masahiro Yamada1d2c0502017-01-10 13:32:07 +090075obj-$(CONFIG_MMC_SDHCI_TEGRA) += tegra_mmc.o
Stefan Roeseb6acb5f2016-12-09 15:03:28 +010076obj-$(CONFIG_MMC_SDHCI_XENON) += xenon_sdhci.o
Masahiro Yamada08aa0332017-01-30 19:46:51 +090077obj-$(CONFIG_MMC_SDHCI_ZYNQ) += zynq_sdhci.o
Masahiro Yamada1d2c0502017-01-10 13:32:07 +090078
79obj-$(CONFIG_MMC_SUNXI) += sunxi_mmc.o
Tianrui Weid6b156e2021-07-01 12:54:20 +080080obj-$(CONFIG_MMC_PITON) += piton_mmc.o
Marek Vasutcb0b6b02018-04-13 23:51:33 +020081obj-$(CONFIG_MMC_UNIPHIER) += tmio-common.o uniphier-sd.o
82obj-$(CONFIG_RENESAS_SDHI) += tmio-common.o renesas-sdhi.o
Alexander Grafc8a73a22018-01-23 18:05:22 +010083obj-$(CONFIG_MMC_BCM2835) += bcm2835_sdhost.o
Weijie Gaod24b6932018-11-15 10:08:04 +080084obj-$(CONFIG_MMC_MTK) += mtk-sd.o
Jassi Brardadd43c2021-06-04 18:44:16 +090085obj-$(CONFIG_MMC_SDHCI_F_SDH30) += f_sdh30.o