diff options
author | Pavel Machek <pavel@denx.de> | 2014-07-13 13:14:27 +0200 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-07-22 07:44:26 -0400 |
commit | fccacd3b4cffb5b3d50fe5e68ceb3604138041df (patch) | |
tree | 84fecdb17b2bacfd33519d0cbbbd8c1fb5ae4d1e /include/usb | |
parent | 288afdc9b97f00fa8422ea065e135f8423441cd7 (diff) | |
download | blackbird-obmc-uboot-fccacd3b4cffb5b3d50fe5e68ceb3604138041df.tar.gz blackbird-obmc-uboot-fccacd3b4cffb5b3d50fe5e68ceb3604138041df.zip |
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>
Diffstat (limited to 'include/usb')
0 files changed, 0 insertions, 0 deletions