mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-09 06:13:21 +09:00
![Samuel Holland](/assets/img/avatar_default.png)
Add an entry type for a firmware blob for a System Control Processor, given by an entry arg. This firmware is a raw binary blob. Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Samuel Holland <samuel@sholland.org> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
20 lines
674 B
Python
20 lines
674 B
Python
# SPDX-License-Identifier: GPL-2.0+
|
|
# Copyright 2020 Samuel Holland <samuel@sholland.org>
|
|
#
|
|
# Entry-type module for System Control Processor (SCP) firmware blob
|
|
#
|
|
|
|
from binman.etype.blob_named_by_arg import Entry_blob_named_by_arg
|
|
|
|
class Entry_scp(Entry_blob_named_by_arg):
|
|
"""Entry containing a System Control Processor (SCP) firmware blob
|
|
|
|
Properties / Entry arguments:
|
|
- scp-path: Filename of file to read into the entry, typically scp.bin
|
|
|
|
This entry holds firmware for an external platform-specific coprocessor.
|
|
"""
|
|
def __init__(self, section, etype, node):
|
|
super().__init__(section, etype, node, 'scp')
|
|
self.external = True
|