[PATCH 49/90] ARM: OMAP: update board 2430 file for TWL PIH interrupts

Tony Lindgren
2007-04-04T18:12:05Z

From: Syed Mohammed Khasim <x0khasim@ti.com>

This patch updates the board-2430sdp.h for TWL PIH interrupts.

Signed-off-by: Syed Mohammed Khasim <x0khasim@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
---
include/asm-arm/arch-omap/board-2430sdp.h | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/include/asm-arm/arch-omap/board-2430sdp.h b/include/asm-arm/arch-omap/board-2430sdp.h
index 6749ad7..e9c65ce 100644
--- a/include/asm-arm/arch-omap/board-2430sdp.h
+++ b/include/asm-arm/arch-omap/board-2430sdp.h
@@ -34,8 +34,11 @@
#define OMAP24XX_ETHR_GPIO_IRQ 149
#define SDP2430_CS0_BASE 0x04000000

-/*
- * Just a place holder, need to add more
- */
+#define TWL4030_IRQNUM INT_24XX_SYS_NIRQ
+
+/* TWL4030 Primary Interrupt Handler (PIH) interrupts */
+#define IH_TWL4030_BASE IH_BOARD_BASE
+#define IH_TWL4030_END (IH_TWL4030_BASE+8)
+#define NR_IRQS (IH_TWL4030_END)

-#endif /* __ASM_ARCH_OMAP_2430SDP_H */
+#endif /* __ASM_ARCH_OMAP_2430SDP_H */
--
1.4.4.2