[PATCH 3/7] binman: fit: Drop unused code
Simon Glass
sjg at chromium.org
Tue Feb 25 21:06:28 CET 2025
The key-name-hint case is not tested so is presumably not used. Drop it.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
tools/binman/etype/fit.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/tools/binman/etype/fit.py b/tools/binman/etype/fit.py
index b5afbda41b5..4c8ffa9a52e 100644
--- a/tools/binman/etype/fit.py
+++ b/tools/binman/etype/fit.py
@@ -534,8 +534,6 @@ class Entry_fit(Entry_section):
def _find_keys_dir(node):
for subnode in node.subnodes:
if subnode.name.startswith('signature'):
- if subnode.props.get('key-name-hint') is None:
- continue
hint = subnode.props['key-name-hint'].value
name = tools.get_input_filename(f"{hint}.key")
path = os.path.dirname(name)
--
2.43.0
More information about the U-Boot
mailing list