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
9import struct
10
11import command
12from entry import Entry
13from blob import Entry_blob
14from u_boot_with_ucode_ptr import Entry_u_boot_with_ucode_ptr
15import tools
16
17class 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):
24        Entry_u_boot_with_ucode_ptr.__init__(self, image, etype, node)
25        self.elf_fname = 'spl/u-boot-spl'
26
27    def GetDefaultFilename(self):
28        return 'spl/u-boot-spl.bin'
29