binman: Add support for a collection of entries
authorSimon Glass <sjg@chromium.org>
Sun, 21 Mar 2021 05:24:31 +0000 (18:24 +1300)
committerSimon Glass <sjg@chromium.org>
Sat, 27 Mar 2021 03:26:48 +0000 (16:26 +1300)
commit189f291914cb867f8782d7224a1073d6e17fc800
treef848d1a376d44180ce736afba75c34bc0f2b4b67
parent3d4333829388db834e6f0945bbefc837da590d78
binman: Add support for a collection of entries

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@chromium.org>
tools/binman/entries.rst
tools/binman/entry.py
tools/binman/etype/collection.py [new file with mode: 0644]
tools/binman/etype/vblock.py
tools/binman/ftest.py
tools/binman/test/198_collection.dts [new file with mode: 0644]