xref: /openbmc/linux/drivers/mmc/host/Makefile (revision 37be287c)
1#
2# Makefile for MMC/SD host controller drivers
3#
4
5obj-$(CONFIG_MMC_ARMMMCI)	+= mmci.o
6obj-$(CONFIG_MMC_PXA)		+= pxamci.o
7obj-$(CONFIG_MMC_MXC)		+= mxcmmc.o
8obj-$(CONFIG_MMC_MXS)		+= mxs-mmc.o
9obj-$(CONFIG_MMC_SDHCI)		+= sdhci.o
10obj-$(CONFIG_MMC_SDHCI_PCI)	+= sdhci-pci.o
11obj-$(subst m,y,$(CONFIG_MMC_SDHCI_PCI))	+= sdhci-pci-data.o
12obj-$(subst m,y,$(CONFIG_MMC_SDHCI_PCI))	+= sdhci-pci-o2micro.o
13obj-$(CONFIG_MMC_SDHCI_ACPI)	+= sdhci-acpi.o
14obj-$(CONFIG_MMC_SDHCI_PXAV3)	+= sdhci-pxav3.o
15obj-$(CONFIG_MMC_SDHCI_PXAV2)	+= sdhci-pxav2.o
16obj-$(CONFIG_MMC_SDHCI_S3C)	+= sdhci-s3c.o
17obj-$(CONFIG_MMC_SDHCI_SIRF)   	+= sdhci-sirf.o
18obj-$(CONFIG_MMC_SDHCI_SPEAR)	+= sdhci-spear.o
19obj-$(CONFIG_MMC_WBSD)		+= wbsd.o
20obj-$(CONFIG_MMC_AU1X)		+= au1xmmc.o
21obj-$(CONFIG_MMC_OMAP)		+= omap.o
22obj-$(CONFIG_MMC_OMAP_HS)	+= omap_hsmmc.o
23obj-$(CONFIG_MMC_ATMELMCI)	+= atmel-mci.o
24obj-$(CONFIG_MMC_TIFM_SD)	+= tifm_sd.o
25obj-$(CONFIG_MMC_MSM)		+= msm_sdcc.o
26obj-$(CONFIG_MMC_MVSDIO)	+= mvsdio.o
27obj-$(CONFIG_MMC_DAVINCI)       += davinci_mmc.o
28obj-$(CONFIG_MMC_GOLDFISH)	+= android-goldfish.o
29obj-$(CONFIG_MMC_SPI)		+= mmc_spi.o
30ifeq ($(CONFIG_OF),y)
31obj-$(CONFIG_MMC_SPI)		+= of_mmc_spi.o
32endif
33obj-$(CONFIG_MMC_S3C)   	+= s3cmci.o
34obj-$(CONFIG_MMC_SDRICOH_CS)	+= sdricoh_cs.o
35obj-$(CONFIG_MMC_TMIO)		+= tmio_mmc.o
36obj-$(CONFIG_MMC_TMIO_CORE)	+= tmio_mmc_core.o
37tmio_mmc_core-y			:= tmio_mmc_pio.o
38tmio_mmc_core-$(subst m,y,$(CONFIG_MMC_SDHI))	+= tmio_mmc_dma.o
39obj-$(CONFIG_MMC_SDHI)		+= sh_mobile_sdhi.o
40obj-$(CONFIG_MMC_CB710)		+= cb710-mmc.o
41obj-$(CONFIG_MMC_VIA_SDMMC)	+= via-sdmmc.o
42obj-$(CONFIG_SDH_BFIN)		+= bfin_sdh.o
43obj-$(CONFIG_MMC_DW)		+= dw_mmc.o
44obj-$(CONFIG_MMC_DW_PLTFM)	+= dw_mmc-pltfm.o
45obj-$(CONFIG_MMC_DW_EXYNOS)	+= dw_mmc-exynos.o
46obj-$(CONFIG_MMC_DW_SOCFPGA)	+= dw_mmc-socfpga.o
47obj-$(CONFIG_MMC_DW_K3)		+= dw_mmc-k3.o
48obj-$(CONFIG_MMC_DW_PCI)	+= dw_mmc-pci.o
49obj-$(CONFIG_MMC_SH_MMCIF)	+= sh_mmcif.o
50obj-$(CONFIG_MMC_JZ4740)	+= jz4740_mmc.o
51obj-$(CONFIG_MMC_VUB300)	+= vub300.o
52obj-$(CONFIG_MMC_USHC)		+= ushc.o
53obj-$(CONFIG_MMC_WMT)		+= wmt-sdmmc.o
54
55obj-$(CONFIG_MMC_REALTEK_PCI)	+= rtsx_pci_sdmmc.o
56
57obj-$(CONFIG_MMC_SDHCI_PLTFM)		+= sdhci-pltfm.o
58obj-$(CONFIG_MMC_SDHCI_CNS3XXX)		+= sdhci-cns3xxx.o
59obj-$(CONFIG_MMC_SDHCI_ESDHC_IMX)	+= sdhci-esdhc-imx.o
60obj-$(CONFIG_MMC_SDHCI_DOVE)		+= sdhci-dove.o
61obj-$(CONFIG_MMC_SDHCI_TEGRA)		+= sdhci-tegra.o
62obj-$(CONFIG_MMC_SDHCI_OF_ARASAN)	+= sdhci-of-arasan.o
63obj-$(CONFIG_MMC_SDHCI_OF_ESDHC)	+= sdhci-of-esdhc.o
64obj-$(CONFIG_MMC_SDHCI_OF_HLWD)		+= sdhci-of-hlwd.o
65obj-$(CONFIG_MMC_SDHCI_BCM_KONA)	+= sdhci-bcm-kona.o
66obj-$(CONFIG_MMC_SDHCI_BCM2835)		+= sdhci-bcm2835.o
67
68ifeq ($(CONFIG_CB710_DEBUG),y)
69	CFLAGS-cb710-mmc	+= -DDEBUG
70endif
71