vendorcode/skylake: Add FSP header files without any adaptations
Add header files as is from FSP build output. Move the FSP header files to new location as in apollolake. Update all the FSP structure references now that they are typedef'd. Change-Id: I148bff04c064cf853eccaaaf7a465d0079c46b07 Signed-off-by: Rizwan Qureshi <rizwan.qureshi@intel.com> Reviewed-on: https://review.coreboot.org/16517 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
55eee48b0e
commit
d2ec56985f
|
@ -20,7 +20,9 @@
|
|||
**/
|
||||
#ifndef _CPU_CONFIG_FSP_DATA_H_
|
||||
#define _CPU_CONFIG_FSP_DATA_H_
|
||||
union CPU_CONFIG_FSP_DATA {
|
||||
|
||||
#pragma pack (push,1)
|
||||
typedef union {
|
||||
struct {
|
||||
/**
|
||||
Enable or Disable Advanced Encryption Standard (AES) feature.
|
||||
|
@ -28,7 +30,7 @@ union CPU_CONFIG_FSP_DATA {
|
|||
- 0: Disable
|
||||
- <b>1: Enable</b>
|
||||
**/
|
||||
uint32_t AesEnable : 1;
|
||||
UINT32 AesEnable : 1;
|
||||
/**
|
||||
Processor Early Power On Configuration FCLK setting.
|
||||
- <b>0: 800 MHz (ULT/ULX)</b>.
|
||||
|
@ -36,33 +38,34 @@ union CPU_CONFIG_FSP_DATA {
|
|||
- 2: 400 MHz.
|
||||
- 3: Reserved.
|
||||
**/
|
||||
uint32_t FClkFrequency : 2;
|
||||
uint32_t EnableRsr : 1; ///< Enable or Disable RSR feature; 0: Disable; <b>1: Enable </b>
|
||||
UINT32 FClkFrequency : 2;
|
||||
UINT32 EnableRsr : 1; ///< Enable or Disable RSR feature; 0: Disable; <b>1: Enable </b>
|
||||
/**
|
||||
Policies to obtain CPU temperature.
|
||||
- <b>0: ACPI thermal management uses EC reported temperature values</b>.
|
||||
- 1: ACPI thermal management uses DTS SMM mechanism to obtain CPU temperature values.
|
||||
- 2: ACPI Thermal Management uses EC reported temperature values and DTS SMM is used to handle Out of Spec condition.
|
||||
**/
|
||||
uint32_t EnableDts : 2;
|
||||
uint32_t SmmbaseSwSmiNumber : 8; ///< Software SMI number for handler to save CPU information in SMRAM.
|
||||
UINT32 EnableDts : 2;
|
||||
UINT32 SmmbaseSwSmiNumber : 8; ///< Software SMI number for handler to save CPU information in SMRAM.
|
||||
/**
|
||||
Enable or Disable Virtual Machine Extensions (VMX) feature.
|
||||
- 0: Disable
|
||||
- <b>1: Enable</b>
|
||||
**/
|
||||
uint32_t VmxEnable : 1;
|
||||
UINT32 VmxEnable : 1;
|
||||
/**
|
||||
Enable or Disable Trusted Execution Technology (TXT) feature.
|
||||
- 0: Disable
|
||||
- <b>1: Enable</b>
|
||||
**/
|
||||
uint32_t TxtEnable : 1;
|
||||
uint32_t SkipMpInit : 1; ///< For Fsp only, Silicon Initialization will skip MP Initialization (including BSP) if enabled. For non-FSP, this should always be 0.
|
||||
uint32_t RsvdBits : 15; ///< Reserved for future use
|
||||
uint64_t MicrocodePatchAddress; ///< Pointer to microcode patch that is suitable for this processor.
|
||||
UINT32 TxtEnable : 1;
|
||||
UINT32 SkipMpInit : 1; ///< For Fsp only, Silicon Initialization will skip MP Initialization (including BSP) if enabled. For non-FSP, this should always be 0.
|
||||
UINT32 RsvdBits : 15; ///< Reserved for future use
|
||||
EFI_PHYSICAL_ADDRESS MicrocodePatchAddress; ///< Pointer to microcode patch that is suitable for this processor.
|
||||
} Bits;
|
||||
uint32_t Uint32[3];
|
||||
};
|
||||
UINT32 Uint32[3];
|
||||
} CPU_CONFIG_FSP_DATA;
|
||||
#pragma pack (pop)
|
||||
|
||||
#endif // _CPU_CONFIG_FSP_DATA_H_
|
|
@ -33,10 +33,16 @@ are permitted provided that the following conditions are met:
|
|||
#ifndef __FSPUPD_H__
|
||||
#define __FSPUPD_H__
|
||||
|
||||
#include <FspEas.h>
|
||||
|
||||
#pragma pack(push, 1)
|
||||
|
||||
#define FSPT_UPD_SIGNATURE 0x545F4450554C424B /* 'KBLUPD_T' */
|
||||
|
||||
#define FSPM_UPD_SIGNATURE 0x4D5F4450554C424B /* 'KBLUPD_M' */
|
||||
|
||||
#define FSPS_UPD_SIGNATURE 0x535F4450554C424B /* 'KBLUPD_S' */
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
#endif
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue