aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar7/patches-2.6.37/100-titan-gpio-size.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-05-05 17:32:43 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-05-05 17:32:43 +0000
commit817b19be2928ac6b650dc3891c9be86f5c0b9c91 (patch)
treeacf6ab43bb9503c4a281901c1ccb83c7ba6668cc /target/linux/ar7/patches-2.6.37/100-titan-gpio-size.patch
parent7bf954fcec56f7ff1d5c5bf4b5c6c490221ecee5 (diff)
downloadupstream-817b19be2928ac6b650dc3891c9be86f5c0b9c91.tar.gz
upstream-817b19be2928ac6b650dc3891c9be86f5c0b9c91.tar.bz2
upstream-817b19be2928ac6b650dc3891c9be86f5c0b9c91.zip
ar7: remove 2.6.37 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31617 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar7/patches-2.6.37/100-titan-gpio-size.patch')
-rw-r--r--target/linux/ar7/patches-2.6.37/100-titan-gpio-size.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/target/linux/ar7/patches-2.6.37/100-titan-gpio-size.patch b/target/linux/ar7/patches-2.6.37/100-titan-gpio-size.patch
deleted file mode 100644
index ea1aaf093f..0000000000
--- a/target/linux/ar7/patches-2.6.37/100-titan-gpio-size.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-commit 3e9957b4866f3767f19bf0e543b322ad7906c564
-Author: Florian Fainelli <florian@openwrt.org>
-Date: Fri May 13 17:41:21 2011 +0200
-
- MIPS: AR7: Fix GPIO register size for Titan variant.
-
- The 'size' variable contains the correct register size for both AR7
- and Titan, but we never used it to ioremap the correct register size.
- This problem only shows up on Titan.
-
- [ralf@linux-mips.org: Fixed the fix. The original patch as in patchwork
- recognizes the problem correctly then fails to fix it ...]
-
- Reported-by: Alexander Clouter <alex@digriz.org.uk>
- Signed-off-by: Florian Fainelli <florian@openwrt.org>
- Patchwork: https://patchwork.linux-mips.org/patch/2380/
- Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-
-diff --git a/arch/mips/ar7/gpio.c b/arch/mips/ar7/gpio.c
-index 425dfa5..bb571bc 100644
---- a/arch/mips/ar7/gpio.c
-+++ b/arch/mips/ar7/gpio.c
-@@ -325,9 +325,7 @@ int __init ar7_gpio_init(void)
- size = 0x1f;
- }
-
-- gpch->regs = ioremap_nocache(AR7_REGS_GPIO,
-- AR7_REGS_GPIO + 0x10);
--
-+ gpch->regs = ioremap_nocache(AR7_REGS_GPIO, size);
- if (!gpch->regs) {
- printk(KERN_ERR "%s: failed to ioremap regs\n",
- gpch->chip.label);