[U-Boot-Users] [PATCH] Bug fix for MIPS timer

Robert Delien robert.delien at nxp.com
Fri Jun 22 14:44:41 CEST 2007



Hello,

When building MIPS targets the warning 'integer overflow in expression'
occurs in nfs.c and net.c because these targets still define their clock
speed in CFG_HZ instead of the number of miliseconds per second (1000).
This will cause incorrect timer behavior. The patch attached fixes this and
makes sure MIPS targets now use a CFG_HZ of 1000.

With kind regards,

      Robert.

(See attached file: mips_timer_fix)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20070622/426402ae/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mips_timer_fix
Type: application/octet-stream
Size: 5909 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20070622/426402ae/attachment.obj 


More information about the U-Boot mailing list