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-nodtb.bin'
8 from entry import Entry
9 from blob import Entry_blob
11 class Entry_u_boot_nodtb(Entry_blob):
12 """U-Boot flat binary without device tree appended
14 Properties / Entry arguments:
15 - filename: Filename of u-boot.bin (default 'u-boot-nodtb.bin')
17 This is the U-Boot binary, containing relocation information to allow it
18 to relocate itself at runtime. It does not include a device tree blob at
19 the end of it so normally cannot work without it. You can add a u_boot_dtb
20 entry after this one, or use a u_boot entry instead (which contains both
21 U-Boot and the device tree).
23 def __init__(self, section, etype, node):
24 Entry_blob.__init__(self, section, etype, node)
26 def GetDefaultFilename(self):
27 return 'u-boot-nodtb.bin'