1# SPDX-License-Identifier: GPL-2.0+
2# Copyright 2020 Google LLC
3# Written by Simon Glass <sjg@chromium.org>
4#
5# Entry-type module for Intel Management Engine binary blob
6#
7
8from binman.etype.blob_named_by_arg import Entry_blob_named_by_arg
9
10class Entry_atf_bl31(Entry_blob_named_by_arg):
11    """Entry containing an ARM Trusted Firmware (ATF) BL31 blob
12
13    Properties / Entry arguments:
14        - atf-bl31-path: Filename of file to read into entry. This is typically
15            called bl31.bin or bl31.elf
16
17    This entry holds the run-time firmware, typically started by U-Boot SPL.
18    See the U-Boot README for your architecture or board for how to use it. See
19    https://github.com/ARM-software/arm-trusted-firmware for more information
20    about ATF.
21    """
22    def __init__(self, section, etype, node):
23        super().__init__(section, etype, node, 'atf-bl31')
24        self.external = True
25