binman: Add a consistent way to report errors with fit
authorSimon Glass <sjg@chromium.org>
Sun, 6 Mar 2022 03:19:09 +0000 (20:19 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 19 Mar 2022 01:24:25 +0000 (19:24 -0600)
commitce4e402a32733a1aee8437ef47689c59d6e53bc2
treea22e799044d59386524fe4062b3c3de3717456b1
parent5795497e8b030393eaffebbc24c38d118c5dbbde
binman: Add a consistent way to report errors with fit

Add a new function to handling reporting errors within a particular
subnode of the FIT description. This can be used to make the format of
these errors consistent.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
tools/binman/etype/fit.py
tools/binman/ftest.py