summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include/plat/irqs.h
diff options
context:
space:
mode:
authorSukumar Ghorai <s-ghorai@ti.com>2011-01-28 15:42:05 +0530
committerTony Lindgren <tony@atomide.com>2011-02-17 15:32:53 -0800
commitdb97eb7dfe13f6c04f0a0e77c32e2691f563ab8b (patch)
tree116c66fc27f6f493fca9def7414366fd30b23343 /arch/arm/plat-omap/include/plat/irqs.h
parent1b0b323c70cd5fdca967d89ed3a03dfebd84ada7 (diff)
downloadop-kernel-dev-db97eb7dfe13f6c04f0a0e77c32e2691f563ab8b.zip
op-kernel-dev-db97eb7dfe13f6c04f0a0e77c32e2691f563ab8b.tar.gz
omap: gpmc: enable irq mode in gpmc
add support the irq mode in GPMC. gpmc_init() function move after omap_init_irq() as it has dependecy on irq. Signed-off-by: Sukumar Ghorai <s-ghorai@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat/irqs.h')
-rw-r--r--arch/arm/plat-omap/include/plat/irqs.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/include/plat/irqs.h b/arch/arm/plat-omap/include/plat/irqs.h
index 2910de9..1b91168 100644
--- a/arch/arm/plat-omap/include/plat/irqs.h
+++ b/arch/arm/plat-omap/include/plat/irqs.h
@@ -318,6 +318,7 @@
#define INT_34XX_PRCM_MPU_IRQ 11
#define INT_34XX_MCBSP1_IRQ 16
#define INT_34XX_MCBSP2_IRQ 17
+#define INT_34XX_GPMC_IRQ 20
#define INT_34XX_MCBSP3_IRQ 22
#define INT_34XX_MCBSP4_IRQ 23
#define INT_34XX_CAM_IRQ 24
@@ -411,7 +412,13 @@
#define TWL_IRQ_END TWL6030_IRQ_END
#endif
-#define NR_IRQS TWL_IRQ_END
+/* GPMC related */
+#define OMAP_GPMC_IRQ_BASE (TWL_IRQ_END)
+#define OMAP_GPMC_NR_IRQS 7
+#define OMAP_GPMC_IRQ_END (OMAP_GPMC_IRQ_BASE + OMAP_GPMC_NR_IRQS)
+
+
+#define NR_IRQS OMAP_GPMC_IRQ_END
#define OMAP_IRQ_BIT(irq) (1 << ((irq) % 32))
OpenPOWER on IntegriCloud