1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-12-26 07:49:12 +01:00
Files
u-boot-megous/lib/time.c
Pavel Machek fccacd3b4c lib/time.c cleanups
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@denx.de>
2014-07-22 07:44:26 -04:00

2.3 KiB