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

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

index 7394e4e5d3a186fff1af2ee0608f8f6f91431a99..ba2a362bb59f461a76a43f8043ae4b5426ac385f 100644 (file)
@@ -100,4 +100,5 @@ class Entry_gbb(Entry):
         return True
 
     def AddBintools(self, btools):
+        super().AddBintools(btools)
         self.futility = self.AddBintool(btools, 'futility')
index 4fa7d636fe090441280de5833a90b1818eade98f..04fad401eeeef9725e0e9dadf657b75b2c503b20 100644 (file)
@@ -144,4 +144,5 @@ class Entry_intel_ifwi(Entry_blob_ext):
                 entry.WriteSymbols(self)
 
     def AddBintools(self, btools):
+        super().AddBintools(btools)
         self.ifwitool = self.AddBintool(btools, 'ifwitool')
index d298776741e1546fd7c1b5c57ec1c76f849af992..ddbd9cec6588f009f3681b2b0d5d60c9558db8f8 100644 (file)
@@ -192,4 +192,5 @@ class Entry_mkimage(Entry):
             self._imagename.CheckFakedBlobs(faked_blobs_list)
 
     def AddBintools(self, btools):
+        super().AddBintools(btools)
         self.mkimage = self.AddBintool(btools, 'mkimage')
index 5c326a75e8c0a77bd1803c60c349de48ea6874d9..8cae22f3c8770ba061466dd914a4ae895a4f1021 100644 (file)
@@ -899,5 +899,6 @@ class Entry_section(Entry):
             entry.CheckAltFormats(alt_formats)
 
     def AddBintools(self, btools):
+        super().AddBintools(btools)
         for entry in self._entries.values():
             entry.AddBintools(btools)
index c3ef08bbb2bfc3b12e66334d9d4f35b992def81f..04cb7228aa00d5ee7894b35b32eb8eee5569d19c 100644 (file)
@@ -98,4 +98,5 @@ class Entry_vblock(Entry_collection):
         return self.ProcessContentsUpdate(data)
 
     def AddBintools(self, btools):
+        super().AddBintools(btools)
         self.futility = self.AddBintool(btools, 'futility')