[brcm63xx] add bcm63xx_spi based on reading shared/opensource/flash/spiflash.c from...
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-2.6.27 / 050-spi.patch
1 --- a/drivers/spi/Kconfig 2009-03-06 02:24:35.000000000 +0100
2 +++ b/drivers/spi/Kconfig 2009-03-06 02:25:01.000000000 +0100
3 @@ -217,6 +217,13 @@
4 See the "OPB Serial Peripheral Interface (SPI) (v1.00e)"
5 Product Specification document (DS464) for hardware details.
6
7 +config SPI_BCM63XX
8 + tristate "Broadcom BCM63xx SPI controller"
9 + depends on BCM63XX
10 + select SPI_BITBANG
11 + help
12 + SPI driver for the Broadcom BCM63xx SPI controller.
13 +
14 #
15 # Add new SPI master controllers in alphabetical order above this line
16 #
17 --- a/drivers/spi/Makefile 2009-03-06 02:25:07.000000000 +0100
18 +++ b/drivers/spi/Makefile 2009-03-06 02:24:13.000000000 +0100
19 @@ -30,6 +30,7 @@
20 obj-$(CONFIG_SPI_TXX9) += spi_txx9.o
21 obj-$(CONFIG_SPI_XILINX) += xilinx_spi.o
22 obj-$(CONFIG_SPI_SH_SCI) += spi_sh_sci.o
23 +obj-$(CONFIG_SPI_BCM63XX) += bcm63xx_spi.o
24 # ... add above this line ...
25
26 # SPI protocol drivers (device/link on bus)