]> Git Repo - J-u-boot.git/commitdiff
binman: fit: Set the image_pos attributes only once
authorSimon Glass <[email protected]>
Mon, 26 Aug 2024 19:11:36 +0000 (13:11 -0600)
committerSimon Glass <[email protected]>
Thu, 26 Sep 2024 10:40:30 +0000 (12:40 +0200)
The section etype has its own implementation of SetImagePos(), most of
which is not useful since the code is included here. So call
Entry.SetImagePos() which has the only piece of this which we actually
want.

Signed-off-by: Simon Glass <[email protected]>
tools/binman/etype/fit.py

index 3adc4a959e8e54fa6923fc25ad3d4bc026b693ec..96f4fdf33339feb1b5bc796658a44df6a15f098c 100644 (file)
@@ -894,7 +894,10 @@ class Entry_fit(Entry_section):
         """
         if self.build_done:
             return
-        super().SetImagePos(image_pos)
+
+        # Skip the section processing, since we do that below. Just call the
+        # entry method
+        Entry.SetImagePos(self, image_pos)
 
         # If mkimage is missing we'll have empty data,
         # which will cause a FDT_ERR_BADMAGIC error
This page took 0.034425 seconds and 4 git commands to generate.