[PATCH v3 2/3] binman: Allow cipher node as special section

christian.taedcke-oss at weidmueller.com christian.taedcke-oss at weidmueller.com
Mon Jul 10 11:04:15 CEST 2023


From: Christian Taedcke <christian.taedcke at weidmueller.com>

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 at weidmueller.com>
---

Changes in v3:
- rebase on u-boot-dm/mkim-working

 tools/binman/etype/section.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/binman/etype/section.py b/tools/binman/etype/section.py
index 7c4d312c16..fb49e85a76 100644
--- a/tools/binman/etype/section.py
+++ b/tools/binman/etype/section.py
@@ -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):
-- 
2.34.1



More information about the U-Boot mailing list