]>
Commit | Line | Data |
---|---|---|
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 | ||
8 | import struct | |
9 | ||
10 | import command | |
11 | from entry import Entry | |
12 | from blob import Entry_blob | |
13 | from u_boot_with_ucode_ptr import Entry_u_boot_with_ucode_ptr | |
14 | import tools | |
15 | ||
16 | class 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' |