Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Haavard Skinnemoen | 5ce1305 | 2008-06-12 19:27:56 +0200 | [diff] [blame] | 2 | # |
| 3 | # (C) Copyright 2006 |
| 4 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
Haavard Skinnemoen | 5ce1305 | 2008-06-12 19:27:56 +0200 | [diff] [blame] | 5 | |
Masahiro Yamada | 792f005 | 2017-05-09 20:31:40 +0900 | [diff] [blame] | 6 | obj-y += mmc.o |
Simon Glass | c4d660d | 2017-07-04 13:31:19 -0600 | [diff] [blame] | 7 | obj-$(CONFIG_$(SPL_)DM_MMC) += mmc-uclass.o |
Jean-Jacques Hiblot | d6400c3 | 2018-01-04 15:23:32 +0100 | [diff] [blame] | 8 | obj-$(CONFIG_$(SPL_)MMC_WRITE) += mmc_write.o |
Michael Walle | 4d6a773 | 2020-09-23 12:42:51 +0200 | [diff] [blame^] | 9 | obj-$(CONFIG_MMC_SDHCI_ADMA_HELPERS) += sdhci-adma.o |
Simon Glass | e7ecf7c | 2015-06-23 15:38:48 -0600 | [diff] [blame] | 10 | |
Simon Glass | c4d660d | 2017-07-04 13:31:19 -0600 | [diff] [blame] | 11 | ifndef CONFIG_$(SPL_)BLK |
Masahiro Yamada | 792f005 | 2017-05-09 20:31:40 +0900 | [diff] [blame] | 12 | obj-y += mmc_legacy.o |
| 13 | endif |
| 14 | |
| 15 | obj-$(CONFIG_SUPPORT_EMMC_BOOT) += mmc_boot.o |
| 16 | |
| 17 | ifdef CONFIG_SPL_BUILD |
| 18 | obj-$(CONFIG_SPL_MMC_BOOT) += fsl_esdhc_spl.o |
Simon Glass | c40fdca | 2016-05-01 13:52:35 -0600 | [diff] [blame] | 19 | endif |
| 20 | |
Pavel Machek | 389b89c | 2014-09-09 15:16:10 +0200 | [diff] [blame] | 21 | obj-$(CONFIG_ARM_PL180_MMCI) += arm_pl180_mmci.o |
Masahiro Yamada | 1d2c050 | 2017-01-10 13:32:07 +0900 | [diff] [blame] | 22 | obj-$(CONFIG_MMC_DAVINCI) += davinci_mmc.o |
Masahiro Yamada | ae4c81e | 2017-01-10 13:32:05 +0900 | [diff] [blame] | 23 | obj-$(CONFIG_MMC_DW) += dw_mmc.o |
Arthur Li | d55e4e7 | 2020-02-20 18:19:35 -0800 | [diff] [blame] | 24 | obj-$(CONFIG_MMC_DW_CORTINA) += ca_dw_mmc.o |
Masahiro Yamada | ae4c81e | 2017-01-10 13:32:05 +0900 | [diff] [blame] | 25 | obj-$(CONFIG_MMC_DW_EXYNOS) += exynos_dw_mmc.o |
| 26 | obj-$(CONFIG_MMC_DW_K3) += hi6220_dw_mmc.o |
| 27 | obj-$(CONFIG_MMC_DW_ROCKCHIP) += rockchip_dw_mmc.o |
| 28 | obj-$(CONFIG_MMC_DW_SOCFPGA) += socfpga_dw_mmc.o |
Eugeniy Paltsev | 15736e2 | 2019-02-25 18:35:28 +0300 | [diff] [blame] | 29 | obj-$(CONFIG_MMC_DW_SNPS) += snps_dw_mmc.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 30 | obj-$(CONFIG_FSL_ESDHC) += fsl_esdhc.o |
Yangbo Lu | fa33d20 | 2019-06-21 11:42:27 +0800 | [diff] [blame] | 31 | obj-$(CONFIG_FSL_ESDHC_IMX) += fsl_esdhc_imx.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 32 | obj-$(CONFIG_FTSDC010) += ftsdc010_mci.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 33 | obj-$(CONFIG_GENERIC_ATMEL_MCI) += gen_atmel_mci.o |
Carlo Caione | 9373862 | 2017-04-12 20:30:42 +0200 | [diff] [blame] | 34 | obj-$(CONFIG_MMC_MESON_GX) += meson_gx_mmc.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 35 | obj-$(CONFIG_MMC_SPI) += mmc_spi.o |
Pavel Machek | 389b89c | 2014-09-09 15:16:10 +0200 | [diff] [blame] | 36 | obj-$(CONFIG_MVEBU_MMC) += mvebu_mmc.o |
Masahiro Yamada | 1d2c050 | 2017-01-10 13:32:07 +0900 | [diff] [blame] | 37 | obj-$(CONFIG_MMC_OMAP_HS) += omap_hsmmc.o |
| 38 | obj-$(CONFIG_MMC_MXC) += mxcmmc.o |
| 39 | obj-$(CONFIG_MMC_MXS) += mxsmmc.o |
Suneel Garapati | 7085989 | 2019-10-19 18:03:01 -0700 | [diff] [blame] | 40 | obj-$(CONFIG_MMC_OCTEONTX) += octeontx_hsmmc.o |
Felipe Balbi | b706b1c | 2017-02-20 14:24:13 +0300 | [diff] [blame] | 41 | obj-$(CONFIG_MMC_PCI) += pci_mmc.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 42 | obj-$(CONFIG_PXA_MMC_GENERIC) += pxa_mmc_gen.o |
Heinrich Schuchardt | 2448c34 | 2020-04-15 18:28:09 +0200 | [diff] [blame] | 43 | obj-$(CONFIG_$(SPL_TPL_)SUPPORT_EMMC_RPMB) += rpmb.o |
Masahiro Yamada | a5995a5 | 2017-01-30 19:46:50 +0900 | [diff] [blame] | 44 | obj-$(CONFIG_MMC_SANDBOX) += sandbox_mmc.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 45 | obj-$(CONFIG_SH_MMCIF) += sh_mmcif.o |
Nobuhiro Iwamatsu | 72d42ba | 2014-12-17 08:03:00 +0900 | [diff] [blame] | 46 | obj-$(CONFIG_SH_SDHI) += sh_sdhi.o |
Patrice Chotard | b312c59 | 2017-09-04 17:56:22 +0200 | [diff] [blame] | 47 | obj-$(CONFIG_STM32_SDMMC2) += stm32_sdmmc2.o |
Paul Burton | d772713 | 2018-12-16 19:25:20 -0300 | [diff] [blame] | 48 | obj-$(CONFIG_JZ47XX_MMC) += jz_mmc.o |
Stefan Bosch | 8408318 | 2020-07-10 19:07:29 +0200 | [diff] [blame] | 49 | obj-$(CONFIG_NEXELL_DWMMC) += nexell_dw_mmc.o |
Pavel Machek | 389b89c | 2014-09-09 15:16:10 +0200 | [diff] [blame] | 50 | |
Masahiro Yamada | 45a68fe | 2016-12-07 22:10:29 +0900 | [diff] [blame] | 51 | # SDHCI |
| 52 | obj-$(CONFIG_MMC_SDHCI) += sdhci.o |
Eddie James | 7764ee2 | 2019-08-27 09:48:03 -0500 | [diff] [blame] | 53 | obj-$(CONFIG_MMC_SDHCI_ASPEED) += aspeed_sdhci.o |
Masahiro Yamada | dd3b64e | 2017-01-30 19:46:55 +0900 | [diff] [blame] | 54 | obj-$(CONFIG_MMC_SDHCI_ATMEL) += atmel_sdhci.o |
Masahiro Yamada | 45a68fe | 2016-12-07 22:10:29 +0900 | [diff] [blame] | 55 | obj-$(CONFIG_MMC_SDHCI_BCM2835) += bcm2835_sdhci.o |
Thomas Fitzsimmons | 894c3ad | 2018-06-08 17:59:45 -0400 | [diff] [blame] | 56 | obj-$(CONFIG_MMC_SDHCI_BCMSTB) += bcmstb_sdhci.o |
Masahiro Yamada | e5e7a7c | 2016-12-30 22:41:46 +0900 | [diff] [blame] | 57 | obj-$(CONFIG_MMC_SDHCI_CADENCE) += sdhci-cadence.o |
Faiz Abbas | 3a1a0df | 2019-06-11 00:43:31 +0530 | [diff] [blame] | 58 | obj-$(CONFIG_MMC_SDHCI_AM654) += am654_sdhci.o |
Arun Parameswaran | 36645f4 | 2019-09-12 11:06:08 -0700 | [diff] [blame] | 59 | obj-$(CONFIG_MMC_SDHCI_IPROC) += iproc_sdhci.o |
Masahiro Yamada | 45a68fe | 2016-12-07 22:10:29 +0900 | [diff] [blame] | 60 | obj-$(CONFIG_MMC_SDHCI_KONA) += kona_sdhci.o |
Masahiro Yamada | 360c67d | 2017-01-30 19:46:53 +0900 | [diff] [blame] | 61 | obj-$(CONFIG_MMC_SDHCI_MSM) += msm_sdhci.o |
Masahiro Yamada | 45a68fe | 2016-12-07 22:10:29 +0900 | [diff] [blame] | 62 | obj-$(CONFIG_MMC_SDHCI_MV) += mv_sdhci.o |
Masahiro Yamada | 1b85877 | 2017-01-30 19:46:54 +0900 | [diff] [blame] | 63 | obj-$(CONFIG_MMC_SDHCI_PIC32) += pic32_sdhci.o |
Masahiro Yamada | facc805 | 2017-01-30 19:46:52 +0900 | [diff] [blame] | 64 | obj-$(CONFIG_MMC_SDHCI_ROCKCHIP) += rockchip_sdhci.o |
Masahiro Yamada | 45a68fe | 2016-12-07 22:10:29 +0900 | [diff] [blame] | 65 | obj-$(CONFIG_MMC_SDHCI_S5P) += s5p_sdhci.o |
| 66 | obj-$(CONFIG_MMC_SDHCI_SPEAR) += spear_sdhci.o |
Patrice Chotard | eee20f8 | 2017-02-21 13:37:09 +0100 | [diff] [blame] | 67 | obj-$(CONFIG_MMC_SDHCI_STI) += sti_sdhci.o |
Felipe Balbi | 83b3248 | 2017-02-20 14:24:14 +0300 | [diff] [blame] | 68 | obj-$(CONFIG_MMC_SDHCI_TANGIER) += tangier_sdhci.o |
Masahiro Yamada | 1d2c050 | 2017-01-10 13:32:07 +0900 | [diff] [blame] | 69 | obj-$(CONFIG_MMC_SDHCI_TEGRA) += tegra_mmc.o |
Stefan Roese | b6acb5f | 2016-12-09 15:03:28 +0100 | [diff] [blame] | 70 | obj-$(CONFIG_MMC_SDHCI_XENON) += xenon_sdhci.o |
Masahiro Yamada | 08aa033 | 2017-01-30 19:46:51 +0900 | [diff] [blame] | 71 | obj-$(CONFIG_MMC_SDHCI_ZYNQ) += zynq_sdhci.o |
Masahiro Yamada | 1d2c050 | 2017-01-10 13:32:07 +0900 | [diff] [blame] | 72 | |
| 73 | obj-$(CONFIG_MMC_SUNXI) += sunxi_mmc.o |
Marek Vasut | cb0b6b0 | 2018-04-13 23:51:33 +0200 | [diff] [blame] | 74 | obj-$(CONFIG_MMC_UNIPHIER) += tmio-common.o uniphier-sd.o |
| 75 | obj-$(CONFIG_RENESAS_SDHI) += tmio-common.o renesas-sdhi.o |
Alexander Graf | c8a73a2 | 2018-01-23 18:05:22 +0100 | [diff] [blame] | 76 | obj-$(CONFIG_MMC_BCM2835) += bcm2835_sdhost.o |
Weijie Gao | d24b693 | 2018-11-15 10:08:04 +0800 | [diff] [blame] | 77 | obj-$(CONFIG_MMC_MTK) += mtk-sd.o |