aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/irq.c
diff options
context:
space:
mode:
authorHemant Pedanekar <hemantp@ti.com>2011-02-16 11:31:39 -0500
committerTony Lindgren <tony@atomide.com>2011-02-16 11:31:39 -0500
commit01001712c96f82e6317b1e09729d8fc4bcc66957 (patch)
treeb75376536771c5dd5398733b82a509bcacba8bc8 /arch/arm/mach-omap2/irq.c
parent4bd7be22f4b25fc87e236a29da3a625621699074 (diff)
TI816X: Update common OMAP machine specific sources
This patch updates the common machine specific source files with support for TI816X. Signed-off-by: Hemant Pedanekar <hemantp@ti.com> Reviewed-by: Kevin Hilman <khilman@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/irq.c')
-rw-r--r--arch/arm/mach-omap2/irq.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/irq.c b/arch/arm/mach-omap2/irq.c
index 23049c487c47..0b9a23d721f4 100644
--- a/arch/arm/mach-omap2/irq.c
+++ b/arch/arm/mach-omap2/irq.c
@@ -110,7 +110,7 @@ static void omap_mask_irq(struct irq_data *d)
110 unsigned int irq = d->irq; 110 unsigned int irq = d->irq;
111 int offset = irq & (~(IRQ_BITS_PER_REG - 1)); 111 int offset = irq & (~(IRQ_BITS_PER_REG - 1));
112 112
113 if (cpu_is_omap34xx()) { 113 if (cpu_is_omap34xx() && !cpu_is_ti816x()) {
114 int spurious = 0; 114 int spurious = 0;
115 115
116 /* 116 /*
@@ -205,6 +205,9 @@ void __init omap_init_irq(void)
205 205
206 BUG_ON(!base); 206 BUG_ON(!base);
207 207
208 if (cpu_is_ti816x())
209 bank->nr_irqs = 128;
210
208 /* Static mapping, never released */ 211 /* Static mapping, never released */
209 bank->base_reg = ioremap(base, SZ_4K); 212 bank->base_reg = ioremap(base, SZ_4K);
210 if (!bank->base_reg) { 213 if (!bank->base_reg) {