diff options
author | Tony Lindgren <tony@atomide.com> | 2011-05-17 06:51:26 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-06-16 08:42:09 -0400 |
commit | 741e3a89dee8a17aa9373975d51f130a65e1683d (patch) | |
tree | 957bb18910ad8412f3f308f18e80aaa37b7bd96a /arch/arm/plat-omap/include/plat | |
parent | 2c53b436a30867eb6b47dd7bab23ba638d1fb0d2 (diff) |
omap: Use separate init_irq functions to avoid cpu_is_omap tests early
This allows us to remove cpu_is_omap calls from init_irq functions.
There should not be any need for cpu_is_omap calls as at this point.
During the timer init we only care about SoC generation, and not about
subrevisions.
The main reason for the patch is that we want to initialize only
minimal omap specific code from the init_early call.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/plat-omap/include/plat')
-rw-r--r-- | arch/arm/plat-omap/include/plat/irqs.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/include/plat/irqs.h b/arch/arm/plat-omap/include/plat/irqs.h index 5a25098ea7ea..c88432005665 100644 --- a/arch/arm/plat-omap/include/plat/irqs.h +++ b/arch/arm/plat-omap/include/plat/irqs.h | |||
@@ -428,7 +428,11 @@ | |||
428 | #define INTCPS_NR_IRQS 96 | 428 | #define INTCPS_NR_IRQS 96 |
429 | 429 | ||
430 | #ifndef __ASSEMBLY__ | 430 | #ifndef __ASSEMBLY__ |
431 | extern void omap_init_irq(void); | 431 | extern void __iomem *omap_irq_base; |
432 | void omap1_init_irq(void); | ||
433 | void omap2_init_irq(void); | ||
434 | void omap3_init_irq(void); | ||
435 | void ti816x_init_irq(void); | ||
432 | extern int omap_irq_pending(void); | 436 | extern int omap_irq_pending(void); |
433 | void omap_intc_save_context(void); | 437 | void omap_intc_save_context(void); |
434 | void omap_intc_restore_context(void); | 438 | void omap_intc_restore_context(void); |