aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Funke2023-07-18 13:53:11 +0200
committerSimon Glass2023-07-24 09:34:10 -0600
commitf0989c29f835d7adb50a7eab3946bd73fbf1ba64 (patch)
tree0b6be232ee29a5f6c663485531df6e48c397b82e
parent7a52a45e3a20eb3a8b763ea2f820498b713576d1 (diff)
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>
-rw-r--r--tools/binman/etype/blob_dtb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/binman/etype/blob_dtb.py b/tools/binman/etype/blob_dtb.py
index 6a3fbc47753..d543de9f759 100644
--- a/tools/binman/etype/blob_dtb.py
+++ b/tools/binman/etype/blob_dtb.py
@@ -38,7 +38,7 @@ class Entry_blob_dtb(Entry_blob):
self.Raise("Invalid prepend in '%s': '%s'" %
(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"""
self._filename = self.GetDefaultFilename()
self._pathname, _ = state.GetFdtContents(self.GetFdtEtype())