1 # SPDX-License-Identifier: GPL-2.0+
2 # Copyright (c) 2016 Google, Inc
3 # Written by Simon Glass <sjg@chromium.org>
5 # Entry-type module for spl/u-boot-spl.bin
10 from entry import Entry
11 from blob import Entry_blob
13 class Entry_u_boot_spl(Entry_blob):
14 def __init__(self, section, etype, node):
15 Entry_blob.__init__(self, section, etype, node)
16 self.elf_fname = 'spl/u-boot-spl'
18 def GetDefaultFilename(self):
19 return 'spl/u-boot-spl.bin'
21 def WriteSymbols(self, section):
22 elf.LookupAndWriteSymbols(self.elf_fname, self, section)