summaryrefslogtreecommitdiffstats
path: root/tools/binman/etype
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-09-01 05:13:58 -0600
committerSimon Glass <sjg@chromium.org>2020-09-22 12:50:43 -0600
commitdc2f81a2c89468371cf404816ed57481718deb7f (patch)
tree616bf002956581de23a55c5f9e4b3857cd68f13b /tools/binman/etype
parent8795898a53dae112857f06b49e58cfe94a731dfa (diff)
downloadu-boot-dc2f81a2c89468371cf404816ed57481718deb7f.tar.gz
u-boot-dc2f81a2c89468371cf404816ed57481718deb7f.tar.xz
u-boot-dc2f81a2c89468371cf404816ed57481718deb7f.zip
binman: Add support for ATF BL31
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>
Diffstat (limited to 'tools/binman/etype')
-rw-r--r--tools/binman/etype/atf_bl31.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/tools/binman/etype/atf_bl31.py b/tools/binman/etype/atf_bl31.py
new file mode 100644
index 0000000000..195adc714b
--- /dev/null
+++ b/tools/binman/etype/atf_bl31.py
@@ -0,0 +1,24 @@
+# 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