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
8from binman.etype.blob_ext import Entry_blob_ext
9
10class Entry_intel_refcode(Entry_blob_ext):
11    """Intel Reference Code 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 platform on some Intel systems.
17    This is executed by U-Boot when needed early during startup. A typical
18    filename is 'refcode.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 'refcode.bin'
27