[U-Boot] core ticks/timer code

Mike Frysinger vapier at gentoo.org
Tue Mar 31 03:10:05 CEST 2009


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 


More information about the U-Boot mailing list