diff options
author | Benoît Thébaudeau <benoit.thebaudeau@advansee.com> | 2012-08-14 05:01:21 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-09-01 14:58:26 +0200 |
commit | 68d919d42053af99c5220d0469aa4b3de2ae1c55 (patch) | |
tree | 01eb70f50d175cad48dbbd8030dfe4f7d09a0ae2 /tools/ublimage.c | |
parent | f2d3ae0739617a671c09297dc49bf6d92b4c8bdc (diff) | |
download | u-boot-imx-68d919d42053af99c5220d0469aa4b3de2ae1c55.zip u-boot-imx-68d919d42053af99c5220d0469aa4b3de2ae1c55.tar.gz u-boot-imx-68d919d42053af99c5220d0469aa4b3de2ae1c55.tar.bz2 |
mx5/6 timer: Round up tick_to_time() value
Round up tick_to_time() value instead of truncating it. This avoids stopping
waits instantly for low usec values, and this generally guarantees that the code
always waits for at least the requested duration.
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Cc: Stefano Babic <sbabic@denx.de>
Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'tools/ublimage.c')
0 files changed, 0 insertions, 0 deletions