diff options
author | Manfred Rudigier <manfred.rudigier@omicron.at> | 2011-12-14 16:20:08 +0100 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-12-19 17:52:43 +0100 |
commit | c005d6b193c4d98159181576c52747f92df977f2 (patch) | |
tree | f0107cf37b1709c6f0d18b5c0b358f21de3c6c8f /arch/arm/cpu/arm926ejs/davinci | |
parent | 076cd49ad10a6fee72d8dcd5fd70bf2de0fd2f5f (diff) | |
download | u-boot-imx-c005d6b193c4d98159181576c52747f92df977f2.zip u-boot-imx-c005d6b193c4d98159181576c52747f92df977f2.tar.gz u-boot-imx-c005d6b193c4d98159181576c52747f92df977f2.tar.bz2 |
davinci: Fixed wrong timebase clock frequency.
Signed-off-by: Manfred Rudigier <manfred.rudigier@omicron.at>
Diffstat (limited to 'arch/arm/cpu/arm926ejs/davinci')
-rw-r--r-- | arch/arm/cpu/arm926ejs/davinci/timer.c | 2 |
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 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 |