]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
davinci: Fixed wrong timebase clock frequency.
authorManfred Rudigier <manfred.rudigier@omicron.at>
Wed, 14 Dec 2011 15:20:08 +0000 (16:20 +0100)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 19 Dec 2011 16:52:43 +0000 (17:52 +0100)
Signed-off-by: Manfred Rudigier <manfred.rudigier@omicron.at>
arch/arm/cpu/arm926ejs/davinci/timer.c

index a06d449553839e609ad9302cc06fc1ce515e0aab..93c9e60b792626618d20c8f8002d83bc7348342d 100644 (file)
@@ -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