ixp4xx: remove linux 3.10 support
[openwrt.git] / target / linux / brcm2708 / patches-3.10 / 0192-mach-bcm2708-Reserve-64-IRQs-for-peripherals.patch
1 From 4f11f18f656b0c3538bb92cffcea62401f351660 Mon Sep 17 00:00:00 2001
2 From: notro <notro@tronnes.org>
3 Date: Sun, 20 Apr 2014 18:51:40 +0200
4 Subject: [PATCH 192/196] mach-bcm2708: Reserve 64 IRQs for peripherals
5
6 The Raspberry Pi does not support dynamic IRQs.  Some peripherals, such
7 as the STMPE, add IRQ controllers.  If there aren't any reserved IRQs, then
8 these peripherals will just fail.
9
10 Signed-off-by: Sean Cross <xobs@kosagi.com>
11 Signed-off-by: Noralf Tronnes <notro@tronnes.org>
12 ---
13  arch/arm/mach-bcm2708/include/mach/irqs.h | 3 ++-
14  1 file changed, 2 insertions(+), 1 deletion(-)
15
16 diff --git a/arch/arm/mach-bcm2708/include/mach/irqs.h b/arch/arm/mach-bcm2708/include/mach/irqs.h
17 index 9aaedf1..1947d91 100644
18 --- a/arch/arm/mach-bcm2708/include/mach/irqs.h
19 +++ b/arch/arm/mach-bcm2708/include/mach/irqs.h
20 @@ -192,8 +192,9 @@
21  #define HARD_IRQS            (64 + 21)
22  #define FIQ_IRQS              (64 + 21)
23  #define GPIO_IRQS            (32*5)
24 +#define SPARE_IRQS             (64)
25  
26 -#define NR_IRQS                      HARD_IRQS+FIQ_IRQS+GPIO_IRQS
27 +#define NR_IRQS                      HARD_IRQS+FIQ_IRQS+GPIO_IRQS+SPARE_IRQS
28  
29  
30  #endif /* _BCM2708_IRQS_H_ */
31 -- 
32 1.9.1
33