ar71xx: add initial support for 3.2
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-3.2 / 432-spi-rb4xx-spi-driver.patch
1 --- a/drivers/spi/Kconfig
2 +++ b/drivers/spi/Kconfig
3 @@ -289,6 +289,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 && ATH79_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 @@ -45,6 +45,7 @@ obj-$(CONFIG_SPI_PL022) += spi-pl022.o
19 obj-$(CONFIG_SPI_PPC4xx) += spi-ppc4xx.o
20 obj-$(CONFIG_SPI_PXA2XX) += spi-pxa2xx.o
21 obj-$(CONFIG_SPI_PXA2XX_PCI) += spi-pxa2xx-pci.o
22 +obj-$(CONFIG_SPI_RB4XX) += spi-rb4xx.o
23 obj-$(CONFIG_SPI_S3C24XX) += spi-s3c24xx-hw.o
24 spi-s3c24xx-hw-y := spi-s3c24xx.o
25 spi-s3c24xx-hw-$(CONFIG_SPI_S3C24XX_FIQ) += spi-s3c24xx-fiq.o