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
8 from binman.entry import Entry
9 from binman.etype.blob_dtb import Entry_blob_dtb
11 class Entry_u_boot_dtb(Entry_blob_dtb):
14 Properties / Entry arguments:
15 - filename: Filename of u-boot.dtb (default 'u-boot.dtb')
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
21 Note: This is mostly an internal entry type, used by others. This allows
22 binman to know which entries contain a device tree.
24 def __init__(self, section, etype, node):
25 super().__init__(section, etype, node)
27 def GetDefaultFilename(self):
30 def GetFdtEtype(self):