Makefile 4.32 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
2
3
4
5
#
# Makefile for MMC/SD host controller drivers
#

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

77
obj-$(CONFIG_MMC_REALTEK_PCI)	+= rtsx_pci_sdmmc.o
78
obj-$(CONFIG_MMC_REALTEK_USB)	+= rtsx_usb_sdmmc.o
79

80
obj-$(CONFIG_MMC_SDHCI_PLTFM)		+= sdhci-pltfm.o
81
obj-$(CONFIG_MMC_SDHCI_CADENCE)		+= sdhci-cadence.o
82
83
84
85
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
86
obj-$(CONFIG_MMC_SDHCI_OF_ARASAN)	+= sdhci-of-arasan.o
87
obj-$(CONFIG_MMC_SDHCI_OF_ASPEED)	+= sdhci-of-aspeed.o
88
obj-$(CONFIG_MMC_SDHCI_OF_AT91)		+= sdhci-of-at91.o
89
90
obj-$(CONFIG_MMC_SDHCI_OF_ESDHC)	+= sdhci-of-esdhc.o
obj-$(CONFIG_MMC_SDHCI_OF_HLWD)		+= sdhci-of-hlwd.o
91
obj-$(CONFIG_MMC_SDHCI_OF_DWCMSHC)	+= sdhci-of-dwcmshc.o
Christian Daudt's avatar
Christian Daudt committed
92
obj-$(CONFIG_MMC_SDHCI_BCM_KONA)	+= sdhci-bcm-kona.o
93
obj-$(CONFIG_MMC_SDHCI_IPROC)		+= sdhci-iproc.o
94
obj-$(CONFIG_MMC_SDHCI_MSM)		+= sdhci-msm.o
95
obj-$(CONFIG_MMC_SDHCI_ST)		+= sdhci-st.o
96
obj-$(CONFIG_MMC_SDHCI_MICROCHIP_PIC32)	+= sdhci-pic32.o
97
obj-$(CONFIG_MMC_SDHCI_BRCMSTB)		+= sdhci-brcmstb.o
98
obj-$(CONFIG_MMC_SDHCI_OMAP)		+= sdhci-omap.o
99
obj-$(CONFIG_MMC_SDHCI_SPRD)		+= sdhci-sprd.o
100
obj-$(CONFIG_MMC_CQHCI)			+= cqhci.o
101

102
103
104
ifeq ($(CONFIG_CB710_DEBUG),y)
	CFLAGS-cb710-mmc	+= -DDEBUG
endif
105
106

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