scp.py 655 B

12345678910111213141516171819
  1. # SPDX-License-Identifier: GPL-2.0+
  2. # Copyright 2020 Samuel Holland <samuel@sholland.org>
  3. #
  4. # Entry-type module for System Control Processor (SCP) firmware blob
  5. #
  6. from binman.etype.blob_named_by_arg import Entry_blob_named_by_arg
  7. class Entry_scp(Entry_blob_named_by_arg):
  8. """System Control Processor (SCP) firmware blob
  9. Properties / Entry arguments:
  10. - scp-path: Filename of file to read into the entry, typically scp.bin
  11. This entry holds firmware for an external platform-specific coprocessor.
  12. """
  13. def __init__(self, section, etype, node):
  14. super().__init__(section, etype, node, 'scp')
  15. self.external = True