intel_fsp.py 969 B

123456789101112131415161718192021222324252627
  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 Firmware Support Package binary blob
  6. #
  7. from entry import Entry
  8. from blob import Entry_blob
  9. class Entry_intel_fsp(Entry_blob):
  10. """Entry containing an Intel Firmware Support Package (FSP) file
  11. Properties / Entry arguments:
  12. - filename: Filename of file to read into entry
  13. This file contains binary blobs which are used on some devices to make the
  14. platform work. U-Boot executes this code since it is not possible to set up
  15. the hardware using U-Boot open-source code. Documentation is typically not
  16. available in sufficient detail to allow this.
  17. An example filename is 'FSP/QUEENSBAY_FSP_GOLD_001_20-DECEMBER-2013.fd'
  18. See README.x86 for information about x86 binary blobs.
  19. """
  20. def __init__(self, section, etype, node):
  21. Entry_blob.__init__(self, section, etype, node)