rockchip: rk3399: Add Nanopi M4 2GB board support
[platform/kernel/u-boot.git] / tools / binman / etype / u_boot_nodtb.py
1 # SPDX-License-Identifier: GPL-2.0+
2 # Copyright (c) 2016 Google, Inc
3 # Written by Simon Glass <sjg@chromium.org>
4 #
5 # Entry-type module for 'u-boot-nodtb.bin'
6 #
7
8 from entry import Entry
9 from blob import Entry_blob
10
11 class Entry_u_boot_nodtb(Entry_blob):
12     """U-Boot flat binary without device tree appended
13
14     Properties / Entry arguments:
15         - filename: Filename of u-boot.bin (default 'u-boot-nodtb.bin')
16
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).
22     """
23     def __init__(self, section, etype, node):
24         Entry_blob.__init__(self, section, etype, node)
25
26     def GetDefaultFilename(self):
27         return 'u-boot-nodtb.bin'