[U-Boot] core ticks/timer code

Mike Frysinger
2009-03-31T01:10:05Z

so if we were to document things, it should read like this:
- CONFIG_SYS_HZ is required to be 1000
- get_ticks() / get_tbclk() should be deprecated -- use get_timer() instead
- get_timer(X) returns the number of milliseconds since the last call to
reset_timer(), minus X (which is in milliseconds too)

is there any reason to keep ticks/tbclk around ? looking at consumers of
these functions, they seem to re-implement the get_timer() logic anyways.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090330/4c60685f/attachment.pgp