]> git.ipfire.org Git - thirdparty/u-boot.git/blame - tools/binman/etype/u_boot_spl_with_ucode_ptr.py
SPDX: Convert all of our single license tags to Linux Kernel style
[thirdparty/u-boot.git] / tools / binman / etype / u_boot_spl_with_ucode_ptr.py
CommitLineData
83d290c5 1# SPDX-License-Identifier: GPL-2.0+
75db0860
SG
2# Copyright (c) 2016 Google, Inc
3# Written by Simon Glass <sjg@chromium.org>
4#
75db0860
SG
5# Entry-type module for an SPL binary with an embedded microcode pointer
6#
7
8import struct
9
10import command
11from entry import Entry
12from blob import Entry_blob
13from u_boot_with_ucode_ptr import Entry_u_boot_with_ucode_ptr
14import tools
15
16class Entry_u_boot_spl_with_ucode_ptr(Entry_u_boot_with_ucode_ptr):
17 """U-Boot SPL with embedded microcode pointer
18
19 See Entry_u_boot_ucode for full details of the entries involved in this
20 process.
21 """
22 def __init__(self, image, etype, node):
cdfc0a05 23 Entry_u_boot_with_ucode_ptr.__init__(self, image, etype, node)
75db0860
SG
24 self.elf_fname = 'spl/u-boot-spl'
25
26 def GetDefaultFilename(self):
6b187df7 27 return 'spl/u-boot-spl-nodtb.bin'