]> git.sur5r.net Git - u-boot/blob - tools/binman/etype/u_boot.py
binman: Add basic entry types for U-Boot
[u-boot] / tools / binman / etype / u_boot.py
1 # Copyright (c) 2016 Google, Inc
2 # Written by Simon Glass <sjg@chromium.org>
3 #
4 # SPDX-License-Identifier:      GPL-2.0+
5 #
6 # Entry-type module for U-Boot binary
7 #
8
9 from entry import Entry
10 from blob import Entry_blob
11
12 class Entry_u_boot(Entry_blob):
13     def __init__(self, image, etype, node):
14         Entry_blob.__init__(self, image, etype, node)
15
16     def GetDefaultFilename(self):
17         return 'u-boot.bin'