]>
Commit | Line | Data |
---|---|---|
ce867ad7 SG |
1 | # SPDX-License-Identifier: GPL-2.0+ |
2 | # Copyright (c) 2016 Google, Inc | |
3 | # Written by Simon Glass <[email protected]> | |
4 | # | |
5 | # Entry-type module for external blobs, not built by U-Boot | |
6 | # | |
7 | ||
8 | import os | |
9 | ||
10 | from binman.etype.blob import Entry_blob | |
11 | from dtoc import fdt_util | |
4583c002 SG |
12 | from u_boot_pylib import tools |
13 | from u_boot_pylib import tout | |
ce867ad7 SG |
14 | |
15 | class Entry_blob_ext(Entry_blob): | |
96d340e9 | 16 | """Externally built binary blob |
ce867ad7 SG |
17 | |
18 | Note: This should not be used by itself. It is normally used as a parent | |
19 | class by other entry types. | |
20 | ||
4f9f1056 SG |
21 | If the file providing this blob is missing, binman can optionally ignore it |
22 | and produce a broken image with a warning. | |
23 | ||
ce867ad7 SG |
24 | See 'blob' for Properties / Entry arguments. |
25 | """ | |
26 | def __init__(self, section, etype, node): | |
27 | Entry_blob.__init__(self, section, etype, node) | |
28 | self.external = True |