From dcc5e22d87eb62d455f31e8ac36a81f33338f2ab Mon Sep 17 00:00:00 2001 From: blogic Date: Wed, 9 May 2012 12:52:19 +0000 Subject: [lantiq] Drop 2.6.32 support git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31670 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/lantiq/patches-2.6.32/420-spi3.patch | 49 ----------------------- 1 file changed, 49 deletions(-) delete mode 100644 target/linux/lantiq/patches-2.6.32/420-spi3.patch (limited to 'target/linux/lantiq/patches-2.6.32/420-spi3.patch') diff --git a/target/linux/lantiq/patches-2.6.32/420-spi3.patch b/target/linux/lantiq/patches-2.6.32/420-spi3.patch deleted file mode 100644 index 31cf3c1a8..000000000 --- a/target/linux/lantiq/patches-2.6.32/420-spi3.patch +++ /dev/null @@ -1,49 +0,0 @@ -From: Daniel Schwierzeck -Date: Thu, 3 Mar 2011 20:42:26 +0000 (+0100) -Subject: MIPS: lantiq: Add device register helper for SPI controller and devices -X-Git-Url: http://nbd.name/gitweb.cgi?p=lantiq.git;a=commitdiff_plain;h=b35b07062b718ece9b9cb7b23b12d83a087eafb0;hp=653c95b8b9066c9c6ac08bd64d0ceee439e9fd90 - -MIPS: lantiq: Add device register helper for SPI controller and devices - -Signed-off-by: Daniel Schwierzeck ---- - ---- a/arch/mips/lantiq/xway/devices.c -+++ b/arch/mips/lantiq/xway/devices.c -@@ -21,6 +21,7 @@ - #include - #include - #include -+#include - - #include - #include -@@ -119,3 +120,28 @@ - platform_device_register(<q_etop); - } - } -+ -+static struct resource ltq_spi_resources[] = { -+ { -+ .start = LTQ_SSC_BASE_ADDR, -+ .end = LTQ_SSC_BASE_ADDR + LTQ_SSC_SIZE - 1, -+ .flags = IORESOURCE_MEM, -+ }, -+ IRQ_RES(spi_tx, LTQ_SSC_TIR), -+ IRQ_RES(spi_rx, LTQ_SSC_RIR), -+ IRQ_RES(spi_err, LTQ_SSC_EIR), -+}; -+ -+static struct platform_device ltq_spi = { -+ .name = "ltq-spi", -+ .resource = ltq_spi_resources, -+ .num_resources = ARRAY_SIZE(ltq_spi_resources), -+}; -+ -+void __init ltq_register_spi(struct ltq_spi_platform_data *pdata, -+ struct spi_board_info const *info, unsigned n) -+{ -+ spi_register_board_info(info, n); -+ ltq_spi.dev.platform_data = pdata; -+ platform_device_register(<q_spi); -+} -- cgit v1.2.3