binman: Convert existing binary blobs to blob_ext
[pandora-u-boot.git] / tools / binman / etype / intel_mrc.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 Memory Reference Code binary blob
6 #
7
8 from binman.etype.blob_ext import Entry_blob_ext
9
10 class Entry_intel_mrc(Entry_blob_ext):
11     """Entry containing an Intel Memory Reference Code (MRC) file
12
13     Properties / Entry arguments:
14         - filename: Filename of file to read into entry
15
16     This file contains code for setting up the SDRAM on some Intel systems. This
17     is executed by U-Boot when needed early during startup. A typical filename
18     is 'mrc.bin'.
19
20     See README.x86 for information about x86 binary blobs.
21     """
22     def __init__(self, section, etype, node):
23         super().__init__(section, etype, node)
24
25     def GetDefaultFilename(self):
26         return 'mrc.bin'