From: Manfred Rudigier Date: Wed, 14 Dec 2011 15:20:08 +0000 (+0100) Subject: davinci: Fixed wrong timebase clock frequency. X-Git-Tag: v2011.12-rc3~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c005d6b193c4d98159181576c52747f92df977f2;p=platform%2Fkernel%2Fu-boot.git davinci: Fixed wrong timebase clock frequency. Signed-off-by: Manfred Rudigier --- diff --git a/arch/arm/cpu/arm926ejs/davinci/timer.c b/arch/arm/cpu/arm926ejs/davinci/timer.c index a06d449..93c9e60 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