Merge tag 'u-boot-rockchip-20200501' of https://gitlab.denx.de/u-boot/custodians...
[platform/kernel/u-boot.git] / tools / binman / etype / intel_fsp.py
1 # SPDX-License-Identifier: GPL-2.0+
2 # Copyright (c) 2016 Google, Inc
3 # Written by Simon Glass <sjg@chromium.org>
4 #
5 # Entry-type module for Intel Firmware Support Package binary blob
6 #
7
8 from binman.entry import Entry
9 from binman.etype.blob import Entry_blob
10
11 class Entry_intel_fsp(Entry_blob):
12     """Entry containing an Intel Firmware Support Package (FSP) file
13
14     Properties / Entry arguments:
15         - filename: Filename of file to read into entry
16
17     This file contains binary blobs which are used on some devices to make the
18     platform work. U-Boot executes this code since it is not possible to set up
19     the hardware using U-Boot open-source code. Documentation is typically not
20     available in sufficient detail to allow this.
21
22     An example filename is 'FSP/QUEENSBAY_FSP_GOLD_001_20-DECEMBER-2013.fd'
23
24     See README.x86 for information about x86 binary blobs.
25     """
26     def __init__(self, section, etype, node):
27         Entry_blob.__init__(self, section, etype, node)