[PATCH 03/11] binman: Add support for a collection of entries
Simon Glass
sjg at chromium.org
Sat Mar 27 06:19:59 CET 2021
The vblock entry type includes code to collect the data from a number of
other entries (not necessarily subentries) and concatenating it. This is
a useful feature for other entry types.
Make it a base class, so that vblock can use it, along with other entry
types.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
tools/binman/entries.rst | 13 ++++++
tools/binman/entry.py | 5 +++
tools/binman/etype/collection.py | 61 ++++++++++++++++++++++++++++
tools/binman/etype/vblock.py | 26 ++++++------
tools/binman/ftest.py | 10 ++++-
tools/binman/test/198_collection.dts | 27 ++++++++++++
6 files changed, 128 insertions(+), 14 deletions(-)
create mode 100644 tools/binman/etype/collection.py
create mode 100644 tools/binman/test/198_collection.dts
Applied to u-boot-dm/next, thanks!
More information about the U-Boot
mailing list