[U-Boot] [PATCH 24/53] binman: Add a function to obtain the image for an Entry

sjg at google.com sjg at google.com
Mon Jul 29 21:22:25 UTC 2019


At present we have an 'image' property in the entry for this purpose, but
this is not necessary and seems error-prone in the presence of
inheritance. Add a function instead. The Entry_section class overrides
this with a special version, since top-level sections are in fact images,
since Image inherits Entry_section.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 tools/binman/entry.py         |  8 ++++++++
 tools/binman/etype/fmap.py    |  2 +-
 tools/binman/etype/section.py | 17 ++++++++++++++---
 tools/binman/image.py         |  1 -
 4 files changed, 23 insertions(+), 5 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list