From 263427040784f1fdb519c827e463c8b4ef192370 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 10 Jun 2014 02:01:56 -0400 Subject: build: Remove unused function getSectionsStart() from layoutrom.py. Signed-off-by: Kevin O'Connor --- scripts/layoutrom.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'scripts') diff --git a/scripts/layoutrom.py b/scripts/layoutrom.py index b325406..28e7d0c 100755 --- a/scripts/layoutrom.py +++ b/scripts/layoutrom.py @@ -343,11 +343,6 @@ def getRelocs(sections, type=None, category=None, notcategory=None): out.append(section.finalloc + reloc.offset) return out -# Return the start address and minimum alignment for a set of sections -def getSectionsStart(sections, defaddr=0): - return min([section.finalloc for section in sections - if section.finalloc is not None] or [defaddr]) - # Output the linker scripts for all required sections. def writeLinkerScripts(li, out16, out32seg, out32flat): # Write 16bit linker script -- cgit v1.2.1