[U-Boot-Users] [PATCH] Make sleep shell command is reliablefor all architectures
Wolfgang Denk
wd at denx.de
Tue May 20 20:42:03 CEST 2008
In message <1211295950.3617.17.camel at mcmullan-linux.cifs.lab.netapp.com> you wrote:
>
> Yes, but get_timer() is not guaranteed to return 0 to MAX_ULONG, as
> far as I can tell.
I'm not sure what you mean by that statement.
> On MIPS (even after my CFG_HZ patch), get_timer() will only return
> 0 to 14316 on a 300MHZ machine, as the 32-bit MIPS tick timer that
> forms the MIPS time base wraps to 0 after 14.316 seconds.
That's a bug in the MIPS implementation, then.
> Well, then we've got a big problem on MIPS.
A fixable one, I hope.
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
The nice thing about standards is that there are so many to choose
from. - Andrew S. Tanenbaum
More information about the U-Boot
mailing list