[U-Boot-Users] [PATCH] MIPS time.c fix

Robert Deliën robert.delien at nxp.com
Fri Dec 8 15:05:02 CET 2006


The patch attached makes the MIPS timer function get_timer return time in
CFG_HZ ticks, where CFG_HZ is set to 1000 per default.

The functions get_ticks and get_tbclk still work using the actual number of
COUNT register increments per second, which is equal to the cpu clock
frequency for MIPS processors.

With kind regards,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: mips_timer.diff
Type: application/octet-stream
Size: 6180 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20061208/16caceac/attachment.obj 

More information about the U-Boot mailing list