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