Haavard Skinnemoen | eb22096 | 2008-06-12 19:27:56 +0200 | [diff] [blame] | 1 | # |
| 2 | # (C) Copyright 2006 |
| 3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 4 | # |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
Haavard Skinnemoen | eb22096 | 2008-06-12 19:27:56 +0200 | [diff] [blame] | 6 | # |
| 7 | |
Masahiro Yamada | a29e8d3 | 2017-05-09 20:31:40 +0900 | [diff] [blame] | 8 | obj-y += mmc.o |
| 9 | obj-$(CONFIG_DM_MMC) += mmc-uclass.o |
Simon Glass | 1e8eb1b | 2015-06-23 15:38:48 -0600 | [diff] [blame] | 10 | |
Simon Glass | e5db115 | 2016-05-01 13:52:35 -0600 | [diff] [blame] | 11 | ifndef CONFIG_BLK |
Masahiro Yamada | a29e8d3 | 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 |
| 19 | obj-$(CONFIG_SPL_SAVEENV) += mmc_write.o |
| 20 | else |
| 21 | obj-y += mmc_write.o |
Simon Glass | e5db115 | 2016-05-01 13:52:35 -0600 | [diff] [blame] | 22 | endif |
| 23 | |
Pavel Machek | 859f306 | 2014-09-09 15:16:10 +0200 | [diff] [blame] | 24 | obj-$(CONFIG_ARM_PL180_MMCI) += arm_pl180_mmci.o |
Masahiro Yamada | b2c8868 | 2017-01-10 13:32:07 +0900 | [diff] [blame] | 25 | obj-$(CONFIG_MMC_DAVINCI) += davinci_mmc.o |
Masahiro Yamada | f1ad728 | 2017-01-10 13:32:05 +0900 | [diff] [blame] | 26 | obj-$(CONFIG_MMC_DW) += dw_mmc.o |
| 27 | obj-$(CONFIG_MMC_DW_EXYNOS) += exynos_dw_mmc.o |
| 28 | obj-$(CONFIG_MMC_DW_K3) += hi6220_dw_mmc.o |
| 29 | obj-$(CONFIG_MMC_DW_ROCKCHIP) += rockchip_dw_mmc.o |
| 30 | obj-$(CONFIG_MMC_DW_SOCFPGA) += socfpga_dw_mmc.o |
Masahiro Yamada | 5594ce4 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 31 | obj-$(CONFIG_FSL_ESDHC) += fsl_esdhc.o |
| 32 | obj-$(CONFIG_FTSDC010) += ftsdc010_mci.o |
Masahiro Yamada | 5594ce4 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 33 | obj-$(CONFIG_GENERIC_ATMEL_MCI) += gen_atmel_mci.o |
Carlo Caione | 20cab78 | 2017-04-12 20:30:42 +0200 | [diff] [blame] | 34 | obj-$(CONFIG_MMC_MESON_GX) += meson_gx_mmc.o |
Masahiro Yamada | 5594ce4 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 35 | obj-$(CONFIG_MMC_SPI) += mmc_spi.o |
Pavel Machek | 859f306 | 2014-09-09 15:16:10 +0200 | [diff] [blame] | 36 | obj-$(CONFIG_MVEBU_MMC) += mvebu_mmc.o |
Masahiro Yamada | b2c8868 | 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 |
Felipe Balbi | ecf7dfd | 2017-02-20 14:24:13 +0300 | [diff] [blame] | 40 | obj-$(CONFIG_MMC_PCI) += pci_mmc.o |
Masahiro Yamada | 5594ce4 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 41 | obj-$(CONFIG_PXA_MMC_GENERIC) += pxa_mmc_gen.o |
Pavel Machek | 859f306 | 2014-09-09 15:16:10 +0200 | [diff] [blame] | 42 | obj-$(CONFIG_SUPPORT_EMMC_RPMB) += rpmb.o |
Marek Vasut | 635638f | 2014-07-22 02:34:52 +0200 | [diff] [blame] | 43 | obj-$(CONFIG_S3C_SDI) += s3c_sdi.o |
Masahiro Yamada | 54f7cfc | 2017-01-30 19:46:50 +0900 | [diff] [blame] | 44 | obj-$(CONFIG_MMC_SANDBOX) += sandbox_mmc.o |
Masahiro Yamada | 5594ce4 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 45 | obj-$(CONFIG_SH_MMCIF) += sh_mmcif.o |
Nobuhiro Iwamatsu | 3ec5f86 | 2014-12-17 08:03:00 +0900 | [diff] [blame] | 46 | obj-$(CONFIG_SH_SDHI) += sh_sdhi.o |
Pavel Machek | 859f306 | 2014-09-09 15:16:10 +0200 | [diff] [blame] | 47 | |
Masahiro Yamada | 124f6ce | 2016-12-07 22:10:29 +0900 | [diff] [blame] | 48 | # SDHCI |
| 49 | obj-$(CONFIG_MMC_SDHCI) += sdhci.o |
Masahiro Yamada | 8c1a132 | 2017-01-30 19:46:55 +0900 | [diff] [blame] | 50 | obj-$(CONFIG_MMC_SDHCI_ATMEL) += atmel_sdhci.o |
Masahiro Yamada | 124f6ce | 2016-12-07 22:10:29 +0900 | [diff] [blame] | 51 | obj-$(CONFIG_MMC_SDHCI_BCM2835) += bcm2835_sdhci.o |
Masahiro Yamada | dcbc443 | 2016-12-30 22:41:46 +0900 | [diff] [blame] | 52 | obj-$(CONFIG_MMC_SDHCI_CADENCE) += sdhci-cadence.o |
Masahiro Yamada | 124f6ce | 2016-12-07 22:10:29 +0900 | [diff] [blame] | 53 | obj-$(CONFIG_MMC_SDHCI_KONA) += kona_sdhci.o |
Masahiro Yamada | a1262eb | 2017-01-30 19:46:53 +0900 | [diff] [blame] | 54 | obj-$(CONFIG_MMC_SDHCI_MSM) += msm_sdhci.o |
Masahiro Yamada | 124f6ce | 2016-12-07 22:10:29 +0900 | [diff] [blame] | 55 | obj-$(CONFIG_MMC_SDHCI_MV) += mv_sdhci.o |
Masahiro Yamada | f79df03 | 2017-01-30 19:46:54 +0900 | [diff] [blame] | 56 | obj-$(CONFIG_MMC_SDHCI_PIC32) += pic32_sdhci.o |
Masahiro Yamada | babe026 | 2017-01-30 19:46:52 +0900 | [diff] [blame] | 57 | obj-$(CONFIG_MMC_SDHCI_ROCKCHIP) += rockchip_sdhci.o |
Masahiro Yamada | 124f6ce | 2016-12-07 22:10:29 +0900 | [diff] [blame] | 58 | obj-$(CONFIG_MMC_SDHCI_S5P) += s5p_sdhci.o |
| 59 | obj-$(CONFIG_MMC_SDHCI_SPEAR) += spear_sdhci.o |
Patrice Chotard | 2eea7d8 | 2017-02-21 13:37:09 +0100 | [diff] [blame] | 60 | obj-$(CONFIG_MMC_SDHCI_STI) += sti_sdhci.o |
Felipe Balbi | b756760 | 2017-02-20 14:24:14 +0300 | [diff] [blame] | 61 | obj-$(CONFIG_MMC_SDHCI_TANGIER) += tangier_sdhci.o |
Masahiro Yamada | b2c8868 | 2017-01-10 13:32:07 +0900 | [diff] [blame] | 62 | obj-$(CONFIG_MMC_SDHCI_TEGRA) += tegra_mmc.o |
Stefan Roese | 121fc56 | 2016-12-09 15:03:28 +0100 | [diff] [blame] | 63 | obj-$(CONFIG_MMC_SDHCI_XENON) += xenon_sdhci.o |
Masahiro Yamada | 168c57d | 2017-01-30 19:46:51 +0900 | [diff] [blame] | 64 | obj-$(CONFIG_MMC_SDHCI_ZYNQ) += zynq_sdhci.o |
Masahiro Yamada | b2c8868 | 2017-01-10 13:32:07 +0900 | [diff] [blame] | 65 | |
| 66 | obj-$(CONFIG_MMC_SUNXI) += sunxi_mmc.o |
| 67 | obj-$(CONFIG_MMC_UNIPHIER) += uniphier-sd.o |