davinci: Fixed wrong timebase clock frequency.

Signed-off-by: Manfred Rudigier <manfred.rudigier@omicron.at>
This commit is contained in:
Manfred Rudigier 2011-12-14 16:20:08 +01:00 committed by Albert ARIBAUD
parent 076cd49ad1
commit c005d6b193

View File

@ -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