diff options
author | Rajendra Nayak <rnayak@ti.com> | 2014-02-07 11:21:26 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2014-03-01 00:33:27 +0100 |
commit | 5b5c01359152f3ddaa1aa0e5d1141bc2b29ba2c5 (patch) | |
tree | e6683590742e986101f18d21a3a9dbed1043a9ad /arch/arm/mach-omap2/board-generic.c | |
parent | ARM: OMAP2+: AM43x: determine features (diff) | |
download | linux-5b5c01359152f3ddaa1aa0e5d1141bc2b29ba2c5.tar.xz linux-5b5c01359152f3ddaa1aa0e5d1141bc2b29ba2c5.zip |
ARM: OMAP2+: AM43x: Use gptimer as clocksource
The SyncTimer in AM43x is clocked using the following two sources:
1) An inaccuarte 32k clock (CLK_32KHZ) derived from PER DPLL, causing system
time to go slowly (~10% deviation).
2) external 32KHz RTC clock, which may not always be available on board like
in the case of ePOS EVM
Use gptimer as clocksource instead, as is done in the case of AM335x
(which does not have a SyncTimer). With this, system time keeping works
accurately.
Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-generic.c')
-rw-r--r-- | arch/arm/mach-omap2/board-generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c index 8e3daa11602b..5679464a2f88 100644 --- a/arch/arm/mach-omap2/board-generic.c +++ b/arch/arm/mach-omap2/board-generic.c @@ -229,7 +229,7 @@ DT_MACHINE_START(AM43_DT, "Generic AM43 (Flattened Device Tree)") .init_late = am43xx_init_late, .init_irq = omap_gic_of_init, .init_machine = omap_generic_init, - .init_time = omap3_sync32k_timer_init, + .init_time = omap3_gptimer_timer_init, .dt_compat = am43_boards_compat, MACHINE_END #endif |