Root/target/linux/ar71xx/patches-2.6.39/152-rb4xx-spi-driver.patch

1--- a/drivers/spi/Kconfig
2+++ b/drivers/spi/Kconfig
3@@ -317,6 +317,12 @@ config SPI_PXA2XX
4 config SPI_PXA2XX_PCI
5     def_bool SPI_PXA2XX && X86_32 && PCI
6 
7+config SPI_RB4XX
8+ tristate "Mikrotik RB4XX SPI master"
9+ depends on SPI_MASTER && AR71XX_MACH_RB4XX
10+ help
11+ SPI controller driver for the Mikrotik RB4xx series boards.
12+
13 config SPI_S3C24XX
14     tristate "Samsung S3C24XX series SPI"
15     depends on ARCH_S3C2410 && EXPERIMENTAL
16--- a/drivers/spi/Makefile
17+++ b/drivers/spi/Makefile
18@@ -56,6 +56,7 @@ obj-$(CONFIG_SPI_SH_SCI) += spi_sh_sci.
19 obj-$(CONFIG_SPI_SH_MSIOF) += spi_sh_msiof.o
20 obj-$(CONFIG_SPI_STMP3XXX) += spi_stmp.o
21 obj-$(CONFIG_SPI_NUC900) += spi_nuc900.o
22+obj-$(CONFIG_SPI_RB4XX) += rb4xx_spi.o
23 
24 # special build for s3c24xx spi driver with fiq support
25 spi_s3c24xx_hw-y := spi_s3c24xx.o
26

Archive Download this file



interactive