diff options
author | Simon Glass <sjg@chromium.org> | 2023-10-14 14:40:25 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2023-11-02 09:38:54 -0600 |
commit | 823f5c3a02276067c583b2f31144095f2b3b41fc (patch) | |
tree | 58d691dc8f45250ea6dc92453fdb9a0baead4653 /tools | |
parent | a13af89e10391189b87ad32616ba688d6d7c5878 (diff) | |
download | u-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.py | 2 |
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: |