1# SPDX-License-Identifier: GPL-2.0+ 2# Copyright (c) 2016 Google, Inc 3# Written by Simon Glass <sjg@chromium.org> 4# 5# Entry-type module for an TPL 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_tpl_with_ucode_ptr(Entry_u_boot_with_ucode_ptr): 17 """U-Boot TPL 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, section, etype, node): 23 Entry_u_boot_with_ucode_ptr.__init__(self, section, etype, node) 24 self.elf_fname = 'tpl/u-boot-tpl' 25 26 def GetDefaultFilename(self): 27 return 'tpl/u-boot-tpl-nodtb.bin' 28