xref: /openbmc/linux/drivers/spi/Makefile (revision 171f1bc7)
1#
2# Makefile for kernel SPI drivers.
3#
4
5ccflags-$(CONFIG_SPI_DEBUG) := -DDEBUG
6
7# small core, mostly translating board-specific
8# config declarations into driver model code
9obj-$(CONFIG_SPI_MASTER)		+= spi.o
10obj-$(CONFIG_SPI_SPIDEV)		+= spidev.o
11
12# SPI master controller drivers (bus)
13obj-$(CONFIG_SPI_ALTERA)		+= spi-altera.o
14obj-$(CONFIG_SPI_ATMEL)			+= spi-atmel.o
15obj-$(CONFIG_SPI_ATH79)			+= spi-ath79.o
16obj-$(CONFIG_SPI_AU1550)		+= spi-au1550.o
17obj-$(CONFIG_SPI_BFIN)			+= spi-bfin5xx.o
18obj-$(CONFIG_SPI_BFIN_SPORT)		+= spi-bfin-sport.o
19obj-$(CONFIG_SPI_BITBANG)		+= spi-bitbang.o
20obj-$(CONFIG_SPI_BUTTERFLY)		+= spi-butterfly.o
21obj-$(CONFIG_SPI_COLDFIRE_QSPI)		+= spi-coldfire-qspi.o
22obj-$(CONFIG_SPI_DAVINCI)		+= spi-davinci.o
23obj-$(CONFIG_SPI_DESIGNWARE)		+= spi-dw.o
24obj-$(CONFIG_SPI_DW_MMIO)		+= spi-dw-mmio.o
25obj-$(CONFIG_SPI_DW_PCI)		+= spi-dw-midpci.o
26spi-dw-midpci-objs			:= spi-dw-pci.o spi-dw-mid.o
27obj-$(CONFIG_SPI_EP93XX)		+= spi-ep93xx.o
28obj-$(CONFIG_SPI_FSL_LIB)		+= spi-fsl-lib.o
29obj-$(CONFIG_SPI_FSL_ESPI)		+= spi-fsl-espi.o
30obj-$(CONFIG_SPI_FSL_SPI)		+= spi-fsl-spi.o
31obj-$(CONFIG_SPI_GPIO)			+= spi-gpio.o
32obj-$(CONFIG_SPI_IMX)			+= spi-imx.o
33obj-$(CONFIG_SPI_LM70_LLP)		+= spi-lm70llp.o
34obj-$(CONFIG_SPI_MPC512x_PSC)		+= spi-mpc512x-psc.o
35obj-$(CONFIG_SPI_MPC52xx_PSC)		+= spi-mpc52xx-psc.o
36obj-$(CONFIG_SPI_MPC52xx)		+= spi-mpc52xx.o
37obj-$(CONFIG_SPI_NUC900)		+= spi-nuc900.o
38obj-$(CONFIG_SPI_OC_TINY)		+= spi-oc-tiny.o
39obj-$(CONFIG_SPI_OMAP_UWIRE)		+= spi-omap-uwire.o
40obj-$(CONFIG_SPI_OMAP_100K)		+= spi-omap-100k.o
41obj-$(CONFIG_SPI_OMAP24XX)		+= spi-omap2-mcspi.o
42obj-$(CONFIG_SPI_ORION)			+= spi-orion.o
43obj-$(CONFIG_SPI_PL022)			+= spi-pl022.o
44obj-$(CONFIG_SPI_PPC4xx)		+= spi-ppc4xx.o
45obj-$(CONFIG_SPI_PXA2XX)		+= spi-pxa2xx.o
46obj-$(CONFIG_SPI_PXA2XX_PCI)		+= spi-pxa2xx-pci.o
47obj-$(CONFIG_SPI_S3C24XX)		+= spi-s3c24xx-hw.o
48spi-s3c24xx-hw-y			:= spi-s3c24xx.o
49spi-s3c24xx-hw-$(CONFIG_SPI_S3C24XX_FIQ) += spi-s3c24xx-fiq.o
50obj-$(CONFIG_SPI_S3C64XX)		+= spi-s3c64xx.o
51obj-$(CONFIG_SPI_SH)			+= spi-sh.o
52obj-$(CONFIG_SPI_SH_MSIOF)		+= spi-sh-msiof.o
53obj-$(CONFIG_SPI_SH_SCI)		+= spi-sh-sci.o
54obj-$(CONFIG_SPI_STMP3XXX)		+= spi-stmp.o
55obj-$(CONFIG_SPI_TEGRA)			+= spi-tegra.o
56obj-$(CONFIG_SPI_TI_SSP)		+= spi-ti-ssp.o
57obj-$(CONFIG_SPI_TLE62X0)		+= spi-tle62x0.o
58obj-$(CONFIG_SPI_TOPCLIFF_PCH)		+= spi-topcliff-pch.o
59obj-$(CONFIG_SPI_TXX9)			+= spi-txx9.o
60obj-$(CONFIG_SPI_XILINX)		+= spi-xilinx.o
61
62