]> git.dujemihanovic.xyz Git - u-boot.git/commit
trace: Detect an infinite loop
authorSimon Glass <sjg@chromium.org>
Sun, 15 Jan 2023 21:15:51 +0000 (14:15 -0700)
committerTom Rini <trini@konsulko.com>
Sat, 11 Feb 2023 17:22:35 +0000 (12:22 -0500)
commit852d4dbd70baa550cc5e8ef789aa719d30e94242
treec17abd8e6c2cd3cff5e1411b7d5cc4dd5b582eb1
parent80f91558a173fe841810ab6a7a0f70b52344ec76
trace: Detect an infinite loop

If something is wrong with a board's timer function such that it calls
functions not marked with notrace, U-Boot will hang.

Detect this, print a message and disable the trace.

Signed-off-by: Simon Glass <sjg@chromium.org>
lib/trace.c