diff options
author | Tony Lindgren <tony@atomide.com> | 2011-03-29 18:54:48 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2011-06-20 04:25:39 -0400 |
commit | e74984e46e899c22137a385869fb4f3ae756e3df (patch) | |
tree | 2f40fe8d66afb676fefcf307b8df36b734c28ba3 /arch/arm/mach-omap2/board-igep0020.c | |
parent | 741e3a89dee8a17aa9373975d51f130a65e1683d (diff) |
omap: Set separate timer init functions to avoid cpu_is_omap tests
This is needed for the following patches so we can initialize the
rest of the hardware timers later on.
As with the init_irq calls, there's no need to do cpu_is_omap calls
during the timer init as we only care about the major omap generation.
This means that we can initialize the sys_timer with the .timer
entries alone.
Note that for now we just set stubs for the various sys_timer entries
that will get populated in a later patch. The following patches will
also remove the omap_dm_timer_init calls and change the init for the
rest of the hardware timers to happen with an arch_initcall.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-igep0020.c')
-rw-r--r-- | arch/arm/mach-omap2/board-igep0020.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/board-igep0020.c b/arch/arm/mach-omap2/board-igep0020.c index 359b765483f5..381a27c615b7 100644 --- a/arch/arm/mach-omap2/board-igep0020.c +++ b/arch/arm/mach-omap2/board-igep0020.c | |||
@@ -705,7 +705,7 @@ MACHINE_START(IGEP0020, "IGEP v2 board") | |||
705 | .init_early = igep_init_early, | 705 | .init_early = igep_init_early, |
706 | .init_irq = omap3_init_irq, | 706 | .init_irq = omap3_init_irq, |
707 | .init_machine = igep_init, | 707 | .init_machine = igep_init, |
708 | .timer = &omap_timer, | 708 | .timer = &omap3_timer, |
709 | MACHINE_END | 709 | MACHINE_END |
710 | 710 | ||
711 | MACHINE_START(IGEP0030, "IGEP OMAP3 module") | 711 | MACHINE_START(IGEP0030, "IGEP OMAP3 module") |
@@ -715,5 +715,5 @@ MACHINE_START(IGEP0030, "IGEP OMAP3 module") | |||
715 | .init_early = igep_init_early, | 715 | .init_early = igep_init_early, |
716 | .init_irq = omap3_init_irq, | 716 | .init_irq = omap3_init_irq, |
717 | .init_machine = igep_init, | 717 | .init_machine = igep_init, |
718 | .timer = &omap_timer, | 718 | .timer = &omap3_timer, |
719 | MACHINE_END | 719 | MACHINE_END |