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 U-Boot device tree with the microcode removed
6#
7
8import control
9from entry import Entry
10from u_boot_dtb_with_ucode import Entry_u_boot_dtb_with_ucode
11import tools
12
13class Entry_u_boot_tpl_dtb_with_ucode(Entry_u_boot_dtb_with_ucode):
14    """U-Boot TPL with embedded microcode pointer
15
16    This is used when TPL must set up the microcode for U-Boot.
17
18    See Entry_u_boot_ucode for full details of the entries involved in this
19    process.
20    """
21    def __init__(self, section, etype, node):
22        Entry_u_boot_dtb_with_ucode.__init__(self, section, etype, node)
23
24    def GetDefaultFilename(self):
25        return 'tpl/u-boot-tpl.dtb'
26