Skip to content

Commit

Permalink
omap3: beagle: Use GPTIMERi 1 for clockevents
Browse files Browse the repository at this point in the history
The current selection of the GPTIMER on was result of
a hardware issue in early versions of the Beagleboards
(Ax and B1 thru B4). [1] [2]

Its been long since the hardware issue has been fixed.
This patch uses GPTIMER 1 for all newer board revisions
incl. Beagleboard XM.

 [1] http://thread.gmane.org/gmane.comp.hardware.beagleboard.general/91
 [2] Errata torvalds#7 at http://elinux.org/BeagleBoard#Errata

Signed-off-by: Sanjeev Premi <[email protected]>
Cc: Paul Walmsley <[email protected]>
Reviewed-by: Paul Walmsley <[email protected]>
  • Loading branch information
Sanjeev Premi authored and Sriramakrishnan A G committed Jul 5, 2011
1 parent cb6a098 commit 780f86e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion arch/arm/mach-omap2/board-omap3beagle.c
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,10 @@ static void __init omap3_beagle_init_irq(void)
omap_init_irq();
gpmc_init();
#ifdef CONFIG_OMAP_32K_TIMER
omap2_gp_clockevent_set_gptimer(12);
if (omap3_beagle_version == OMAP3BEAGLE_BOARD_AXBX)
omap2_gp_clockevent_set_gptimer(12);
else
omap2_gp_clockevent_set_gptimer(1);
#endif
}

Expand Down

0 comments on commit 780f86e

Please sign in to comment.