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 an SPL binary with an embedded microcode pointer
10 from binman.etype.u_boot_with_ucode_ptr import Entry_u_boot_with_ucode_ptr
12 class Entry_u_boot_spl_with_ucode_ptr(Entry_u_boot_with_ucode_ptr):
13 """U-Boot SPL with embedded microcode pointer
15 This is used when SPL must set up the microcode for U-Boot.
17 See Entry_u_boot_ucode for full details of the entries involved in this
20 def __init__(self, section, etype, node):
21 Entry_u_boot_with_ucode_ptr.__init__(self, section, etype, node)
22 self.elf_fname = 'spl/u-boot-spl'
24 def GetDefaultFilename(self):
25 return 'spl/u-boot-spl-nodtb.bin'