binman: Add special subnodes to the nodes generated by split-elf
authorJonas Karlman <jonas@kwiboo.se>
Sat, 21 Jan 2023 19:01:48 +0000 (19:01 +0000)
committerSimon Glass <sjg@chromium.org>
Thu, 26 Jan 2023 17:47:45 +0000 (10:47 -0700)
commit00b3d53f156927427b2bec95604acb6f6190c134
tree66f35ae3faebb592b54df51b94ad196ef4384934
parent5ad03fc77dfa055629bfbf283bdf938e6dd27d94
binman: Add special subnodes to the nodes generated by split-elf

Special nodes, hash and signature, is not being added to the nodes
generated for each segment in split-elf operation.

Copy the subnode logic used in _gen_fdt_nodes to _gen_split_elf to
ensure special nodes are added to the generated nodes.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/binman/entries.rst
tools/binman/etype/fit.py
tools/binman/ftest.py
tools/binman/test/226_fit_split_elf.dts