diff options
author | John Crispin <blogic@openwrt.org> | 2011-06-08 17:57:55 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2011-06-08 17:57:55 +0000 |
commit | e558a1dec9373aca5c3cc204174cb365c84f2af2 (patch) | |
tree | ffd7da1e43d27e2a2244b1a7c54a3dd1307e6057 /target/linux/lantiq/patches-2.6.39/410-spi2.patch | |
parent | 3c9611d54fec763c83f060574b31e417b1f0e66b (diff) | |
download | upstream-e558a1dec9373aca5c3cc204174cb365c84f2af2.tar.gz upstream-e558a1dec9373aca5c3cc204174cb365c84f2af2.tar.bz2 upstream-e558a1dec9373aca5c3cc204174cb365c84f2af2.zip |
[lantiq]
* fixes spi flash for ar9
* adds limited support for netgear dgn3500 (enough for others to start working with)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27137 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/patches-2.6.39/410-spi2.patch')
-rw-r--r-- | target/linux/lantiq/patches-2.6.39/410-spi2.patch | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/target/linux/lantiq/patches-2.6.39/410-spi2.patch b/target/linux/lantiq/patches-2.6.39/410-spi2.patch index e37790a81e..ee07188ed2 100644 --- a/target/linux/lantiq/patches-2.6.39/410-spi2.patch +++ b/target/linux/lantiq/patches-2.6.39/410-spi2.patch @@ -10,13 +10,13 @@ Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com> --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig -@@ -193,6 +193,14 @@ config SPI_IMX +@@ -193,6 +193,14 @@ This enables using the Freescale i.MX SPI controllers in master mode. +config SPI_LANTIQ + tristate "Lantiq SoC SPI controller" -+ depends on SOC_LANTIQ_XWAY ++ depends on SOC_TYPE_XWAY + select SPI_BITBANG + help + This driver supports the Lantiq SoC SPI controller in master @@ -27,7 +27,7 @@ Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com> depends on PARPORT && EXPERIMENTAL --- a/drivers/spi/Makefile +++ b/drivers/spi/Makefile -@@ -26,6 +26,7 @@ obj-$(CONFIG_SPI_EP93XX) += ep93xx_spi. +@@ -26,6 +26,7 @@ obj-$(CONFIG_SPI_GPIO) += spi_gpio.o obj-$(CONFIG_SPI_GPIO_OLD) += spi_gpio_old.o obj-$(CONFIG_SPI_IMX) += spi_imx.o @@ -37,7 +37,7 @@ Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com> obj-$(CONFIG_SPI_PXA2XX_PCI) += pxa2xx_spi_pci.o --- /dev/null +++ b/drivers/spi/spi_lantiq.c -@@ -0,0 +1,1063 @@ +@@ -0,0 +1,1062 @@ +/* + * Lantiq SoC SPI controller + * @@ -64,8 +64,7 @@ Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com> +#include <linux/spi/spi.h> +#include <linux/spi/spi_bitbang.h> + -+#include <xway.h> -+#include <xway_irq.h> ++#include <lantiq_soc.h> +#include <lantiq_platform.h> + +#define LTQ_SPI_CLC 0x00 /* Clock control */ |