1 # SPDX-License-Identifier: GPL-2.0+
2 # Copyright (c) 2018 Google, Inc
3 # Written by Simon Glass <sjg@chromium.org>
5 # Entry-type module for U-Boot SPL ELF image
8 from binman.entry import Entry
9 from binman.etype.blob import Entry_blob
11 class Entry_u_boot_spl_elf(Entry_blob):
12 """U-Boot SPL ELF image
14 Properties / Entry arguments:
15 - filename: Filename of SPL u-boot (default 'spl/u-boot-spl')
17 This is the U-Boot SPL ELF image. It does not include a device tree but can
18 be relocated to any address for execution.
20 def __init__(self, section, etype, node):
21 Entry_blob.__init__(self, section, etype, node)
23 def GetDefaultFilename(self):
24 return 'spl/u-boot-spl'