aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/cpu
diff options
context:
space:
mode:
authorManfred Rudigier2011-12-14 16:20:08 +0100
committerAlbert ARIBAUD2011-12-19 17:52:43 +0100
commitc005d6b193c4d98159181576c52747f92df977f2 (patch)
treef0107cf37b1709c6f0d18b5c0b358f21de3c6c8f /arch/arm/cpu
parent076cd49ad10a6fee72d8dcd5fd70bf2de0fd2f5f (diff)
davinci: Fixed wrong timebase clock frequency.
Signed-off-by: Manfred Rudigier <manfred.rudigier@omicron.at>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r--arch/arm/cpu/arm926ejs/davinci/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/arm926ejs/davinci/timer.c b/arch/arm/cpu/arm926ejs/davinci/timer.c
index a06d4495538..93c9e60b792 100644
--- a/arch/arm/cpu/arm926ejs/davinci/timer.c
+++ b/arch/arm/cpu/arm926ejs/davinci/timer.c
@@ -108,7 +108,7 @@ void __udelay(unsigned long usec)
*/
ulong get_tbclk(void)
{
- return CONFIG_SYS_HZ;
+ return gd->timer_rate_hz;
}
#ifdef CONFIG_HW_WATCHDOG