mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-19 10:41:58 +01:00
The timer_init() function was not using the right csync instruction, nor was it doing it right after disabling the core timer. The timer_reset() function would reset the timestamp, but not the actual timer, so there was a common edge case where get_timer() return a jump of one timestamp (couple milliseconds) right after resetting. This caused many functions to improperly timeout right away. Signed-off-by: Graf Yang <graf.yang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| bootrom-asm-offsets.awk | ||
| bootrom-asm-offsets.c.in | ||
| cache.S | ||
| cpu.c | ||
| cpu.h | ||
| initcode.c | ||
| interrupt.S | ||
| interrupts.c | ||
| jtag-console.c | ||
| Makefile | ||
| reset.c | ||
| serial.c | ||
| serial.h | ||
| start.S | ||
| system_map.S | ||
| traps.c | ||
| watchdog.c | ||