mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 09:12:08 +02:00
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>
This commit is contained in:
@@ -48,7 +48,10 @@ class Entry_intel_ifwi(Entry_blob):
|
|||||||
Entry_blob.__init__(self, section, etype, node)
|
Entry_blob.__init__(self, section, etype, node)
|
||||||
self._convert_fit = fdt_util.GetBool(self._node, 'convert-fit')
|
self._convert_fit = fdt_util.GetBool(self._node, 'convert-fit')
|
||||||
self._ifwi_entries = OrderedDict()
|
self._ifwi_entries = OrderedDict()
|
||||||
|
|
||||||
|
def ReadNode(self):
|
||||||
self._ReadSubnodes()
|
self._ReadSubnodes()
|
||||||
|
Entry_blob.ReadNode(self)
|
||||||
|
|
||||||
def ObtainContents(self):
|
def ObtainContents(self):
|
||||||
"""Get the contects for the IFWI
|
"""Get the contects for the IFWI
|
||||||
|
Reference in New Issue
Block a user