[U-Boot] lib/time.c cleanups

Tom Rini trini at ti.com
Tue Jul 22 21:23:00 CEST 2014


On Sun, Jul 13, 2014 at 01:14:27PM +0200, Pavel Machek wrote:

> As I initially suspected overflow in time handling, I took a detailed
> look at lib/time.c. This adds comments about units being used, reduces
> amount of type casting being done, and makes __udelay() always wait at
> least one tick. (Current code could do no delaying at all for short
> delays).
> 
> Signed-off-by: Pavel Machek <pavel at denx.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140722/fc8a0515/attachment.pgp>


More information about the U-Boot mailing list