binman: Support templates containing phandles
authorSimon Glass <sjg@chromium.org>
Sun, 23 Jul 2023 03:43:57 +0000 (21:43 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 2 Aug 2023 18:05:57 +0000 (12:05 -0600)
commitd4d97661d255571118b6fdee0cf082a75f29af29
tree98c7f6ba5cc84a5c9e139b0d5ca858222d07cadc
parentaf41b24ebac86f25145f39f4eec4467d4c501bed
binman: Support templates containing phandles

This provides support for phandles to be copied over from templates. This
is not quite safe, since if the template is instantiated twice (i.e. in
two different nodes), then duplicate phandles will be found. This will
result in an error.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/binman.rst
tools/binman/control.py
tools/binman/ftest.py
tools/binman/test/291_template_phandle.dts [new file with mode: 0644]
tools/binman/test/292_template_phandle_dup.dts [new file with mode: 0644]