mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-20 06:01:26 +02:00
binman: blob_dtb: Add fake_size argument to ObtainContents()
The method 'connect_contents_to_file()' calls ObtainsContents() with 'fake_size' argument. Without providing the argument in the blob_dtb we are not able to call this method without error. Signed-off-by: Lukas Funke <lukas.funke@weidmueller.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
7a52a45e3a
commit
f0989c29f8
@ -38,7 +38,7 @@ class Entry_blob_dtb(Entry_blob):
|
|||||||
self.Raise("Invalid prepend in '%s': '%s'" %
|
self.Raise("Invalid prepend in '%s': '%s'" %
|
||||||
(self._node.name, self.prepend))
|
(self._node.name, self.prepend))
|
||||||
|
|
||||||
def ObtainContents(self):
|
def ObtainContents(self, fake_size=0):
|
||||||
"""Get the device-tree from the list held by the 'state' module"""
|
"""Get the device-tree from the list held by the 'state' module"""
|
||||||
self._filename = self.GetDefaultFilename()
|
self._filename = self.GetDefaultFilename()
|
||||||
self._pathname, _ = state.GetFdtContents(self.GetFdtEtype())
|
self._pathname, _ = state.GetFdtContents(self.GetFdtEtype())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user