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 external blobs, not built by U-Boot
6#
7
8import os
9
10from binman.etype.blob import Entry_blob
11from dtoc import fdt_util
12from u_boot_pylib import tools
13from u_boot_pylib import tout
14
15class Entry_blob_ext(Entry_blob):
16    """Externally built binary blob
17
18    Note: This should not be used by itself. It is normally used as a parent
19    class by other entry types.
20
21    If the file providing this blob is missing, binman can optionally ignore it
22    and produce a broken image with a warning.
23
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
29