aboutsummaryrefslogtreecommitdiff
path: root/tools/binman
diff options
context:
space:
mode:
authorSimon Glass2023-07-18 07:23:51 -0600
committerSimon Glass2023-07-20 14:10:57 -0600
commitc06c0643329bef80a283ccc2858150b310f4ee80 (patch)
treed05839bf04faebd327314072dd084e8cc7387166 /tools/binman
parent3563edefe2e3bfb4d316a8865ad9f37e43e99b47 (diff)
binman: Init align_default in entry_Section
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>
Diffstat (limited to 'tools/binman')
-rw-r--r--tools/binman/etype/section.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/binman/etype/section.py b/tools/binman/etype/section.py
index c36edd13508..77250a7525c 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