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_refcode(Entry_blob): 12 """Entry containing an Intel Reference Code 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 platform on some Intel systems. 18 This is executed by U-Boot when needed early during startup. A typical 19 filename is 'refcode.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 'refcode.bin' 28