aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-2.6.27
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-03-08 15:27:46 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-03-08 15:27:46 +0000
commitae1ed9b7f40518eb1f0af60f8d9f5f2f2894f6b7 (patch)
tree2ef6d1da61ef35831cbfc41238f2dd20a8c1e74f /target/linux/brcm63xx/patches-2.6.27
parent871b0d6feda6b8b975def158527d2d755fe09549 (diff)
downloadupstream-ae1ed9b7f40518eb1f0af60f8d9f5f2f2894f6b7.tar.gz
upstream-ae1ed9b7f40518eb1f0af60f8d9f5f2f2894f6b7.tar.bz2
upstream-ae1ed9b7f40518eb1f0af60f8d9f5f2f2894f6b7.zip
add bcm63xx_spi based on reading shared/opensource/flash/spiflash.c from the consumer releases, needs testing
SVN-Revision: 14793
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.27')
-rw-r--r--target/linux/brcm63xx/patches-2.6.27/050-spi.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.27/050-spi.patch b/target/linux/brcm63xx/patches-2.6.27/050-spi.patch
new file mode 100644
index 0000000000..7dea3172c9
--- /dev/null
+++ b/target/linux/brcm63xx/patches-2.6.27/050-spi.patch
@@ -0,0 +1,26 @@
+--- a/drivers/spi/Kconfig 2009-03-06 02:24:35.000000000 +0100
++++ b/drivers/spi/Kconfig 2009-03-06 02:25:01.000000000 +0100
+@@ -217,6 +217,13 @@
+ 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 2009-03-06 02:25:07.000000000 +0100
++++ b/drivers/spi/Makefile 2009-03-06 02:24:13.000000000 +0100
+@@ -30,6 +30,7 @@
+ 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)