blob: f7fb7eb234b98caed744501792dbc99a07a04d44 [file] [log] [blame]
Pierre Ossman1c6a0712007-02-11 19:57:36 +01001#
2# Makefile for MMC/SD host controller drivers
3#
4
5ifeq ($(CONFIG_MMC_DEBUG),y)
6 EXTRA_CFLAGS += -DDEBUG
7endif
8
9obj-$(CONFIG_MMC_ARMMMCI) += mmci.o
10obj-$(CONFIG_MMC_PXA) += pxamci.o
11obj-$(CONFIG_MMC_IMX) += imxmmc.o
Sascha Hauerd96be872009-01-06 17:04:14 +010012obj-$(CONFIG_MMC_MXC) += mxcmmc.o
Pierre Ossman1c6a0712007-02-11 19:57:36 +010013obj-$(CONFIG_MMC_SDHCI) += sdhci.o
Pierre Ossmanb8c86fc2008-03-18 17:35:49 +010014obj-$(CONFIG_MMC_SDHCI_PCI) += sdhci-pci.o
Ben Dooks0d1bb412009-06-14 13:52:37 +010015obj-$(CONFIG_MMC_SDHCI_S3C) += sdhci-s3c.o
Viresh KUMARc63b3cb2010-05-26 14:42:10 -070016obj-$(CONFIG_MMC_SDHCI_SPEAR) += sdhci-spear.o
Pierre Ossman1c6a0712007-02-11 19:57:36 +010017obj-$(CONFIG_MMC_WBSD) += wbsd.o
18obj-$(CONFIG_MMC_AU1X) += au1xmmc.o
19obj-$(CONFIG_MMC_OMAP) += omap.o
Madhusudhan Chikkaturea45c6cb2009-01-23 01:05:23 +010020obj-$(CONFIG_MMC_OMAP_HS) += omap_hsmmc.o
Pierre Ossman1c6a0712007-02-11 19:57:36 +010021obj-$(CONFIG_MMC_AT91) += at91_mci.o
Haavard Skinnemoen7d2be072008-06-30 18:35:03 +020022obj-$(CONFIG_MMC_ATMELMCI) += atmel-mci.o
Pierre Ossman1c6a0712007-02-11 19:57:36 +010023obj-$(CONFIG_MMC_TIFM_SD) += tifm_sd.o
Sahitya Tummalaeba3f132010-07-29 16:58:01 +053024obj-$(CONFIG_MMC_MSM) += msm_sdcc.o
Maen Suleiman236caa72009-02-14 03:07:26 -050025obj-$(CONFIG_MMC_MVSDIO) += mvsdio.o
Vipin Bhandarib4cff452009-12-14 18:01:21 -080026obj-$(CONFIG_MMC_DAVINCI) += davinci_mmc.o
David Brownell15a05802007-08-08 09:12:54 -070027obj-$(CONFIG_MMC_SPI) += mmc_spi.o
Anton Vorontsov9c43df52008-12-30 18:15:28 +030028ifeq ($(CONFIG_OF),y)
29obj-$(CONFIG_MMC_SPI) += of_mmc_spi.o
30endif
Thomas Kleffelbe518012008-06-30 22:40:24 +010031obj-$(CONFIG_MMC_S3C) += s3cmci.o
Sascha Sommer6a369132008-07-15 14:21:29 +020032obj-$(CONFIG_MMC_SDRICOH_CS) += sdricoh_cs.o
Ian Molton4a489982008-07-15 16:02:21 +010033obj-$(CONFIG_MMC_TMIO) += tmio_mmc.o
Michał Mirosław5f5bac82009-05-22 20:33:59 +020034obj-$(CONFIG_MMC_CB710) += cb710-mmc.o
Harald Weltef0bf7f62009-06-17 20:22:39 +020035obj-$(CONFIG_MMC_VIA_SDMMC) += via-sdmmc.o
Cliff Caieb962d52009-12-14 18:01:32 -080036obj-$(CONFIG_SDH_BFIN) += bfin_sdh.o
Yusuke Godafdc50a92010-05-26 14:41:59 -070037obj-$(CONFIG_MMC_SH_MMCIF) += sh_mmcif.o
Lars-Peter Clausen61bfbdb2010-07-15 20:06:04 +000038obj-$(CONFIG_MMC_JZ4740) += jz4740_mmc.o
David Vrabel53f3a9e2010-09-02 14:15:08 +000039obj-$(CONFIG_MMC_USHC) += ushc.o
Sascha Sommer6a369132008-07-15 14:21:29 +020040
Anton Vorontsov845e3f42010-08-10 18:01:49 -070041obj-$(CONFIG_MMC_SDHCI_PLTFM) += sdhci-platform.o
42sdhci-platform-y := sdhci-pltfm.o
Anton Vorontsov20b1597b2010-08-10 18:01:49 -070043sdhci-platform-$(CONFIG_MMC_SDHCI_CNS3XXX) += sdhci-cns3xxx.o
Anton Vorontsov845e3f42010-08-10 18:01:49 -070044
Albert Herranzbc1ad562009-12-17 15:27:19 -080045obj-$(CONFIG_MMC_SDHCI_OF) += sdhci-of.o
46sdhci-of-y := sdhci-of-core.o
Albert Herranz7657c3a2009-12-17 15:27:20 -080047sdhci-of-$(CONFIG_MMC_SDHCI_OF_ESDHC) += sdhci-of-esdhc.o
Albert Herranz1144ab52009-12-17 15:27:20 -080048sdhci-of-$(CONFIG_MMC_SDHCI_OF_HLWD) += sdhci-of-hlwd.o
Albert Herranzbc1ad562009-12-17 15:27:19 -080049
Michał Mirosławc54f6bc2009-06-13 12:37:59 +020050ifeq ($(CONFIG_CB710_DEBUG),y)
51 CFLAGS-cb710-mmc += -DDEBUG
52endif