It is not necessary to keep templates around after they have been processed. They can cause confusion and potentially duplicate phandles.
Remove them. Use the same means of detecting a template node in _ReadImageDesc so that the two places are consistent. Signed-off-by: Simon Glass <s...@chromium.org> --- (no changes since v1) tools/binman/binman.rst | 8 +++++--- tools/binman/control.py | 14 +++++++++++++- tools/binman/ftest.py | 7 +++++++ 3 files changed, 25 insertions(+), 4 deletions(-) Applied to u-boot-dm, thanks!