mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-26 13:44:29 +08:00
binman: Rename tools parameter to btools
This shadows the patman.tools library so rename it to avoid a pylint warning. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
This commit is contained in:
parent
38397d0833
commit
ae9a457029
@ -1101,11 +1101,11 @@ features to produce new behaviours.
|
||||
"""
|
||||
pass
|
||||
|
||||
def AddBintools(self, tools):
|
||||
def AddBintools(self, btools):
|
||||
"""Add the bintools used by this entry type
|
||||
|
||||
Args:
|
||||
tools (dict of Bintool):
|
||||
btools (dict of Bintool):
|
||||
"""
|
||||
pass
|
||||
|
||||
|
@ -488,6 +488,6 @@ class Entry_fit(Entry_section):
|
||||
section.SetOffsetSize(offset, size)
|
||||
section.SetImagePos(self.image_pos)
|
||||
|
||||
def AddBintools(self, tools):
|
||||
super().AddBintools(tools)
|
||||
self.mkimage = self.AddBintool(tools, 'mkimage')
|
||||
def AddBintools(self, btools):
|
||||
super().AddBintools(btools)
|
||||
self.mkimage = self.AddBintool(btools, 'mkimage')
|
||||
|
@ -99,5 +99,5 @@ class Entry_gbb(Entry):
|
||||
|
||||
return True
|
||||
|
||||
def AddBintools(self, tools):
|
||||
self.futility = self.AddBintool(tools, 'futility')
|
||||
def AddBintools(self, btools):
|
||||
self.futility = self.AddBintool(btools, 'futility')
|
||||
|
@ -143,5 +143,5 @@ class Entry_intel_ifwi(Entry_blob_ext):
|
||||
for entry in self._ifwi_entries.values():
|
||||
entry.WriteSymbols(self)
|
||||
|
||||
def AddBintools(self, tools):
|
||||
self.ifwitool = self.AddBintool(tools, 'ifwitool')
|
||||
def AddBintools(self, btools):
|
||||
self.ifwitool = self.AddBintool(btools, 'ifwitool')
|
||||
|
@ -93,5 +93,5 @@ class Entry_mkimage(Entry):
|
||||
for entry in self._mkimage_entries.values():
|
||||
entry.CheckFakedBlobs(faked_blobs_list)
|
||||
|
||||
def AddBintools(self, tools):
|
||||
self.mkimage = self.AddBintool(tools, 'mkimage')
|
||||
def AddBintools(self, btools):
|
||||
self.mkimage = self.AddBintool(btools, 'mkimage')
|
||||
|
@ -895,6 +895,6 @@ class Entry_section(Entry):
|
||||
for entry in self._entries.values():
|
||||
entry.CheckAltFormats(alt_formats)
|
||||
|
||||
def AddBintools(self, tools):
|
||||
def AddBintools(self, btools):
|
||||
for entry in self._entries.values():
|
||||
entry.AddBintools(tools)
|
||||
entry.AddBintools(btools)
|
||||
|
@ -97,5 +97,5 @@ class Entry_vblock(Entry_collection):
|
||||
data = self.GetVblock(True)
|
||||
return self.ProcessContentsUpdate(data)
|
||||
|
||||
def AddBintools(self, tools):
|
||||
self.futility = self.AddBintool(tools, 'futility')
|
||||
def AddBintools(self, btools):
|
||||
self.futility = self.AddBintool(btools, 'futility')
|
||||
|
Loading…
Reference in New Issue
Block a user