diff options
author | Simon Glass <sjg@chromium.org> | 2021-11-23 21:09:53 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-12-05 09:23:15 -0700 |
commit | 5bf81216463dbeb5b5dcdbc22e2f5c8589c333fb (patch) | |
tree | 8d992a5dc77990cd8ebbe581e73e24356ead48ad | |
parent | cc2c50042690151b1b31d9b6d0f1a9dc5831ee5f (diff) | |
download | u-boot-5bf81216463dbeb5b5dcdbc22e2f5c8589c333fb.zip u-boot-5bf81216463dbeb5b5dcdbc22e2f5c8589c333fb.tar.gz u-boot-5bf81216463dbeb5b5dcdbc22e2f5c8589c333fb.tar.bz2 |
binman: Rename _ReadSubnodes() to ReadEntries()
This method name is more commonly used for this function. Use it
consistently.
Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | tools/binman/etype/fit.py | 4 | ||||
-rw-r--r-- | tools/binman/etype/intel_ifwi.py | 4 | ||||
-rw-r--r-- | tools/binman/etype/mkimage.py | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/tools/binman/etype/fit.py b/tools/binman/etype/fit.py index 6936f57..b41187d 100644 --- a/tools/binman/etype/fit.py +++ b/tools/binman/etype/fit.py @@ -136,10 +136,10 @@ class Entry_fit(Entry): str)])[0] def ReadNode(self): - self._ReadSubnodes() + self.ReadEntries() super().ReadNode() - def _ReadSubnodes(self): + def ReadEntries(self): def _AddNode(base_node, depth, node): """Add a node to the FIT diff --git a/tools/binman/etype/intel_ifwi.py b/tools/binman/etype/intel_ifwi.py index 903d39b..ecbd78d 100644 --- a/tools/binman/etype/intel_ifwi.py +++ b/tools/binman/etype/intel_ifwi.py @@ -50,7 +50,7 @@ class Entry_intel_ifwi(Entry_blob_ext): self._ifwi_entries = OrderedDict() def ReadNode(self): - self._ReadSubnodes() + self.ReadEntries() super().ReadNode() def _BuildIfwi(self): @@ -117,7 +117,7 @@ class Entry_intel_ifwi(Entry_blob_ext): same = orig_data == self.data return same - def _ReadSubnodes(self): + def ReadEntries(self): """Read the subnodes to find out what should go in this IFWI""" for node in self._node.subnodes: entry = Entry.Create(self.section, node) diff --git a/tools/binman/etype/mkimage.py b/tools/binman/etype/mkimage.py index e499775..c08fd9d 100644 --- a/tools/binman/etype/mkimage.py +++ b/tools/binman/etype/mkimage.py @@ -37,7 +37,7 @@ class Entry_mkimage(Entry): self._args = fdt_util.GetString(self._node, 'args').split(' ') self._mkimage_entries = OrderedDict() self.align_default = None - self._ReadSubnodes() + self.ReadEntries() def ObtainContents(self): data = b'' @@ -55,7 +55,7 @@ class Entry_mkimage(Entry): self.SetContents(tools.ReadFile(output_fname)) return True - def _ReadSubnodes(self): + def ReadEntries(self): """Read the subnodes to find out what should go in this image""" for node in self._node.subnodes: entry = Entry.Create(self, node) |