blob: af918d261ff9625d1d42146da1173031cd9917dd [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
Srinivas Kandagatla9cb15142014-07-29 03:50:30 +01006obj-$(CONFIG_MMC_QCOM_DML) += mmci_qcom_dml.o
Pierre Ossman1c6a0712007-02-11 19:57:36 +01007obj-$(CONFIG_MMC_PXA) += pxamci.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
Ben Hutchings659c9bc2015-10-05 20:31:18 +010012sdhci-pci-y += sdhci-pci-core.o sdhci-pci-o2micro.o
Adrian Hunter52c506f2011-12-27 15:48:43 +020013obj-$(subst m,y,$(CONFIG_MMC_SDHCI_PCI)) += sdhci-pci-data.o
Adrian Hunterc4e05032012-11-23 21:17:34 +010014obj-$(CONFIG_MMC_SDHCI_ACPI) += sdhci-acpi.o
Zhangfei Gaoa702c8a2011-06-08 17:41:57 +080015obj-$(CONFIG_MMC_SDHCI_PXAV3) += sdhci-pxav3.o
Zhangfei Gao9f5d71e2011-06-08 17:41:58 +080016obj-$(CONFIG_MMC_SDHCI_PXAV2) += sdhci-pxav2.o
Ben Dooks0d1bb412009-06-14 13:52:37 +010017obj-$(CONFIG_MMC_SDHCI_S3C) += sdhci-s3c.o
Barry Songb3b665b2013-03-21 16:27:19 +080018obj-$(CONFIG_MMC_SDHCI_SIRF) += sdhci-sirf.o
Vincent Yang87a50742015-01-20 16:05:18 +080019obj-$(CONFIG_MMC_SDHCI_F_SDH30) += sdhci_f_sdh30.o
Viresh KUMARc63b3cb2010-05-26 14:42:10 -070020obj-$(CONFIG_MMC_SDHCI_SPEAR) += sdhci-spear.o
Pierre Ossman1c6a0712007-02-11 19:57:36 +010021obj-$(CONFIG_MMC_WBSD) += wbsd.o
22obj-$(CONFIG_MMC_AU1X) += au1xmmc.o
Chaotian Jing20848902015-06-15 19:20:48 +080023obj-$(CONFIG_MMC_MTK) += mtk-sd.o
Pierre Ossman1c6a0712007-02-11 19:57:36 +010024obj-$(CONFIG_MMC_OMAP) += omap.o
Madhusudhan Chikkaturea45c6cb2009-01-23 01:05:23 +010025obj-$(CONFIG_MMC_OMAP_HS) += omap_hsmmc.o
Haavard Skinnemoen7d2be072008-06-30 18:35:03 +020026obj-$(CONFIG_MMC_ATMELMCI) += atmel-mci.o
Pierre Ossman1c6a0712007-02-11 19:57:36 +010027obj-$(CONFIG_MMC_TIFM_SD) += tifm_sd.o
Maen Suleiman236caa72009-02-14 03:07:26 -050028obj-$(CONFIG_MMC_MVSDIO) += mvsdio.o
Vipin Bhandarib4cff452009-12-14 18:01:21 -080029obj-$(CONFIG_MMC_DAVINCI) += davinci_mmc.o
Mike Lockwood85c34d22013-01-21 23:43:46 +000030obj-$(CONFIG_MMC_GOLDFISH) += android-goldfish.o
David Brownell15a05802007-08-08 09:12:54 -070031obj-$(CONFIG_MMC_SPI) += mmc_spi.o
Anton Vorontsov9c43df52008-12-30 18:15:28 +030032ifeq ($(CONFIG_OF),y)
33obj-$(CONFIG_MMC_SPI) += of_mmc_spi.o
34endif
Thomas Kleffelbe518012008-06-30 22:40:24 +010035obj-$(CONFIG_MMC_S3C) += s3cmci.o
Sascha Sommer6a369132008-07-15 14:21:29 +020036obj-$(CONFIG_MMC_SDRICOH_CS) += sdricoh_cs.o
Ian Molton4a489982008-07-15 16:02:21 +010037obj-$(CONFIG_MMC_TMIO) += tmio_mmc.o
Guennadi Liakhovetskib6147492011-03-23 12:42:44 +010038obj-$(CONFIG_MMC_TMIO_CORE) += tmio_mmc_core.o
39tmio_mmc_core-y := tmio_mmc_pio.o
Paul Parsonsd6fec692011-06-30 11:50:12 -040040tmio_mmc_core-$(subst m,y,$(CONFIG_MMC_SDHI)) += tmio_mmc_dma.o
Guennadi Liakhovetski42051e82011-03-14 09:52:33 +010041obj-$(CONFIG_MMC_SDHI) += sh_mobile_sdhi.o
42obj-$(CONFIG_MMC_CB710) += cb710-mmc.o
Harald Weltef0bf7f62009-06-17 20:22:39 +020043obj-$(CONFIG_MMC_VIA_SDMMC) += via-sdmmc.o
Cliff Caieb962d52009-12-14 18:01:32 -080044obj-$(CONFIG_SDH_BFIN) += bfin_sdh.o
Will Newtonf95f3852011-01-02 01:11:59 -050045obj-$(CONFIG_MMC_DW) += dw_mmc.o
Shashidhar Hiremath62ca8032012-01-13 16:04:57 +053046obj-$(CONFIG_MMC_DW_PLTFM) += dw_mmc-pltfm.o
Thomas Abrahamc3665002012-09-17 18:16:43 +000047obj-$(CONFIG_MMC_DW_EXYNOS) += dw_mmc-exynos.o
Zhangfei Gao036f29d2014-01-09 22:35:11 +080048obj-$(CONFIG_MMC_DW_K3) += dw_mmc-k3.o
Shashidhar Hiremath62ca8032012-01-13 16:04:57 +053049obj-$(CONFIG_MMC_DW_PCI) += dw_mmc-pci.o
addy ke4cdc2ec2014-08-19 12:36:14 +080050obj-$(CONFIG_MMC_DW_ROCKCHIP) += dw_mmc-rockchip.o
Yusuke Godafdc50a92010-05-26 14:41:59 -070051obj-$(CONFIG_MMC_SH_MMCIF) += sh_mmcif.o
Lars-Peter Clausen61bfbdb2010-07-15 20:06:04 +000052obj-$(CONFIG_MMC_JZ4740) += jz4740_mmc.o
Tony Olech88095e72011-05-14 16:48:13 -040053obj-$(CONFIG_MMC_VUB300) += vub300.o
David Vrabel53f3a9e2010-09-02 14:15:08 +000054obj-$(CONFIG_MMC_USHC) += ushc.o
Tony Prisk3a96dff2012-11-18 15:33:06 +130055obj-$(CONFIG_MMC_WMT) += wmt-sdmmc.o
Jonas Jensen1b66e942014-04-09 15:54:11 +020056obj-$(CONFIG_MMC_MOXART) += moxart-mmc.o
David Lanzendörfer19b7f792014-05-12 14:04:48 +020057obj-$(CONFIG_MMC_SUNXI) += sunxi-mmc.o
Guennadi Liakhovetski75fa9ea2014-05-31 20:38:51 +020058obj-$(CONFIG_MMC_USDHI6ROL0) += usdhi6rol0.o
Ondrej Zarya5eb8bb2014-11-11 17:54:55 +010059obj-$(CONFIG_MMC_TOSHIBA_PCI) += toshsd.o
Sascha Sommer6a369132008-07-15 14:21:29 +020060
Wei WANG2c94b642012-11-09 20:53:34 +080061obj-$(CONFIG_MMC_REALTEK_PCI) += rtsx_pci_sdmmc.o
Roger Tsengc7f65582014-04-11 14:53:22 +080062obj-$(CONFIG_MMC_REALTEK_USB) += rtsx_usb_sdmmc.o
Wei WANG2c94b642012-11-09 20:53:34 +080063
Shawn Guof0de8362011-06-02 10:57:50 +080064obj-$(CONFIG_MMC_SDHCI_PLTFM) += sdhci-pltfm.o
Shawn Guo85d65092011-05-27 23:48:12 +080065obj-$(CONFIG_MMC_SDHCI_CNS3XXX) += sdhci-cns3xxx.o
Shawn Guo85d65092011-05-27 23:48:12 +080066obj-$(CONFIG_MMC_SDHCI_ESDHC_IMX) += sdhci-esdhc-imx.o
Shawn Guo85d65092011-05-27 23:48:12 +080067obj-$(CONFIG_MMC_SDHCI_DOVE) += sdhci-dove.o
Shawn Guo85d65092011-05-27 23:48:12 +080068obj-$(CONFIG_MMC_SDHCI_TEGRA) += sdhci-tegra.o
Soren Brinkmanne3ec3a32013-12-02 10:02:36 -080069obj-$(CONFIG_MMC_SDHCI_OF_ARASAN) += sdhci-of-arasan.o
ludovic.desroches@atmel.combb5f8ea2015-07-29 16:22:47 +020070obj-$(CONFIG_MMC_SDHCI_OF_AT91) += sdhci-of-at91.o
Shawn Guo38576af2011-05-27 23:48:14 +080071obj-$(CONFIG_MMC_SDHCI_OF_ESDHC) += sdhci-of-esdhc.o
Shawn Guo38576af2011-05-27 23:48:14 +080072obj-$(CONFIG_MMC_SDHCI_OF_HLWD) += sdhci-of-hlwd.o
Christian Daudt01ebea12013-06-20 14:26:37 -070073obj-$(CONFIG_MMC_SDHCI_BCM_KONA) += sdhci-bcm-kona.o
Stephen Warren1a947152013-01-02 22:34:49 -070074obj-$(CONFIG_MMC_SDHCI_BCM2835) += sdhci-bcm2835.o
Scott Brandenb580c522015-02-09 16:06:30 -080075obj-$(CONFIG_MMC_SDHCI_IPROC) += sdhci-iproc.o
Georgi Djakov0eb0d9f2014-03-10 17:37:12 +020076obj-$(CONFIG_MMC_SDHCI_MSM) += sdhci-msm.o
Peter Griffinf52d9c42014-07-09 16:07:32 +010077obj-$(CONFIG_MMC_SDHCI_ST) += sdhci-st.o
Andrei Pistirica5d9460d2016-01-13 18:15:45 -070078obj-$(CONFIG_MMC_SDHCI_MICROCHIP_PIC32) += sdhci-pic32.o
Albert Herranzbc1ad562009-12-17 15:27:19 -080079
Michał Mirosławc54f6bc2009-06-13 12:37:59 +020080ifeq ($(CONFIG_CB710_DEBUG),y)
81 CFLAGS-cb710-mmc += -DDEBUG
82endif