[U-Boot] [RFC] ARM timing code refactoring

Wolfgang Denk wd at denx.de
Mon Jan 24 14:02:00 CET 2011


Dear Albert ARIBAUD,

In message <4D3D2942.4060600 at free.fr> you wrote:
> 
> That is assuming a 64-bit timebase, isn't it? for CPUs / SoCs that don't >
> have such a timebase but only a 32-bit timer, the bogo_ms/jiffy would >
> not go through the full 32-bit range, which would cause issues with the >
> timing loops on rollover -- and while a timeout of more than 65 sec may >
> not be too likely, a timeout starting near the wraparound value of >
> bogo_ms still could happen.

Sorry, but I don't get it.  What exactly is the problem with a 32 bit
counter, and why would it not go through the full 32-bit range?

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
Vor allem kein Gedanke! Nichts ist kompromittierender als ein  Gedan-
ke!            - Friedrich Wilhelm Nietzsche _Der Fall Wagner_ (1888)


More information about the U-Boot mailing list