atf_bl31.py 877 B

123456789101112131415161718192021222324
  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 ARM Trusted Firmware binary blob
  6. #
  7. from binman.etype.blob_named_by_arg import Entry_blob_named_by_arg
  8. class Entry_atf_bl31(Entry_blob_named_by_arg):
  9. """ARM Trusted Firmware (ATF) BL31 blob
  10. Properties / Entry arguments:
  11. - atf-bl31-path: Filename of file to read into entry. This is typically
  12. called bl31.bin or bl31.elf
  13. This entry holds the run-time firmware, typically started by U-Boot SPL.
  14. See the U-Boot README for your architecture or board for how to use it. See
  15. https://github.com/ARM-software/arm-trusted-firmware for more information
  16. about ATF.
  17. """
  18. def __init__(self, section, etype, node):
  19. super().__init__(section, etype, node, 'atf-bl31')
  20. self.external = True