Merge tag 'u-boot-rockchip-20200501' of https://gitlab.denx.de/u-boot/custodians...
[platform/kernel/u-boot.git] / tools / binman / etype / intel_fsp_m.py
1 # SPDX-License-Identifier: GPL-2.0+
2 # Copyright 2019 Google LLC
3 # Written by Simon Glass <sjg@chromium.org>
4 #
5 # Entry-type module for Intel Firmware Support Package binary blob (M section)
6 #
7
8 from binman.entry import Entry
9 from binman.etype.blob import Entry_blob
10
11 class Entry_intel_fsp_m(Entry_blob):
12     """Entry containing Intel Firmware Support Package (FSP) memory init
13
14     Properties / Entry arguments:
15         - filename: Filename of file to read into entry
16
17     This file contains a binary blob which is used on some devices to set up
18     SDRAM. U-Boot executes this code in SPL so that it can make full use of
19     memory. Documentation is typically not available in sufficient detail to
20     allow U-Boot do this this itself..
21
22     An example filename is 'fsp_m.bin'
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)