1 # SPDX-License-Identifier: GPL-2.0+
2 # Copyright (c) 2016 Google, Inc
3 # Written by Simon Glass <sjg@chromium.org>
5 # Entry-type module for U-Boot device tree with the microcode removed
8 from binman.etype.u_boot_dtb_with_ucode import Entry_u_boot_dtb_with_ucode
10 class Entry_u_boot_tpl_dtb_with_ucode(Entry_u_boot_dtb_with_ucode):
11 """U-Boot TPL with embedded microcode pointer
13 This is used when TPL must set up the microcode for U-Boot.
15 See Entry_u_boot_ucode for full details of the entries involved in this
18 def __init__(self, section, etype, node):
19 super().__init__(section, etype, node)
21 def GetDefaultFilename(self):
22 return 'tpl/u-boot-tpl.dtb'
24 def GetFdtEtype(self):
25 return 'u-boot-tpl-dtb'