[U-Boot] [PATCH] IXP425: Fixing timer code Part 1/1

Wolfgang Denk wd at denx.de
Tue Dec 16 00:26:25 CET 2008


Dear Stefan Althoefer,

In message <49384728.LMggwd1oTzMugOAp%stefan.althoefer at web.de> you wrote:
> 
> With this patch, this is nonsense. Instead you should use:
> 
> #ifdef CONFIG_USE_IRQ
> /* Interrupt driven timer wants system tick here */
> #define CONFIG_SYS_HZ                  1000
> #else
> /* The code in cpu/ixp/timer.c needs timer clock tick in HZ */
> #define CONFIG_SYS_HZ                  66666666
> #endif

No, this is wrong. CONFIG_SYS_HZ should always be 1000, without
exceptions.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Accident: A condition in which presence of mind is good, but  absence
of body is better.


More information about the U-Boot mailing list