From 0148be7cd49e8f801662e5af74203e2cdf93a5bb Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 10 Apr 2025 06:43:00 -0600 Subject: [PATCH] binman: Drop GetRootSkipAtStart() This method is not called anymore, so drop it. Signed-off-by: Simon Glass --- tools/binman/etype/section.py | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/tools/binman/etype/section.py b/tools/binman/etype/section.py index 5e11cf58d28..4c4c8c417f8 100644 --- a/tools/binman/etype/section.py +++ b/tools/binman/etype/section.py @@ -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 -- 2.39.5