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_img(Entry_blob):
12 """U-Boot legacy image
14 Properties / Entry arguments:
15 - filename: Filename of u-boot.img (default 'u-boot.img')
17 This is the U-Boot binary as a packaged image, in legacy format. It has a
18 header which allows it to be loaded at the correct address for execution.
20 You should use FIT (Flat Image Tree) instead of the legacy image for new
23 def __init__(self, section, etype, node):
24 Entry_blob.__init__(self, section, etype, node)
26 def GetDefaultFilename(self):