binman: Drop GetRootSkipAtStart()

This method is not called anymore, so drop it.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-04-10 06:43:00 -06:00
committed by Tom Rini
parent a876295e1b
commit 0148be7cd4

View File

@@ -662,23 +662,6 @@ class Entry_section(Entry):
else: else:
raise ValueError("%s: No such property '%s'" % (msg, prop_name)) 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): def GetStartOffset(self):
"""Get the start offset for this section """Get the start offset for this section