]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
binman: Forward AddBintools calls to sub entries in cbfs_util
authorStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Fri, 19 Aug 2022 14:25:20 +0000 (16:25 +0200)
committerSimon Glass <sjg@chromium.org>
Sun, 21 Aug 2022 00:07:33 +0000 (18:07 -0600)
Forward AddBintools calls to sub entries in cbfs_util to collect
bintools of sub entries.

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/binman/etype/cbfs.py

index 4a1837f26c183e2463dbd47988effa375a335e19..832f8d038f0452a2f7f2a9531356505d8c70a8e2 100644 (file)
@@ -296,3 +296,8 @@ class Entry_cbfs(Entry):
         # so that child.data is used to pack into the FIP.
         self.ObtainContents(skip_entry=child)
         return True
+
+    def AddBintools(self, btools):
+        super().AddBintools(btools)
+        for entry in self._entries.values():
+            entry.AddBintools(btools)