[U-Boot-Users] [PATCH] mips: tolerate the MIPS 'CFG_HZ' values in the MHZ range for NAND delays
Wolfgang Denk
wd at denx.de
Mon May 19 22:39:22 CEST 2008
In message <4831E28E.5060005 at freescale.com> you wrote:
>
> if (state == FL_ERASING)
> timeo = CFG_HZ * 2 / 5;
> else
> timeo = CFG_HZ / 50
>
> If we have CFG_HZ values that are within a factor of 2 of wrapping
> around, the platform should probably do some downward scaling (or we
> should think about 64-bit timestamps)...
Not needed. CFG_HZ == 1000 for all sane ports.
Broken ports should be fixed.
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
People are always a lot more complicated than you think. It's very
important to remember that. - Terry Pratchett, _Truckers_
More information about the U-Boot
mailing list