binman: Include also subnodes in generator nodes
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 28 Feb 2022 16:06:20 +0000 (17:06 +0100)
committerSimon Glass <sjg@chromium.org>
Sat, 19 Mar 2022 01:24:24 +0000 (19:24 -0600)
commitb210661c8661ac843127a01fd0100ffceffb81d7
tree2dea1fc75da420029bacb4cad72d3758a9a39d15
parent7aa288ef5ca45c38336f65d8ba2f62de9f984201
binman: Include also subnodes in generator nodes

This allows to prefill fdt and config nodes with hash and signature
subnodes. It's just important to place the child nodes last so that
hashes do not come before the data - would be disliked by mkimage.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/binman/etype/fit.py
tools/binman/ftest.py
tools/binman/test/170_fit_fdt.dts