binman: Drop GetRootSkipAtStart()
authorSimon Glass <sjg@chromium.org>
Thu, 10 Apr 2025 12:43:00 +0000 (06:43 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 11 Apr 2025 20:29:52 +0000 (14:29 -0600)
This method is not called anymore, so drop it.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/etype/section.py

index 5e11cf5..4c4c8c4 100644 (file)
@@ -662,23 +662,6 @@ class Entry_section(Entry):
         else:
             raise ValueError("%s: No such property '%s'" % (msg, prop_name))
 
-    def GetRootSkipAtStart(self):
-        """Get the skip-at-start value for the top-level section
-
-        This is used to find out the starting offset for root section that
-        contains this section. If this is a top-level section then it returns
-        the skip-at-start offset for this section.
-
-        This is used to get the absolute position of section within the image.
-
-        Returns:
-            Integer skip-at-start value for the root section containing this
-                section
-        """
-        if self.section:
-            return self.section.GetRootSkipAtStart()
-        return self._skip_at_start
-
     def GetStartOffset(self):
         """Get the start offset for this section