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
6#
7
8from entry import Entry
9from blob import Entry_blob
10
11class Entry_u_boot_dtb(Entry_blob):
12    """U-Boot device tree
13
14    Properties / Entry arguments:
15        - filename: Filename of u-boot.dtb (default 'u-boot.dtb')
16
17    This is the U-Boot device tree, containing configuration information for
18    U-Boot. U-Boot needs this to know what devices are present and which drivers
19    to activate.
20    """
21    def __init__(self, section, etype, node):
22        Entry_blob.__init__(self, section, etype, node)
23
24    def GetDefaultFilename(self):
25        return 'u-boot.dtb'
26