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

christian.taedcke-oss at weidmueller.com christian.taedcke-oss at weidmueller.com
Tue Jul 4 11:03:32 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>
---

(no changes since v1)

 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 c36edd1350..56abfd5129 100644
--- a/tools/binman/etype/section.py
+++ b/tools/binman/etype/section.py
@@ -178,7 +178,7 @@ class Entry_section(Entry):
         Returns:
             bool: True if the node is a special one, else False
         """
-        return node.name.startswith('hash') or node.name.startswith('signature')
+        return node.name.startswith('hash') or node.name.startswith('signature') or node.name.startswith('cipher')
 
     def ReadNode(self):
         """Read properties from the section node"""
-- 
2.34.1



More information about the U-Boot mailing list