mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-19 03:03:22 +09:00
dc2f81a2c8
Add an entry for ARM Trusted Firmware's 'BL31' payload, which is the device's main firmware. Typically this is U-Boot. Signed-off-by: Simon Glass <sjg@chromium.org>
25 lines
900 B
Python
25 lines
900 B
Python
# SPDX-License-Identifier: GPL-2.0+
|
|
# Copyright 2020 Google LLC
|
|
# Written by Simon Glass <sjg@chromium.org>
|
|
#
|
|
# Entry-type module for Intel Management Engine binary blob
|
|
#
|
|
|
|
from binman.etype.blob_named_by_arg import Entry_blob_named_by_arg
|
|
|
|
class Entry_atf_bl31(Entry_blob_named_by_arg):
|
|
"""Entry containing an ARM Trusted Firmware (ATF) BL31 blob
|
|
|
|
Properties / Entry arguments:
|
|
- atf-bl31-path: Filename of file to read into entry. This is typically
|
|
called bl31.bin or bl31.elf
|
|
|
|
This entry holds the run-time firmware, typically started by U-Boot SPL.
|
|
See the U-Boot README for your architecture or board for how to use it. See
|
|
https://github.com/ARM-software/arm-trusted-firmware for more information
|
|
about ATF.
|
|
"""
|
|
def __init__(self, section, etype, node):
|
|
super().__init__(section, etype, node, 'atf-bl31')
|
|
self.external = True
|