Skip to content

Commit

Permalink
ARC: [Review] Multi-platform image #5: NR_IRQS defined by ARC core
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vineet Gupta committed Feb 15, 2013
1 parent e97ff12 commit decae9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 2 additions & 0 deletions arch/arc/include/asm/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#ifndef __ASM_ARC_IRQ_H
#define __ASM_ARC_IRQ_H

#define NR_IRQS 32

/* Platform Independent IRQs */
#define TIMER0_IRQ 3
#define TIMER1_IRQ 4
Expand Down
6 changes: 0 additions & 6 deletions arch/arc/plat-arcfpga/include/plat/irq.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@
#ifndef __PLAT_IRQ_H
#define __PLAT_IRQ_H

#ifdef CONFIG_SMP
#define NR_IRQS 32
#else
#define NR_IRQS 16
#endif

#define UART0_IRQ 5
#define UART1_IRQ 10
#define UART2_IRQ 11
Expand Down

0 comments on commit decae9d

Please sign in to comment.