Makefile 3.52 KB
Newer Older
1
2
3
4
5
#
# Makefile for MMC/SD host controller drivers
#

obj-$(CONFIG_MMC_ARMMMCI)	+= mmci.o
6
obj-$(CONFIG_MMC_QCOM_DML)	+= mmci_qcom_dml.o
7
obj-$(CONFIG_MMC_PXA)		+= pxamci.o
8
obj-$(CONFIG_MMC_MXC)		+= mxcmmc.o
9
obj-$(CONFIG_MMC_MXS)		+= mxs-mmc.o
10
obj-$(CONFIG_MMC_SDHCI)		+= sdhci.o
11
obj-$(CONFIG_MMC_SDHCI_PCI)	+= sdhci-pci.o
12
sdhci-pci-y			+= sdhci-pci-core.o sdhci-pci-o2micro.o
13
obj-$(subst m,y,$(CONFIG_MMC_SDHCI_PCI))	+= sdhci-pci-data.o
14
obj-$(CONFIG_MMC_SDHCI_ACPI)	+= sdhci-acpi.o
15
obj-$(CONFIG_MMC_SDHCI_PXAV3)	+= sdhci-pxav3.o
16
obj-$(CONFIG_MMC_SDHCI_PXAV2)	+= sdhci-pxav2.o
17
obj-$(CONFIG_MMC_SDHCI_S3C)	+= sdhci-s3c.o
18
obj-$(CONFIG_MMC_SDHCI_SIRF)   	+= sdhci-sirf.o
19
obj-$(CONFIG_MMC_SDHCI_F_SDH30)	+= sdhci_f_sdh30.o
20
obj-$(CONFIG_MMC_SDHCI_SPEAR)	+= sdhci-spear.o
21
22
obj-$(CONFIG_MMC_WBSD)		+= wbsd.o
obj-$(CONFIG_MMC_AU1X)		+= au1xmmc.o
23
obj-$(CONFIG_MMC_MTK)		+= mtk-sd.o
24
obj-$(CONFIG_MMC_OMAP)		+= omap.o
25
obj-$(CONFIG_MMC_OMAP_HS)	+= omap_hsmmc.o
26
obj-$(CONFIG_MMC_ATMELMCI)	+= atmel-mci.o
27
obj-$(CONFIG_MMC_TIFM_SD)	+= tifm_sd.o
28
obj-$(CONFIG_MMC_MVSDIO)	+= mvsdio.o
29
obj-$(CONFIG_MMC_DAVINCI)       += davinci_mmc.o
30
obj-$(CONFIG_MMC_GOLDFISH)	+= android-goldfish.o
David Brownell's avatar
David Brownell committed
31
obj-$(CONFIG_MMC_SPI)		+= mmc_spi.o
32
33
34
ifeq ($(CONFIG_OF),y)
obj-$(CONFIG_MMC_SPI)		+= of_mmc_spi.o
endif
Thomas Kleffel's avatar
Thomas Kleffel committed
35
obj-$(CONFIG_MMC_S3C)   	+= s3cmci.o
36
obj-$(CONFIG_MMC_SDRICOH_CS)	+= sdricoh_cs.o
Ian Molton's avatar
Ian Molton committed
37
obj-$(CONFIG_MMC_TMIO)		+= tmio_mmc.o
38
39
obj-$(CONFIG_MMC_TMIO_CORE)	+= tmio_mmc_core.o
tmio_mmc_core-y			:= tmio_mmc_pio.o
40
tmio_mmc_core-$(subst m,y,$(CONFIG_MMC_SDHI))	+= tmio_mmc_dma.o
41
42
obj-$(CONFIG_MMC_SDHI)		+= sh_mobile_sdhi.o
obj-$(CONFIG_MMC_CB710)		+= cb710-mmc.o
43
obj-$(CONFIG_MMC_VIA_SDMMC)	+= via-sdmmc.o
44
obj-$(CONFIG_SDH_BFIN)		+= bfin_sdh.o
45
46
thunderx-mmc-objs := cavium.o cavium-thunderx.o
obj-$(CONFIG_MMC_CAVIUM_THUNDERX) += thunderx-mmc.o
47
obj-$(CONFIG_MMC_DW)		+= dw_mmc.o
48
obj-$(CONFIG_MMC_DW_PLTFM)	+= dw_mmc-pltfm.o
49
obj-$(CONFIG_MMC_DW_EXYNOS)	+= dw_mmc-exynos.o
50
obj-$(CONFIG_MMC_DW_K3)		+= dw_mmc-k3.o
51
obj-$(CONFIG_MMC_DW_PCI)	+= dw_mmc-pci.o
52
obj-$(CONFIG_MMC_DW_ROCKCHIP)	+= dw_mmc-rockchip.o
53
obj-$(CONFIG_MMC_DW_ZX)		+= dw_mmc-zx.o
54
obj-$(CONFIG_MMC_SH_MMCIF)	+= sh_mmcif.o
55
obj-$(CONFIG_MMC_JZ4740)	+= jz4740_mmc.o
56
obj-$(CONFIG_MMC_VUB300)	+= vub300.o
57
obj-$(CONFIG_MMC_USHC)		+= ushc.o
58
obj-$(CONFIG_MMC_WMT)		+= wmt-sdmmc.o
59
obj-$(CONFIG_MMC_MESON_GX)	+= meson-gx-mmc.o
60
obj-$(CONFIG_MMC_MOXART)	+= moxart-mmc.o
61
obj-$(CONFIG_MMC_SUNXI)		+= sunxi-mmc.o
62
obj-$(CONFIG_MMC_USDHI6ROL0)	+= usdhi6rol0.o
63
obj-$(CONFIG_MMC_TOSHIBA_PCI)	+= toshsd.o
64
obj-$(CONFIG_MMC_BCM2835)	+= bcm2835.o
65

66
obj-$(CONFIG_MMC_REALTEK_PCI)	+= rtsx_pci_sdmmc.o
67
obj-$(CONFIG_MMC_REALTEK_USB)	+= rtsx_usb_sdmmc.o
68

69
obj-$(CONFIG_MMC_SDHCI_PLTFM)		+= sdhci-pltfm.o
70
obj-$(CONFIG_MMC_SDHCI_CADENCE)		+= sdhci-cadence.o
71
72
73
74
obj-$(CONFIG_MMC_SDHCI_CNS3XXX)		+= sdhci-cns3xxx.o
obj-$(CONFIG_MMC_SDHCI_ESDHC_IMX)	+= sdhci-esdhc-imx.o
obj-$(CONFIG_MMC_SDHCI_DOVE)		+= sdhci-dove.o
obj-$(CONFIG_MMC_SDHCI_TEGRA)		+= sdhci-tegra.o
75
obj-$(CONFIG_MMC_SDHCI_OF_ARASAN)	+= sdhci-of-arasan.o
76
obj-$(CONFIG_MMC_SDHCI_OF_AT91)		+= sdhci-of-at91.o
77
78
obj-$(CONFIG_MMC_SDHCI_OF_ESDHC)	+= sdhci-of-esdhc.o
obj-$(CONFIG_MMC_SDHCI_OF_HLWD)		+= sdhci-of-hlwd.o
Christian Daudt's avatar
Christian Daudt committed
79
obj-$(CONFIG_MMC_SDHCI_BCM_KONA)	+= sdhci-bcm-kona.o
80
obj-$(CONFIG_MMC_SDHCI_IPROC)		+= sdhci-iproc.o
81
obj-$(CONFIG_MMC_SDHCI_MSM)		+= sdhci-msm.o
82
obj-$(CONFIG_MMC_SDHCI_ST)		+= sdhci-st.o
83
obj-$(CONFIG_MMC_SDHCI_MICROCHIP_PIC32)	+= sdhci-pic32.o
84
obj-$(CONFIG_MMC_SDHCI_BRCMSTB)		+= sdhci-brcmstb.o
85

86
87
88
ifeq ($(CONFIG_CB710_DEBUG),y)
	CFLAGS-cb710-mmc	+= -DDEBUG
endif
89
90
91

obj-$(CONFIG_MMC_SDHCI_XENON)	+= sdhci-xenon-driver.o
sdhci-xenon-driver-y		+= sdhci-xenon.o