diff mbox series

[01/12] binman: Init align_default in entry_Section

Message ID 20230628114149.439723-2-sjg@chromium.org
State Superseded
Delegated to: Simon Glass
Headers show
Series binman: Simple templating feature and mkimage conversion | expand

Commit Message

Simon Glass June 28, 2023, 11:41 a.m. UTC
This should be set up in the init function, to avoid a warning about a
property not set up there. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 tools/binman/etype/section.py | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/tools/binman/etype/section.py b/tools/binman/etype/section.py
index c36edd13508b..77250a7525c6 100644
--- a/tools/binman/etype/section.py
+++ b/tools/binman/etype/section.py
@@ -168,6 +168,7 @@  class Entry_section(Entry):
         self._end_4gb = False
         self._ignore_missing = False
         self._filename = None
+        self.align_default = 0
 
     def IsSpecialSubnode(self, node):
         """Check if a node is a special one used by the section itself