aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-10-14 14:40:25 -0600
committerSimon Glass <sjg@chromium.org>2023-11-02 09:38:54 -0600
commit823f5c3a02276067c583b2f31144095f2b3b41fc (patch)
tree58d691dc8f45250ea6dc92453fdb9a0baead4653 /tools
parenta13af89e10391189b87ad32616ba688d6d7c5878 (diff)
downloadu-boot-823f5c3a02276067c583b2f31144095f2b3b41fc.zip
u-boot-823f5c3a02276067c583b2f31144095f2b3b41fc.tar.gz
u-boot-823f5c3a02276067c583b2f31144095f2b3b41fc.tar.bz2
binman: Reset missing bintools after testing
For tests which fake bintools being missing, we need to reset the list afterwards, to ensure that future tests do not also see the bintools as missing. Reset the list when processing is complete. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/binman/control.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/binman/control.py b/tools/binman/control.py
index c6d3205..2f00279 100644
--- a/tools/binman/control.py
+++ b/tools/binman/control.py
@@ -858,6 +858,8 @@ def Binman(args):
data = state.GetFdtForEtype('u-boot-dtb').GetContents()
elf.UpdateFile(*elf_params, data)
+ bintool.Bintool.set_missing_list(None)
+
# This can only be True if -M is provided, since otherwise binman
# would have raised an error already
if invalid: