Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vc/intel/raptorlake: Add the FSP v4301.01 headers
Move the existing FSP 4221.00 headers for Raptor Lake to a subdirectory called 4221.00_google, and select this if the vendor is Google. Add the standard FSP 4301.01 headers to a separate directory, from Intel download #686654, and select this for all other vendors. Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: Icd99bdee1eeac70dfcaca3d07150d3de6bb83d81 Reviewed-on: https://review.coreboot.org/c/coreboot/+/77101 Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
- Loading branch information
1 parent
04c49a5
commit e3d9b0a
Showing
11 changed files
with
8,889 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
68 changes: 68 additions & 0 deletions
68
src/vendorcode/intel/fsp/fsp2_0/raptorlake/4301.01/FirmwareVersionInfoHob.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
/** @file | ||
Header file for Firmware Version Information | ||
@copyright | ||
Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR> | ||
This program and the accompanying materials are licensed and made available under | ||
the terms and conditions of the BSD License which accompanies this distribution. | ||
The full text of the license may be found at | ||
http://opensource.org/licenses/bsd-license.php | ||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. | ||
**/ | ||
|
||
#ifndef _FIRMWARE_VERSION_INFO_HOB_H_ | ||
#define _FIRMWARE_VERSION_INFO_HOB_H_ | ||
|
||
#include <Uefi/UefiMultiPhase.h> | ||
#include <Pi/PiBootMode.h> | ||
#include <Pi/PiHob.h> | ||
|
||
#pragma pack(1) | ||
/// | ||
/// Firmware Version Structure | ||
/// | ||
typedef struct { | ||
UINT8 MajorVersion; | ||
UINT8 MinorVersion; | ||
UINT8 Revision; | ||
UINT16 BuildNumber; | ||
} FIRMWARE_VERSION; | ||
|
||
/// | ||
/// Firmware Version Information Structure | ||
/// | ||
typedef struct { | ||
UINT8 ComponentNameIndex; ///< Offset 0 Index of Component Name | ||
UINT8 VersionStringIndex; ///< Offset 1 Index of Version String | ||
FIRMWARE_VERSION Version; ///< Offset 2-6 Firmware version | ||
} FIRMWARE_VERSION_INFO; | ||
|
||
#ifndef __SMBIOS_STANDARD_H__ | ||
/// | ||
/// The Smbios structure header. | ||
/// | ||
typedef struct { | ||
UINT8 Type; | ||
UINT8 Length; | ||
UINT16 Handle; | ||
} SMBIOS_STRUCTURE; | ||
#endif | ||
|
||
/// | ||
/// Firmware Version Information HOB Structure | ||
/// | ||
typedef struct { | ||
EFI_HOB_GUID_TYPE Header; ///< Offset 0-23 The header of FVI HOB | ||
SMBIOS_STRUCTURE SmbiosData; ///< Offset 24-27 The SMBIOS header of FVI HOB | ||
UINT8 Count; ///< Offset 28 Number of FVI elements included. | ||
/// | ||
/// FIRMWARE_VERSION_INFO structures followed by the null terminated string buffer | ||
/// | ||
} FIRMWARE_VERSION_INFO_HOB; | ||
#pragma pack() | ||
|
||
#endif // _FIRMWARE_VERSION_INFO_HOB_H_ |
48 changes: 48 additions & 0 deletions
48
src/vendorcode/intel/fsp/fsp2_0/raptorlake/4301.01/FspUpd.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
/** @file | ||
Copyright (c) 2023, Intel Corporation. All rights reserved.<BR> | ||
Redistribution and use in source and binary forms, with or without modification, | ||
are permitted provided that the following conditions are met: | ||
* Redistributions of source code must retain the above copyright notice, this | ||
list of conditions and the following disclaimer. | ||
* Redistributions in binary form must reproduce the above copyright notice, this | ||
list of conditions and the following disclaimer in the documentation and/or | ||
other materials provided with the distribution. | ||
* Neither the name of Intel Corporation nor the names of its contributors may | ||
be used to endorse or promote products derived from this software without | ||
specific prior written permission. | ||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | ||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE | ||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | ||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | ||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF | ||
THE POSSIBILITY OF SUCH DAMAGE. | ||
This file is automatically generated. Please do NOT modify !!! | ||
**/ | ||
|
||
#ifndef __FSPUPD_H__ | ||
#define __FSPUPD_H__ | ||
|
||
#include <FspEas.h> | ||
|
||
#pragma pack(1) | ||
|
||
#define FSPT_UPD_SIGNATURE 0x545F4450554C4441 /* 'ADLUPD_T' */ | ||
|
||
#define FSPM_UPD_SIGNATURE 0x4D5F4450554C4441 /* 'ADLUPD_M' */ | ||
|
||
#define FSPS_UPD_SIGNATURE 0x535F4450554C4441 /* 'ADLUPD_S' */ | ||
|
||
#pragma pack() | ||
|
||
#endif |
Oops, something went wrong.