
It is useful to be able to summarise all the entries in an image, e.g. to display this to this user. Add a new ListEntries() method to Entry, and set up a way to call it through the Image class.
Signed-off-by: Simon Glass sjg@chromium.org ---
Changes in v2: - Add the Entry object to EntryInfo as well - Change Image.ListEntries() to BuildEntryList() since signature differs
tools/binman/bsection.py | 9 ++++ tools/binman/entry.py | 36 ++++++++++++++++ tools/binman/etype/cbfs.py | 7 +++- tools/binman/etype/section.py | 4 ++ tools/binman/ftest.py | 76 ++++++++++++++++++++++++++++++++++ tools/binman/image.py | 10 +++++ tools/binman/test/127_list.dts | 33 +++++++++++++++ 7 files changed, 174 insertions(+), 1 deletion(-) create mode 100644 tools/binman/test/127_list.dts
Applied to u-boot-dm, thanks!