xref: /openbmc/linux/drivers/spi/Makefile (revision f15cbe6f)
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_IMX)			+= spi_imx.o
20obj-$(CONFIG_SPI_LM70_LLP)		+= spi_lm70llp.o
21obj-$(CONFIG_SPI_PXA2XX)		+= pxa2xx_spi.o
22obj-$(CONFIG_SPI_OMAP_UWIRE)		+= omap_uwire.o
23obj-$(CONFIG_SPI_OMAP24XX)		+= omap2_mcspi.o
24obj-$(CONFIG_SPI_MPC52xx_PSC)		+= mpc52xx_psc_spi.o
25obj-$(CONFIG_SPI_MPC83xx)		+= spi_mpc83xx.o
26obj-$(CONFIG_SPI_S3C24XX_GPIO)		+= spi_s3c24xx_gpio.o
27obj-$(CONFIG_SPI_S3C24XX)		+= spi_s3c24xx.o
28obj-$(CONFIG_SPI_TXX9)			+= spi_txx9.o
29obj-$(CONFIG_SPI_XILINX)		+= xilinx_spi.o
30obj-$(CONFIG_SPI_SH_SCI)		+= spi_sh_sci.o
31# 	... add above this line ...
32
33# SPI protocol drivers (device/link on bus)
34obj-$(CONFIG_SPI_AT25)		+= at25.o
35obj-$(CONFIG_SPI_SPIDEV)	+= spidev.o
36obj-$(CONFIG_SPI_TLE62X0)	+= tle62x0.o
37# 	... add above this line ...
38
39# SPI slave controller drivers (upstream link)
40# 	... add above this line ...
41
42# SPI slave drivers (protocol for that link)
43# 	... add above this line ...
44