[U-Boot-Users] DaVinci DM644x timer problem (divided by 16)

Wolfgang Denk wd at denx.de
Sat Mar 22 00:20:26 CET 2008


In message <4CD35CD1F8085945B597F80EEC8942138A249B at exc01.bk.prodrive.nl> you wrote:
> 
> In my idea these functions should do the following (with CFG_HZ=1000):
> 
> get_timer(ulong base) - Return time in ms  minus base
> get_timer_masked(void) - Return time in ms

Note that get_timer_masked() is an  ugly  artefact  of  some  earlier
U-Boot ports we should try to get rid of. It should not be needed nor
used.

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
"Plan to throw one away.  You will anyway."
                              - Fred Brooks, "The Mythical Man Month"




More information about the U-Boot mailing list