u_boot_pylib: Support a fatal level in tout
authorSimon Glass <sjg@chromium.org>
Sun, 11 May 2025 14:18:20 +0000 (16:18 +0200)
committerSimon Glass <sjg@chromium.org>
Tue, 27 May 2025 09:07:42 +0000 (10:07 +0100)
commitdb5d98de55066db3b1ee3514bbf0fd304ec7775e
treedf03b09e7a301b50628c8f9dcf92fbc021745d8a
parent75ae217194ad680bac8d3f2b0e2bcd0976c91735
u_boot_pylib: Support a fatal level in tout

It is convenient to be able to print a message and exit. Add a new
'fatal' level to support this.

Update some assumptions about the level, so that the tools continue to
work as now.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/control.py
tools/u_boot_pylib/tout.py