binman: Remove templates after use
authorSimon Glass <sjg@chromium.org>
Sun, 23 Jul 2023 03:43:56 +0000 (21:43 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 2 Aug 2023 18:05:57 +0000 (12:05 -0600)
commitaf41b24ebac86f25145f39f4eec4467d4c501bed
tree52998ca4575604cd2b58593e4fe0311106cb40d6
parent589c2d9e514412aba4556d06ce3bdfb9c8800fa1
binman: Remove templates after use

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 <sjg@chromium.org>
tools/binman/binman.rst
tools/binman/control.py
tools/binman/ftest.py