binman: Support simple templates
authorSimon Glass <sjg@chromium.org>
Tue, 18 Jul 2023 13:24:04 +0000 (07:24 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 20 Jul 2023 20:10:58 +0000 (14:10 -0600)
commitf6abd5227a13e652c6a6c25173403ae19ac9e0f0
tree2f883f9bbcd18f50e7a0aa26802b51b66de68896
parent55e1278d5eca233421c92122e7fe2361eb010710
binman: Support simple templates

Collections can used to collect the contents of other entries into a
single entry, but they result in a single entry, with the original entries
'left behind' in their old place.

It is useful to be able to specific a set of entries ones and have it used
in multiple images, or parts of an image.

Implement this mechanism.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/binman.rst
tools/binman/control.py
tools/binman/etype/section.py
tools/binman/ftest.py
tools/binman/test/286_template.dts [new file with mode: 0644]