aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-01-18 04:42:26 -0500
committerVineet Gupta <vgupta@synopsys.com>2013-02-15 12:46:15 -0500
commitdecae9d3e87b5454b3b190d8e00b063175a3a091 (patch)
treec4bff4f64a275269f856fcddef662a14aa5e6490
parente97ff121ae61ba80e41b2cc3bd6dfe9886d22505 (diff)
ARC: [Review] Multi-platform image #5: NR_IRQS defined by ARC core
For now this will suffice for all platforms, later exotic ones needs to get this from DeviceTree Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Cc: Arnd Bergmann <arnd@arndb.de>
-rw-r--r--arch/arc/include/asm/irq.h2
-rw-r--r--arch/arc/plat-arcfpga/include/plat/irq.h6
2 files changed, 2 insertions, 6 deletions
diff --git a/arch/arc/include/asm/irq.h b/arch/arc/include/asm/irq.h
index 20aaab8971ad..4c588f9820cf 100644
--- a/arch/arc/include/asm/irq.h
+++ b/arch/arc/include/asm/irq.h
@@ -9,6 +9,8 @@
9#ifndef __ASM_ARC_IRQ_H 9#ifndef __ASM_ARC_IRQ_H
10#define __ASM_ARC_IRQ_H 10#define __ASM_ARC_IRQ_H
11 11
12#define NR_IRQS 32
13
12/* Platform Independent IRQs */ 14/* Platform Independent IRQs */
13#define TIMER0_IRQ 3 15#define TIMER0_IRQ 3
14#define TIMER1_IRQ 4 16#define TIMER1_IRQ 4
diff --git a/arch/arc/plat-arcfpga/include/plat/irq.h b/arch/arc/plat-arcfpga/include/plat/irq.h
index 6515df232f21..41e335670f60 100644
--- a/arch/arc/plat-arcfpga/include/plat/irq.h
+++ b/arch/arc/plat-arcfpga/include/plat/irq.h
@@ -12,12 +12,6 @@
12#ifndef __PLAT_IRQ_H 12#ifndef __PLAT_IRQ_H
13#define __PLAT_IRQ_H 13#define __PLAT_IRQ_H
14 14
15#ifdef CONFIG_SMP
16#define NR_IRQS 32
17#else
18#define NR_IRQS 16
19#endif
20
21#define UART0_IRQ 5 15#define UART0_IRQ 5
22#define UART1_IRQ 10 16#define UART1_IRQ 10
23#define UART2_IRQ 11 17#define UART2_IRQ 11