Skip to content

Commit

Permalink
[ARM] mmp2: add support for board IRQs
Browse files Browse the repository at this point in the history
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
  • Loading branch information
Haojian Zhuang authored and Eric Miao committed Mar 1, 2010
1 parent 0913b86 commit ce0ac42
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion arch/arm/mach-mmp/include/mach/irqs.h
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,10 @@
#define IRQ_GPIO_NUM 192
#define IRQ_GPIO(x) (IRQ_GPIO_START + (x))

#define NR_IRQS (IRQ_GPIO_START + IRQ_GPIO_NUM)
/* Board IRQ - 64 by default, increase if not enough */
#define IRQ_BOARD_START (IRQ_GPIO_START + IRQ_GPIO_NUM)
#define IRQ_BOARD_END (IRQ_BOARD_START + 64)

#define NR_IRQS (IRQ_BOARD_END)

#endif /* __ASM_MACH_IRQS_H */

0 comments on commit ce0ac42

Please sign in to comment.