[U-Boot] [PATCH] davinci: Fixed wrong timebase clock frequency.
Heiko Schocher
hs at denx.de
Thu Dec 15 07:23:43 CET 2011
Hello Manfred,
Manfred Rudigier wrote:
> Signed-off-by: Manfred Rudigier <manfred.rudigier at omicron.at>
> ---
> 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
Tested on the cam_enc_4x board, thanks!
Also too late, but:
Acked-by: Heiko Schocher <hs at denx.de>
Tested-by: Heiko Schocher <hs at denx.de>
bye,
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
More information about the U-Boot
mailing list