]> git.baikalelectronics.ru Git - uboot.git/commitdiff
binman: Read the fit entries only once
authorSimon Glass <sjg@chromium.org>
Sun, 6 Mar 2022 03:19:06 +0000 (20:19 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 19 Mar 2022 01:24:25 +0000 (19:24 -0600)
At present the entries are read twice, once by the entry_Section class
and once by the FIT implementation. This is harmless but can be confusing
when debugging. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
tools/binman/etype/fit.py

index 1b93044d09def3e6e8df56ca094baca976e593b3..9bc25888e86073221115a81eb24097126edd3845 100644 (file)
@@ -185,7 +185,6 @@ class Entry_fit(Entry_section):
         self.mkimage = None
 
     def ReadNode(self):
-        self.ReadEntries()
         super().ReadNode()
 
     def _get_operation(self, subnode):