diff options
author | Tony Lindgren <tony@atomide.com> | 2008-10-06 08:49:36 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2008-10-06 08:49:36 -0400 |
commit | 646e3ed1a349fbccce651fed2d3987f0e7b0f0f4 (patch) | |
tree | b9c4d52027da1468e52294f3f8db3afb0720c86d /arch/arm/mach-omap2/irq.c | |
parent | fd1dc87ded0f29c1ba1e8da62f03ab0d591d9bdd (diff) |
ARM: OMAP2: Misc updates from linux-omap tree
Misc updates from linux-omap tree, mostly to update common
device initialization and add missing defines from linux-omap
tree. Also some changes to make room for adding 34xx in
following patches.
Note that the I2C resources are now set up in
arch/arm/plat-omap/i2c.c helper, and can be removed
from devices.c.
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.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/arch/arm/mach-omap2/irq.c b/arch/arm/mach-omap2/irq.c index 742bd0070e63..a5c748a4a56d 100644 --- a/arch/arm/mach-omap2/irq.c +++ b/arch/arm/mach-omap2/irq.c | |||
@@ -37,11 +37,9 @@ static struct omap_irq_bank { | |||
37 | } __attribute__ ((aligned(4))) irq_banks[] = { | 37 | } __attribute__ ((aligned(4))) irq_banks[] = { |
38 | { | 38 | { |
39 | /* MPU INTC */ | 39 | /* MPU INTC */ |
40 | .base_reg = IO_ADDRESS(OMAP24XX_IC_BASE), | 40 | .base_reg = 0, |
41 | .nr_irqs = 96, | 41 | .nr_irqs = 96, |
42 | }, { | 42 | }, |
43 | /* XXX: DSP INTC */ | ||
44 | } | ||
45 | }; | 43 | }; |
46 | 44 | ||
47 | /* XXX: FIQ and additional INTC support (only MPU at the moment) */ | 45 | /* XXX: FIQ and additional INTC support (only MPU at the moment) */ |
@@ -118,10 +116,8 @@ void __init omap_init_irq(void) | |||
118 | for (i = 0; i < ARRAY_SIZE(irq_banks); i++) { | 116 | for (i = 0; i < ARRAY_SIZE(irq_banks); i++) { |
119 | struct omap_irq_bank *bank = irq_banks + i; | 117 | struct omap_irq_bank *bank = irq_banks + i; |
120 | 118 | ||
121 | /* XXX */ | 119 | if (cpu_is_omap24xx()) |
122 | if (!bank->base_reg) | 120 | bank->base_reg = IO_ADDRESS(OMAP24XX_IC_BASE); |
123 | continue; | ||
124 | |||
125 | omap_irq_bank_init_one(bank); | 121 | omap_irq_bank_init_one(bank); |
126 | 122 | ||
127 | nr_irqs += bank->nr_irqs; | 123 | nr_irqs += bank->nr_irqs; |