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 | |
Simon Glass | 4bca666 | 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 | 1e8eb1b | 2015-06-23 15:38:48 -0600 | [diff] [blame] | 11 | |
Simon Glass | e5db115 | 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 | 859f306 | 2014-09-09 15:16:10 +0200 | [diff] [blame] | 16 | obj-$(CONFIG_ARM_PL180_MMCI) += arm_pl180_mmci.o |
Wenyou Yang | 11fd15d | 2015-11-02 10:57:09 +0800 | [diff] [blame] | 17 | obj-$(CONFIG_ATMEL_SDHCI) += atmel_sdhci.o |
Masahiro Yamada | 5594ce4 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 18 | obj-$(CONFIG_BFIN_SDH) += bfin_sdh.o |
Masahiro Yamada | b2c8868 | 2017-01-10 13:32:07 +0900 | [diff] [blame] | 19 | obj-$(CONFIG_MMC_DAVINCI) += davinci_mmc.o |
| 20 | |
Masahiro Yamada | f1ad728 | 2017-01-10 13:32:05 +0900 | [diff] [blame] | 21 | obj-$(CONFIG_MMC_DW) += dw_mmc.o |
| 22 | obj-$(CONFIG_MMC_DW_EXYNOS) += exynos_dw_mmc.o |
| 23 | obj-$(CONFIG_MMC_DW_K3) += hi6220_dw_mmc.o |
| 24 | obj-$(CONFIG_MMC_DW_ROCKCHIP) += rockchip_dw_mmc.o |
| 25 | obj-$(CONFIG_MMC_DW_SOCFPGA) += socfpga_dw_mmc.o |
Masahiro Yamada | 5594ce4 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 26 | obj-$(CONFIG_FSL_ESDHC) += fsl_esdhc.o |
| 27 | obj-$(CONFIG_FTSDC010) += ftsdc010_mci.o |
Kuo-Jung Su | 3a90999 | 2013-11-25 10:51:41 +0800 | [diff] [blame] | 28 | obj-$(CONFIG_FTSDC021) += ftsdc021_sdhci.o |
Masahiro Yamada | 5594ce4 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 29 | obj-$(CONFIG_GENERIC_MMC) += mmc.o |
Simon Glass | 84f9df9 | 2016-06-12 23:30:18 -0600 | [diff] [blame] | 30 | ifdef CONFIG_SUPPORT_EMMC_BOOT |
| 31 | obj-$(CONFIG_GENERIC_MMC) += mmc_boot.o |
| 32 | endif |
Masahiro Yamada | 5594ce4 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 33 | obj-$(CONFIG_GENERIC_ATMEL_MCI) += gen_atmel_mci.o |
| 34 | obj-$(CONFIG_MMC_SPI) += mmc_spi.o |
Pavel Machek | 859f306 | 2014-09-09 15:16:10 +0200 | [diff] [blame] | 35 | obj-$(CONFIG_MVEBU_MMC) += mvebu_mmc.o |
Masahiro Yamada | b2c8868 | 2017-01-10 13:32:07 +0900 | [diff] [blame] | 36 | obj-$(CONFIG_MMC_OMAP_HS) += omap_hsmmc.o |
| 37 | obj-$(CONFIG_MMC_MXC) += mxcmmc.o |
| 38 | obj-$(CONFIG_MMC_MXS) += mxsmmc.o |
Simon Glass | 509805b | 2015-01-27 22:13:39 -0700 | [diff] [blame] | 39 | obj-$(CONFIG_X86) += pci_mmc.o |
Masahiro Yamada | 5594ce4 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 40 | obj-$(CONFIG_PXA_MMC_GENERIC) += pxa_mmc_gen.o |
Pavel Machek | 859f306 | 2014-09-09 15:16:10 +0200 | [diff] [blame] | 41 | obj-$(CONFIG_SUPPORT_EMMC_RPMB) += rpmb.o |
Marek Vasut | 635638f | 2014-07-22 02:34:52 +0200 | [diff] [blame] | 42 | obj-$(CONFIG_S3C_SDI) += s3c_sdi.o |
Simon Glass | a6a15c4 | 2016-05-01 13:52:38 -0600 | [diff] [blame] | 43 | ifdef CONFIG_BLK |
| 44 | ifdef CONFIG_GENERIC_MMC |
Simon Glass | d3e58e4 | 2015-07-06 12:54:32 -0600 | [diff] [blame] | 45 | obj-$(CONFIG_SANDBOX) += sandbox_mmc.o |
Simon Glass | a6a15c4 | 2016-05-01 13:52:38 -0600 | [diff] [blame] | 46 | endif |
| 47 | endif |
Masahiro Yamada | 5594ce4 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 48 | obj-$(CONFIG_SH_MMCIF) += sh_mmcif.o |
Nobuhiro Iwamatsu | 3ec5f86 | 2014-12-17 08:03:00 +0900 | [diff] [blame] | 49 | obj-$(CONFIG_SH_SDHI) += sh_sdhi.o |
Masahiro Yamada | 5594ce4 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 50 | obj-$(CONFIG_ZYNQ_SDHCI) += zynq_sdhci.o |
Kever Yang | 65922e0 | 2016-07-18 17:00:58 +0800 | [diff] [blame] | 51 | obj-$(CONFIG_ROCKCHIP_SDHCI) += rockchip_sdhci.o |
Pavel Machek | 859f306 | 2014-09-09 15:16:10 +0200 | [diff] [blame] | 52 | |
Ying Zhang | 9ff7026 | 2013-08-16 15:16:11 +0800 | [diff] [blame] | 53 | ifdef CONFIG_SPL_BUILD |
Masahiro Yamada | 5594ce4 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 54 | obj-$(CONFIG_SPL_MMC_BOOT) += fsl_esdhc_spl.o |
B, Ravi | e94b024 | 2016-09-28 14:46:18 +0530 | [diff] [blame] | 55 | obj-$(CONFIG_SPL_SAVEENV) += mmc_write.o |
Paul Burton | 8d30cc9 | 2013-09-09 15:30:26 +0100 | [diff] [blame] | 56 | else |
Masahiro Yamada | 5594ce4 | 2013-10-17 17:34:57 +0900 | [diff] [blame] | 57 | obj-$(CONFIG_GENERIC_MMC) += mmc_write.o |
Ying Zhang | 9ff7026 | 2013-08-16 15:16:11 +0800 | [diff] [blame] | 58 | endif |
Andrei Pistirica | be03317 | 2016-01-28 15:30:18 +0530 | [diff] [blame] | 59 | obj-$(CONFIG_PIC32_SDHCI) += pic32_sdhci.o |
Mateusz Kulikowski | a00b0c0 | 2016-03-31 23:12:16 +0200 | [diff] [blame] | 60 | obj-$(CONFIG_MSM_SDHCI) += msm_sdhci.o |
Masahiro Yamada | 124f6ce | 2016-12-07 22:10:29 +0900 | [diff] [blame] | 61 | |
| 62 | # SDHCI |
| 63 | obj-$(CONFIG_MMC_SDHCI) += sdhci.o |
| 64 | obj-$(CONFIG_MMC_SDHCI_BCM2835) += bcm2835_sdhci.o |
Masahiro Yamada | dcbc443 | 2016-12-30 22:41:46 +0900 | [diff] [blame] | 65 | obj-$(CONFIG_MMC_SDHCI_CADENCE) += sdhci-cadence.o |
Masahiro Yamada | 124f6ce | 2016-12-07 22:10:29 +0900 | [diff] [blame] | 66 | obj-$(CONFIG_MMC_SDHCI_KONA) += kona_sdhci.o |
| 67 | obj-$(CONFIG_MMC_SDHCI_MV) += mv_sdhci.o |
| 68 | obj-$(CONFIG_MMC_SDHCI_S5P) += s5p_sdhci.o |
| 69 | obj-$(CONFIG_MMC_SDHCI_SPEAR) += spear_sdhci.o |
Masahiro Yamada | b2c8868 | 2017-01-10 13:32:07 +0900 | [diff] [blame] | 70 | obj-$(CONFIG_MMC_SDHCI_TEGRA) += tegra_mmc.o |
Stefan Roese | 121fc56 | 2016-12-09 15:03:28 +0100 | [diff] [blame] | 71 | obj-$(CONFIG_MMC_SDHCI_XENON) += xenon_sdhci.o |
Masahiro Yamada | b2c8868 | 2017-01-10 13:32:07 +0900 | [diff] [blame] | 72 | |
| 73 | obj-$(CONFIG_MMC_SUNXI) += sunxi_mmc.o |
| 74 | obj-$(CONFIG_MMC_UNIPHIER) += uniphier-sd.o |