]> git.baikalelectronics.ru Git - uboot.git/commit
binman: Allow collection to use entries from other sections
authorSimon Glass <sjg@chromium.org>
Sat, 13 Aug 2022 17:40:50 +0000 (11:40 -0600)
committerSimon Glass <sjg@chromium.org>
Sun, 21 Aug 2022 00:07:32 +0000 (18:07 -0600)
commit8684df81b0132ab71e4df08f399f8cd3a60d83ad
treeb2d03be426e039bee37c16b832e33c42ba72ba63
parentf9870cc5d080af64f49bc8bb66e3dbf0b301a531
binman: Allow collection to use entries from other sections

At present the collections etype only works with entries in the same
section. This can be limiting, since in some cases the data may be inside
a subsection, e.g. if there are alignment constraints.

Add a function to find the entries in an etype and have it search
recursively. Make use of this for mkimage also.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/entries.rst
tools/binman/entry.py
tools/binman/etype/collection.py
tools/binman/etype/mkimage.py
tools/binman/etype/section.py
tools/binman/ftest.py
tools/binman/test/239_collection_other.dts [new file with mode: 0644]
tools/binman/test/240_mkimage_coll.dts [new file with mode: 0644]