binman: Show the image name for the top-level section
authorSimon Glass <sjg@chromium.org>
Tue, 7 Feb 2023 21:34:18 +0000 (14:34 -0700)
committerSimon Glass <sjg@chromium.org>
Mon, 13 Feb 2023 00:33:51 +0000 (17:33 -0700)
commit193d3dbd452f64c0a32854708974402d4a0d675d
treea2c36de25606d917848cf8be7f6a34ec7ca5acd4
parenta5e490f14e904fd240ccec5d364509b36a3150f9
binman: Show the image name for the top-level section

At present we show 'main section' as the top-level section name. It may
be more helpful to show the actual image name. This is tricky because
Image is a parent class of Entry_section, so there is no distinction
between an image and a section.

Update it to show the image name.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/ftest.py
tools/binman/image.py