blob: 58a5cf73d6e9a0fa77646b5a4ca40c5f48a8f847 [file] [log] [blame]
Pierre Ossman1c6a0712007-02-11 19:57:36 +01001#
2# Makefile for MMC/SD host controller drivers
3#
4
Pierre Ossman1c6a0712007-02-11 19:57:36 +01005obj-$(CONFIG_MMC_ARMMMCI) += mmci.o
6obj-$(CONFIG_MMC_PXA) += pxamci.o
7obj-$(CONFIG_MMC_IMX) += imxmmc.o
Sascha Hauerd96be872009-01-06 17:04:14 +01008obj-$(CONFIG_MMC_MXC) += mxcmmc.o
Shawn Guoe4243f12011-02-21 18:35:28 +08009obj-$(CONFIG_MMC_MXS) += mxs-mmc.o
Pierre Ossman1c6a0712007-02-11 19:57:36 +010010obj-$(CONFIG_MMC_SDHCI) += sdhci.o
Pierre Ossmanb8c86fc2008-03-18 17:35:49 +010011obj-$(CONFIG_MMC_SDHCI_PCI) += sdhci-pci.o
Zhangfei Gao536ac992010-09-20 10:51:28 -040012obj-$(CONFIG_MMC_SDHCI_PXA) += sdhci-pxa.o
Ben Dooks0d1bb412009-06-14 13:52:37 +010013obj-$(CONFIG_MMC_SDHCI_S3C) += sdhci-s3c.o
Viresh KUMARc63b3cb2010-05-26 14:42:10 -070014obj-$(CONFIG_MMC_SDHCI_SPEAR) += sdhci-spear.o
Pierre Ossman1c6a0712007-02-11 19:57:36 +010015obj-$(CONFIG_MMC_WBSD) += wbsd.o
16obj-$(CONFIG_MMC_AU1X) += au1xmmc.o
17obj-$(CONFIG_MMC_OMAP) += omap.o
Madhusudhan Chikkaturea45c6cb2009-01-23 01:05:23 +010018obj-$(CONFIG_MMC_OMAP_HS) += omap_hsmmc.o
Pierre Ossman1c6a0712007-02-11 19:57:36 +010019obj-$(CONFIG_MMC_AT91) += at91_mci.o
Haavard Skinnemoen7d2be072008-06-30 18:35:03 +020020obj-$(CONFIG_MMC_ATMELMCI) += atmel-mci.o
Pierre Ossman1c6a0712007-02-11 19:57:36 +010021obj-$(CONFIG_MMC_TIFM_SD) += tifm_sd.o
Sahitya Tummalaeba3f132010-07-29 16:58:01 +053022obj-$(CONFIG_MMC_MSM) += msm_sdcc.o
Maen Suleiman236caa72009-02-14 03:07:26 -050023obj-$(CONFIG_MMC_MVSDIO) += mvsdio.o
Vipin Bhandarib4cff452009-12-14 18:01:21 -080024obj-$(CONFIG_MMC_DAVINCI) += davinci_mmc.o
David Brownell15a05802007-08-08 09:12:54 -070025obj-$(CONFIG_MMC_SPI) += mmc_spi.o
Anton Vorontsov9c43df52008-12-30 18:15:28 +030026ifeq ($(CONFIG_OF),y)
27obj-$(CONFIG_MMC_SPI) += of_mmc_spi.o
28endif
Thomas Kleffelbe518012008-06-30 22:40:24 +010029obj-$(CONFIG_MMC_S3C) += s3cmci.o
Sascha Sommer6a369132008-07-15 14:21:29 +020030obj-$(CONFIG_MMC_SDRICOH_CS) += sdricoh_cs.o
Ian Molton4a489982008-07-15 16:02:21 +010031obj-$(CONFIG_MMC_TMIO) += tmio_mmc.o
Guennadi Liakhovetskib6147492011-03-23 12:42:44 +010032obj-$(CONFIG_MMC_TMIO_CORE) += tmio_mmc_core.o
33tmio_mmc_core-y := tmio_mmc_pio.o
Guennadi Liakhovetski42051e82011-03-14 09:52:33 +010034ifneq ($(CONFIG_MMC_SDHI),n)
35tmio_mmc_core-y += tmio_mmc_dma.o
36endif
37obj-$(CONFIG_MMC_SDHI) += sh_mobile_sdhi.o
38obj-$(CONFIG_MMC_CB710) += cb710-mmc.o
Harald Weltef0bf7f62009-06-17 20:22:39 +020039obj-$(CONFIG_MMC_VIA_SDMMC) += via-sdmmc.o
Cliff Caieb962d52009-12-14 18:01:32 -080040obj-$(CONFIG_SDH_BFIN) += bfin_sdh.o
Will Newtonf95f3852011-01-02 01:11:59 -050041obj-$(CONFIG_MMC_DW) += dw_mmc.o
Yusuke Godafdc50a92010-05-26 14:41:59 -070042obj-$(CONFIG_MMC_SH_MMCIF) += sh_mmcif.o
Lars-Peter Clausen61bfbdb2010-07-15 20:06:04 +000043obj-$(CONFIG_MMC_JZ4740) += jz4740_mmc.o
Tony Olech88095e72011-05-14 16:48:13 -040044obj-$(CONFIG_MMC_VUB300) += vub300.o
David Vrabel53f3a9e2010-09-02 14:15:08 +000045obj-$(CONFIG_MMC_USHC) += ushc.o
Sascha Sommer6a369132008-07-15 14:21:29 +020046
Anton Vorontsov845e3f42010-08-10 18:01:49 -070047obj-$(CONFIG_MMC_SDHCI_PLTFM) += sdhci-platform.o
48sdhci-platform-y := sdhci-pltfm.o
Anton Vorontsov20b1597b2010-08-10 18:01:49 -070049sdhci-platform-$(CONFIG_MMC_SDHCI_CNS3XXX) += sdhci-cns3xxx.o
Wolfram Sang95f25ef2010-10-15 12:21:04 +020050sdhci-platform-$(CONFIG_MMC_SDHCI_ESDHC_IMX) += sdhci-esdhc-imx.o
Mike Rapoport985b1aa2010-11-07 16:57:12 -050051sdhci-platform-$(CONFIG_MMC_SDHCI_DOVE) += sdhci-dove.o
Olof Johansson03d2bfc2011-01-01 23:52:56 -050052sdhci-platform-$(CONFIG_MMC_SDHCI_TEGRA) += sdhci-tegra.o
Anton Vorontsov845e3f42010-08-10 18:01:49 -070053
Albert Herranzbc1ad562009-12-17 15:27:19 -080054obj-$(CONFIG_MMC_SDHCI_OF) += sdhci-of.o
55sdhci-of-y := sdhci-of-core.o
Albert Herranz7657c3a2009-12-17 15:27:20 -080056sdhci-of-$(CONFIG_MMC_SDHCI_OF_ESDHC) += sdhci-of-esdhc.o
Albert Herranz1144ab52009-12-17 15:27:20 -080057sdhci-of-$(CONFIG_MMC_SDHCI_OF_HLWD) += sdhci-of-hlwd.o
Albert Herranzbc1ad562009-12-17 15:27:19 -080058
Michał Mirosławc54f6bc2009-06-13 12:37:59 +020059ifeq ($(CONFIG_CB710_DEBUG),y)
60 CFLAGS-cb710-mmc += -DDEBUG
61endif