binman: Allow cipher node as special section
authorChristian Taedcke <christian.taedcke@weidmueller.com>
Mon, 17 Jul 2023 07:05:53 +0000 (09:05 +0200)
committerSimon Glass <sjg@chromium.org>
Mon, 24 Jul 2023 15:34:10 +0000 (09:34 -0600)
The new encrypted etype generates a cipher node in the device tree
that should not be evaluated by binman, but still be kept in the
output device tree.

Signed-off-by: Christian Taedcke <christian.taedcke@weidmueller.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/binman/etype/section.py

index 7c4d312..fb49e85 100644 (file)
@@ -179,7 +179,7 @@ class Entry_section(Entry):
         Returns:
             bool: True if the node is a special one, else False
         """
-        start_list = ('hash', 'signature', 'template')
+        start_list = ('cipher', 'hash', 'signature', 'template')
         return any(node.name.startswith(name) for name in start_list)
 
     def ReadNode(self):