]> git.dujemihanovic.xyz Git - u-boot.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)
commitd626e825f5d45ca543999340428a5a809024b0db
treeb2d03be426e039bee37c16b832e33c42ba72ba63
parent9db9e932c79b653e81d5e11241b8f20e8fd61bdd
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]