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