mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-27 23:20:26 +09:00
0a7edce0ef
If a timer has a zero clock_rate, get_tbclk() will return zero for it, which will cause tick_to_time() to perform a division-by-zero, which will crash U-Boot. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Simon Glass <sjg@chromium.org> |
||
---|---|---|
.. | ||
altera_timer.c | ||
Kconfig | ||
Makefile | ||
omap-timer.c | ||
sandbox_timer.c | ||
timer-uclass.c | ||
tsc_timer.c |