mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-07 13:44:29 +00:00
b6e7ef4bf7
It's true that booting normally doesn't take long enough for the register to roll (which actually happens in a little over an hour, not just a few seconds). However, the counter starts at power-on, and if the board is held in reset to be booted over USB, one actually risks hitting wrap-around during boot, which can both result in too short delays (if the "st += delay" calculation makes st small) and theoretically also unbound delays (if st ends up being UINT_MAX and one just misses sampling digctl_microseconds at that point). It doesn't take more code to DTRT, and once bitten, twice shy. Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> |
||
---|---|---|
.. | ||
clock.c | ||
iomux.c | ||
Makefile | ||
mxs.c | ||
mxs_init.h | ||
mxsimage-signed.cfg | ||
mxsimage-spl.mx23.cfg | ||
mxsimage-spl.mx28.cfg | ||
mxsimage.mx23.cfg | ||
mxsimage.mx28.cfg | ||
spl_boot.c | ||
spl_lradc_init.c | ||
spl_mem_init.c | ||
spl_power_init.c | ||
start.S | ||
timer.c | ||
u-boot-imx23.bd | ||
u-boot-imx28.bd | ||
u-boot-spl.lds |