xref: /linux/drivers/spi/Makefile (revision 0dd9ac63ce26ec87b080ca9c3e6efed33c23ace6)
1#
2# Makefile for kernel SPI drivers.
3#
4
5ifeq ($(CONFIG_SPI_DEBUG),y)
6EXTRA_CFLAGS += -DDEBUG
7endif
8
9# small core, mostly translating board-specific
10# config declarations into driver model code
11obj-$(CONFIG_SPI_MASTER)		+= spi.o
12
13# SPI master controller drivers (bus)
14obj-$(CONFIG_SPI_ATMEL)			+= atmel_spi.o
15obj-$(CONFIG_SPI_BFIN)			+= spi_bfin5xx.o
16obj-$(CONFIG_SPI_BITBANG)		+= spi_bitbang.o
17obj-$(CONFIG_SPI_AU1550)		+= au1550_spi.o
18obj-$(CONFIG_SPI_BUTTERFLY)		+= spi_butterfly.o
19obj-$(CONFIG_SPI_COLDFIRE_QSPI)		+= coldfire_qspi.o
20obj-$(CONFIG_SPI_DAVINCI)		+= davinci_spi.o
21obj-$(CONFIG_SPI_DESIGNWARE)		+= dw_spi.o
22obj-$(CONFIG_SPI_DW_PCI)		+= dw_spi_pci.o
23obj-$(CONFIG_SPI_DW_MMIO)		+= dw_spi_mmio.o
24obj-$(CONFIG_SPI_EP93XX)		+= ep93xx_spi.o
25obj-$(CONFIG_SPI_GPIO)			+= spi_gpio.o
26obj-$(CONFIG_SPI_IMX)			+= spi_imx.o
27obj-$(CONFIG_SPI_LM70_LLP)		+= spi_lm70llp.o
28obj-$(CONFIG_SPI_PXA2XX)		+= pxa2xx_spi.o
29obj-$(CONFIG_SPI_OMAP_UWIRE)		+= omap_uwire.o
30obj-$(CONFIG_SPI_OMAP24XX)		+= omap2_mcspi.o
31obj-$(CONFIG_SPI_OMAP_100K)		+= omap_spi_100k.o
32obj-$(CONFIG_SPI_ORION)			+= orion_spi.o
33obj-$(CONFIG_SPI_PL022)			+= amba-pl022.o
34obj-$(CONFIG_SPI_MPC512x_PSC)		+= mpc512x_psc_spi.o
35obj-$(CONFIG_SPI_MPC52xx_PSC)		+= mpc52xx_psc_spi.o
36obj-$(CONFIG_SPI_MPC52xx)		+= mpc52xx_spi.o
37obj-$(CONFIG_SPI_MPC8xxx)		+= spi_mpc8xxx.o
38obj-$(CONFIG_SPI_PPC4xx)		+= spi_ppc4xx.o
39obj-$(CONFIG_SPI_S3C24XX_GPIO)		+= spi_s3c24xx_gpio.o
40obj-$(CONFIG_SPI_S3C24XX)		+= spi_s3c24xx_hw.o
41obj-$(CONFIG_SPI_S3C64XX)		+= spi_s3c64xx.o
42obj-$(CONFIG_SPI_TXX9)			+= spi_txx9.o
43obj-$(CONFIG_SPI_XILINX)		+= xilinx_spi.o
44obj-$(CONFIG_SPI_XILINX_OF)		+= xilinx_spi_of.o
45obj-$(CONFIG_SPI_XILINX_PLTFM)		+= xilinx_spi_pltfm.o
46obj-$(CONFIG_SPI_SH_SCI)		+= spi_sh_sci.o
47obj-$(CONFIG_SPI_SH_MSIOF)		+= spi_sh_msiof.o
48obj-$(CONFIG_SPI_STMP3XXX)		+= spi_stmp.o
49obj-$(CONFIG_SPI_NUC900)		+= spi_nuc900.o
50
51# special build for s3c24xx spi driver with fiq support
52spi_s3c24xx_hw-y			:= spi_s3c24xx.o
53spi_s3c24xx_hw-$(CONFIG_SPI_S3C24XX_FIQ) += spi_s3c24xx_fiq.o
54
55# 	... add above this line ...
56
57# SPI protocol drivers (device/link on bus)
58obj-$(CONFIG_SPI_SPIDEV)	+= spidev.o
59obj-$(CONFIG_SPI_TLE62X0)	+= tle62x0.o
60# 	... add above this line ...
61
62# SPI slave controller drivers (upstream link)
63# 	... add above this line ...
64
65# SPI slave drivers (protocol for that link)
66# 	... add above this line ...
67