aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-3.10/0192-mach-bcm2708-Reserve-64-IRQs-for-peripherals.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2014-09-27 19:10:51 +0000
committerFlorian Fainelli <florian@openwrt.org>2014-09-27 19:10:51 +0000
commitc65ec1aa8fbcbafdc568c4206286ca77f3234caf (patch)
tree563323b952b96b10d5cca5b124de2cd9266259b0 /target/linux/brcm2708/patches-3.10/0192-mach-bcm2708-Reserve-64-IRQs-for-peripherals.patch
parent7771ecddf3b18914aa513ef818042516f61e79a9 (diff)
downloadmaster-187ad058-c65ec1aa8fbcbafdc568c4206286ca77f3234caf.tar.gz
master-187ad058-c65ec1aa8fbcbafdc568c4206286ca77f3234caf.tar.bz2
master-187ad058-c65ec1aa8fbcbafdc568c4206286ca77f3234caf.zip
brcm2708: update 3.10 patches with raspberrypi/rpi-3.10.y of 27 Apr. 2014
Update the 3.10 rasperry patches by rebasing raspberry/rpi-3.10-y against linux-stable/v3.10.49. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42678 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm2708/patches-3.10/0192-mach-bcm2708-Reserve-64-IRQs-for-peripherals.patch')
-rw-r--r--target/linux/brcm2708/patches-3.10/0192-mach-bcm2708-Reserve-64-IRQs-for-peripherals.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-3.10/0192-mach-bcm2708-Reserve-64-IRQs-for-peripherals.patch b/target/linux/brcm2708/patches-3.10/0192-mach-bcm2708-Reserve-64-IRQs-for-peripherals.patch
new file mode 100644
index 0000000000..daf677b3d4
--- /dev/null
+++ b/target/linux/brcm2708/patches-3.10/0192-mach-bcm2708-Reserve-64-IRQs-for-peripherals.patch
@@ -0,0 +1,33 @@
+From 4f11f18f656b0c3538bb92cffcea62401f351660 Mon Sep 17 00:00:00 2001
+From: notro <notro@tronnes.org>
+Date: Sun, 20 Apr 2014 18:51:40 +0200
+Subject: [PATCH 192/196] mach-bcm2708: Reserve 64 IRQs for peripherals
+
+The Raspberry Pi does not support dynamic IRQs. Some peripherals, such
+as the STMPE, add IRQ controllers. If there aren't any reserved IRQs, then
+these peripherals will just fail.
+
+Signed-off-by: Sean Cross <xobs@kosagi.com>
+Signed-off-by: Noralf Tronnes <notro@tronnes.org>
+---
+ arch/arm/mach-bcm2708/include/mach/irqs.h | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/arch/arm/mach-bcm2708/include/mach/irqs.h b/arch/arm/mach-bcm2708/include/mach/irqs.h
+index 9aaedf1..1947d91 100644
+--- a/arch/arm/mach-bcm2708/include/mach/irqs.h
++++ b/arch/arm/mach-bcm2708/include/mach/irqs.h
+@@ -192,8 +192,9 @@
+ #define HARD_IRQS (64 + 21)
+ #define FIQ_IRQS (64 + 21)
+ #define GPIO_IRQS (32*5)
++#define SPARE_IRQS (64)
+
+-#define NR_IRQS HARD_IRQS+FIQ_IRQS+GPIO_IRQS
++#define NR_IRQS HARD_IRQS+FIQ_IRQS+GPIO_IRQS+SPARE_IRQS
+
+
+ #endif /* _BCM2708_IRQS_H_ */
+--
+1.9.1
+