intel_refcode.py 810 B

1234567891011121314151617181920212223242526
  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. from binman.etype.blob_ext import Entry_blob_ext
  8. class Entry_intel_refcode(Entry_blob_ext):
  9. """Intel Reference Code file
  10. Properties / Entry arguments:
  11. - filename: Filename of file to read into entry
  12. This file contains code for setting up the platform on some Intel systems.
  13. This is executed by U-Boot when needed early during startup. A typical
  14. filename is 'refcode.bin'.
  15. See README.x86 for information about x86 binary blobs.
  16. """
  17. def __init__(self, section, etype, node):
  18. super().__init__(section, etype, node)
  19. def GetDefaultFilename(self):
  20. return 'refcode.bin'