Haavard Skinnemoen | 5ce1305 | 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 | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
Haavard Skinnemoen | 5ce1305 | 2008-06-12 19:27:56 +0200 | [diff] [blame] | 6 | # |
| 7 | |
Simon Glass | 8ef761e | 2016-05-01 13:52:39 -0600 | [diff] [blame] | 8 | ifdef CONFIG_DM_MMC |
| 9 | obj-$(CONFIG_GENERIC_MMC) += mmc-uclass.o |
| 10 | endif |
Simon Glass | e7ecf7c | 2015-06-23 15:38:48 -0600 | [diff] [blame] | 11 | |
Simon Glass | c40fdca | 2016-05-01 13:52:35 -0600 | [diff] [blame] | 12 | ifndef CONFIG_BLK |
| 13 | obj-$(CONFIG_GENERIC_MMC) += mmc_legacy.o |
| 14 | endif |
| 15 | |
Pavel Machek | 389b89c | 2014-09-09 15:16:10 +0200 | [diff] [blame] | 16 | obj-$(CONFIG_ARM_PL180_MMCI) += arm_pl180_mmci.o |
Wenyou Yang | a3b59b1 | 2015-11-02 10:57:09 +0800 | [diff] [blame] | 17 | obj-$(CONFIG_ATMEL_SDHCI) += atmel_sdhci.o |
Pavel Machek | 389b89c | 2014-09-09 15:16:10 +0200 | [diff] [blame] | 18 | obj-$(CONFIG_BCM2835_SDHCI) += bcm2835_sdhci.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 19 | obj-$(CONFIG_BFIN_SDH) += bfin_sdh.o |
| 20 | obj-$(CONFIG_DAVINCI_MMC) += davinci_mmc.o |
Pavel Machek | 389b89c | 2014-09-09 15:16:10 +0200 | [diff] [blame] | 21 | obj-$(CONFIG_DWMMC) += dw_mmc.o |
| 22 | obj-$(CONFIG_EXYNOS_DWMMC) += exynos_dw_mmc.o |
Peter Griffin | 447da58 | 2015-07-30 18:55:22 +0100 | [diff] [blame] | 23 | obj-$(CONFIG_HIKEY_DWMMC) += hi6220_dw_mmc.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 24 | obj-$(CONFIG_FSL_ESDHC) += fsl_esdhc.o |
| 25 | obj-$(CONFIG_FTSDC010) += ftsdc010_mci.o |
Kuo-Jung Su | adebb98 | 2013-11-25 10:51:41 +0800 | [diff] [blame] | 26 | obj-$(CONFIG_FTSDC021) += ftsdc021_sdhci.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 27 | obj-$(CONFIG_GENERIC_MMC) += mmc.o |
Simon Glass | c40704f | 2016-06-12 23:30:18 -0600 | [diff] [blame] | 28 | ifdef CONFIG_SUPPORT_EMMC_BOOT |
| 29 | obj-$(CONFIG_GENERIC_MMC) += mmc_boot.o |
| 30 | endif |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 31 | obj-$(CONFIG_GENERIC_ATMEL_MCI) += gen_atmel_mci.o |
Pavel Machek | 389b89c | 2014-09-09 15:16:10 +0200 | [diff] [blame] | 32 | obj-$(CONFIG_KONA_SDHCI) += kona_sdhci.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 33 | obj-$(CONFIG_MMC_SPI) += mmc_spi.o |
Pavel Machek | 389b89c | 2014-09-09 15:16:10 +0200 | [diff] [blame] | 34 | obj-$(CONFIG_MMC_SUNXI) += sunxi_mmc.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 35 | obj-$(CONFIG_MV_SDHCI) += mv_sdhci.o |
Pavel Machek | 389b89c | 2014-09-09 15:16:10 +0200 | [diff] [blame] | 36 | obj-$(CONFIG_MVEBU_MMC) += mvebu_mmc.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 37 | obj-$(CONFIG_MXC_MMC) += mxcmmc.o |
| 38 | obj-$(CONFIG_MXS_MMC) += mxsmmc.o |
| 39 | obj-$(CONFIG_OMAP_HSMMC) += omap_hsmmc.o |
Simon Glass | 91785f7 | 2015-01-27 22:13:39 -0700 | [diff] [blame] | 40 | obj-$(CONFIG_X86) += pci_mmc.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 41 | obj-$(CONFIG_PXA_MMC_GENERIC) += pxa_mmc_gen.o |
Simon Glass | a8cb4fb | 2015-08-30 16:55:37 -0600 | [diff] [blame] | 42 | obj-$(CONFIG_ROCKCHIP_DWMMC) += rockchip_dw_mmc.o |
Pavel Machek | 389b89c | 2014-09-09 15:16:10 +0200 | [diff] [blame] | 43 | obj-$(CONFIG_SUPPORT_EMMC_RPMB) += rpmb.o |
Marek Vasut | dae0f5c | 2014-07-22 02:34:52 +0200 | [diff] [blame] | 44 | obj-$(CONFIG_S3C_SDI) += s3c_sdi.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 45 | obj-$(CONFIG_S5P_SDHCI) += s5p_sdhci.o |
Simon Glass | f8b7752 | 2016-05-01 13:52:38 -0600 | [diff] [blame] | 46 | ifdef CONFIG_BLK |
| 47 | ifdef CONFIG_GENERIC_MMC |
Simon Glass | 8e6cc46 | 2015-07-06 12:54:32 -0600 | [diff] [blame] | 48 | obj-$(CONFIG_SANDBOX) += sandbox_mmc.o |
Simon Glass | f8b7752 | 2016-05-01 13:52:38 -0600 | [diff] [blame] | 49 | endif |
| 50 | endif |
Pavel Machek | 389b89c | 2014-09-09 15:16:10 +0200 | [diff] [blame] | 51 | obj-$(CONFIG_SDHCI) += sdhci.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 52 | obj-$(CONFIG_SH_MMCIF) += sh_mmcif.o |
Nobuhiro Iwamatsu | 72d42ba | 2014-12-17 08:03:00 +0900 | [diff] [blame] | 53 | obj-$(CONFIG_SH_SDHI) += sh_sdhi.o |
Pavel Machek | 389b89c | 2014-09-09 15:16:10 +0200 | [diff] [blame] | 54 | obj-$(CONFIG_SOCFPGA_DWMMC) += socfpga_dw_mmc.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 55 | obj-$(CONFIG_SPEAR_SDHCI) += spear_sdhci.o |
| 56 | obj-$(CONFIG_TEGRA_MMC) += tegra_mmc.o |
Masahiro Yamada | a111bfb | 2016-02-18 19:52:48 +0900 | [diff] [blame] | 57 | obj-$(CONFIG_MMC_UNIPHIER) += uniphier-sd.o |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 58 | obj-$(CONFIG_ZYNQ_SDHCI) += zynq_sdhci.o |
Kever Yang | 79c8306 | 2016-07-18 17:00:58 +0800 | [diff] [blame] | 59 | obj-$(CONFIG_ROCKCHIP_SDHCI) += rockchip_sdhci.o |
Pavel Machek | 389b89c | 2014-09-09 15:16:10 +0200 | [diff] [blame] | 60 | |
Ying Zhang | bb0dc10 | 2013-08-16 15:16:11 +0800 | [diff] [blame] | 61 | ifdef CONFIG_SPL_BUILD |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 62 | obj-$(CONFIG_SPL_MMC_BOOT) += fsl_esdhc_spl.o |
Paul Burton | da61fa5 | 2013-09-09 15:30:26 +0100 | [diff] [blame] | 63 | else |
Masahiro Yamada | 710f1d3 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 64 | obj-$(CONFIG_GENERIC_MMC) += mmc_write.o |
Ying Zhang | bb0dc10 | 2013-08-16 15:16:11 +0800 | [diff] [blame] | 65 | endif |
Andrei Pistirica | 102142c | 2016-01-28 15:30:18 +0530 | [diff] [blame] | 66 | obj-$(CONFIG_PIC32_SDHCI) += pic32_sdhci.o |
Mateusz Kulikowski | 9d11d12 | 2016-03-31 23:12:16 +0200 | [diff] [blame] | 67 | obj-$(CONFIG_MSM_SDHCI) += msm_sdhci.o |