Browse Source

davinci: Fixed wrong timebase clock frequency.

Signed-off-by: Manfred Rudigier <manfred.rudigier@omicron.at>
Manfred Rudigier 13 years ago
parent
commit
c005d6b193
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/arm/cpu/arm926ejs/davinci/timer.c

+ 1 - 1
arch/arm/cpu/arm926ejs/davinci/timer.c

@@ -108,7 +108,7 @@ void __udelay(unsigned long usec)
  */
  */
 ulong get_tbclk(void)
 ulong get_tbclk(void)
 {
 {
-	return CONFIG_SYS_HZ;
+	return gd->timer_rate_hz;
 }
 }
 
 
 #ifdef CONFIG_HW_WATCHDOG
 #ifdef CONFIG_HW_WATCHDOG