aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-2.6.28/050-spi.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-07-30 21:29:25 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-07-30 21:29:25 +0000
commit35815395ca87083ed5be0e3bfc0b1a3fa20a2052 (patch)
tree6f4d333ec4e5049c134d0144bf438d15b506c822 /target/linux/brcm63xx/patches-2.6.28/050-spi.patch
parent4876f4371d60ecc6d4e42e91f05a2cfb6d284893 (diff)
downloadmaster-187ad058-35815395ca87083ed5be0e3bfc0b1a3fa20a2052.tar.gz
master-187ad058-35815395ca87083ed5be0e3bfc0b1a3fa20a2052.tar.bz2
master-187ad058-35815395ca87083ed5be0e3bfc0b1a3fa20a2052.zip
[brcm63xx] add experimental support for 2.6.28.10, tested on bcm6338
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17054 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.28/050-spi.patch')
-rw-r--r--target/linux/brcm63xx/patches-2.6.28/050-spi.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.28/050-spi.patch b/target/linux/brcm63xx/patches-2.6.28/050-spi.patch
new file mode 100644
index 0000000000..64eb6a7d21
--- /dev/null
+++ b/target/linux/brcm63xx/patches-2.6.28/050-spi.patch
@@ -0,0 +1,26 @@
+--- a/drivers/spi/Kconfig
++++ b/drivers/spi/Kconfig
+@@ -229,6 +229,13 @@ config SPI_XILINX
+ See the "OPB Serial Peripheral Interface (SPI) (v1.00e)"
+ Product Specification document (DS464) for hardware details.
+
++config SPI_BCM63XX
++ tristate "Broadcom BCM63xx SPI controller"
++ depends on BCM63XX
++ select SPI_BITBANG
++ help
++ SPI driver for the Broadcom BCM63xx SPI controller.
++
+ #
+ # Add new SPI master controllers in alphabetical order above this line
+ #
+--- a/drivers/spi/Makefile
++++ b/drivers/spi/Makefile
+@@ -31,6 +31,7 @@ obj-$(CONFIG_SPI_S3C24XX) += spi_s3c24x
+ obj-$(CONFIG_SPI_TXX9) += spi_txx9.o
+ obj-$(CONFIG_SPI_XILINX) += xilinx_spi.o
+ obj-$(CONFIG_SPI_SH_SCI) += spi_sh_sci.o
++obj-$(CONFIG_SPI_BCM63XX) += bcm63xx_spi.o
+ # ... add above this line ...
+
+ # SPI protocol drivers (device/link on bus)