diff options
author | Simon Glass <sjg@chromium.org> | 2023-02-07 14:34:18 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2023-02-12 17:33:51 -0700 |
commit | 193d3dbd452f64c0a32854708974402d4a0d675d (patch) | |
tree | a2c36de25606d917848cf8be7f6a34ec7ca5acd4 /tools/binman/image.py | |
parent | a5e490f14e904fd240ccec5d364509b36a3150f9 (diff) |
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>
Diffstat (limited to 'tools/binman/image.py')
-rw-r--r-- | tools/binman/image.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/binman/image.py b/tools/binman/image.py index b84dd21e22a..941596320c1 100644 --- a/tools/binman/image.py +++ b/tools/binman/image.py @@ -77,7 +77,7 @@ class Image(section.Entry_section): generate=True): super().__init__(None, 'section', node, test=test) self.copy_to_orig = copy_to_orig - self.name = 'main-section' + self.name = name self.image_name = name self._filename = '%s.bin' % self.image_name self.fdtmap_dtb = None |