]>
git.ipfire.org Git - thirdparty/u-boot.git/blob - tools/binman/etype/u_boot.py
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 binary
8 from entry
import Entry
9 from blob
import Entry_blob
11 class Entry_u_boot(Entry_blob
):
14 Properties / Entry arguments:
15 - filename: Filename of u-boot.bin (default 'u-boot.bin')
17 This is the U-Boot binary, containing relocation information to allow it
18 to relocate itself at runtime. The binary typically includes a device tree
19 blob at the end of it. Use u_boot_nodtb if you want to package the device
22 U-Boot can access binman symbols at runtime. See:
24 'Access to binman entry offsets at run time (fdt)'
26 in the binman README for more information.
28 def __init__(self
, section
, etype
, node
):
29 Entry_blob
.__init
__(self
, section
, etype
, node
)
31 def GetDefaultFilename(self
):