summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-08-24 16:23:09 +0300
committerSimon Glass <sjg@chromium.org>2019-10-15 17:40:02 +0300
commitafc68a8a4d068a7cbfdb6f85ad7d474b901ad4fb (patch)
tree9e41f8974c5c2c286a6123967146c078006fb7e4 /tools
parent7d645e08d6cf0c926d1fdfccd6e72d73ced0b68e (diff)
downloadu-boot-afc68a8a4d068a7cbfdb6f85ad7d474b901ad4fb.tar.xz
binman: Update IFWI entry to read entries outside constructor
At present this class reads its entries in the constructor. This is not how things should be done now. Update it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/binman/etype/intel_ifwi.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/binman/etype/intel_ifwi.py b/tools/binman/etype/intel_ifwi.py
index e4da3e498a..ef2b35706f 100644
--- a/tools/binman/etype/intel_ifwi.py
+++ b/tools/binman/etype/intel_ifwi.py
@@ -48,7 +48,10 @@ class Entry_intel_ifwi(Entry_blob):
Entry_blob.__init__(self, section, etype, node)
self._convert_fit = fdt_util.GetBool(self._node, 'convert-fit')
self._ifwi_entries = OrderedDict()
+
+ def ReadNode(self):
self._ReadSubnodes()
+ Entry_blob.ReadNode(self)
def ObtainContents(self):
"""Get the contects for the IFWI