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