summaryrefslogtreecommitdiff
path: root/board/esd/mecp5200
diff options
context:
space:
mode:
authorPavel Machek <pavel@denx.de>2014-07-13 11:14:27 (GMT)
committerTom Rini <trini@ti.com>2014-07-22 11:44:26 (GMT)
commitfccacd3b4cffb5b3d50fe5e68ceb3604138041df (patch)
tree84fecdb17b2bacfd33519d0cbbbd8c1fb5ae4d1e /board/esd/mecp5200
parent288afdc9b97f00fa8422ea065e135f8423441cd7 (diff)
downloadu-boot-fccacd3b4cffb5b3d50fe5e68ceb3604138041df.tar.xz
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 'board/esd/mecp5200')
0 files changed, 0 insertions, 0 deletions