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