soc/intel/tigerlake: Send End-of-Post message to CSE
This is done to ensure the CSE will not execute any pre-boot commands after it receives this command. Verified EOP and error recovery sequence from Intel doc#612229 Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Change-Id: Iae6b2eac11c065749e57c5337d81ed20044fc903 Reviewed-on: https://review.coreboot.org/c/coreboot/+/55632 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
parent
c0e82e705d
commit
25d2452388
|
@ -72,6 +72,7 @@ config CPU_SPECIFIC_OPTIONS
|
||||||
select SOC_INTEL_COMMON_PCH_BASE
|
select SOC_INTEL_COMMON_PCH_BASE
|
||||||
select SOC_INTEL_COMMON_RESET
|
select SOC_INTEL_COMMON_RESET
|
||||||
select SOC_INTEL_COMMON_BLOCK_POWER_LIMIT
|
select SOC_INTEL_COMMON_BLOCK_POWER_LIMIT
|
||||||
|
select SOC_INTEL_CSE_SET_EOP
|
||||||
select SSE2
|
select SSE2
|
||||||
select SUPPORT_CPU_UCODE_IN_CBFS
|
select SUPPORT_CPU_UCODE_IN_CBFS
|
||||||
select TSC_MONOTONIC_TIMER
|
select TSC_MONOTONIC_TIMER
|
||||||
|
|
|
@ -43,10 +43,10 @@
|
||||||
* 2 - Send in DXE (Not applicable for FSP in API mode)
|
* 2 - Send in DXE (Not applicable for FSP in API mode)
|
||||||
*/
|
*/
|
||||||
enum {
|
enum {
|
||||||
EOP_DISABLE,
|
EOP_DISABLE = 0,
|
||||||
EOP_PEI,
|
EOP_PEI = 1,
|
||||||
EOP_DXE,
|
EOP_DXE = 2,
|
||||||
} EndOfPost;
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Chip config parameter PcieRpL1Substates uses (UPD value + 1)
|
* Chip config parameter PcieRpL1Substates uses (UPD value + 1)
|
||||||
|
@ -403,8 +403,8 @@ void platform_fsp_silicon_init_params_cb(FSPS_UPD *supd)
|
||||||
params->RtcMemoryLock = 1;
|
params->RtcMemoryLock = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Enable End of Post in PEI phase */
|
/* coreboot will send EOP before loading payload */
|
||||||
params->EndOfPostMessage = EOP_PEI;
|
params->EndOfPostMessage = EOP_DISABLE;
|
||||||
|
|
||||||
/* USB */
|
/* USB */
|
||||||
for (i = 0; i < ARRAY_SIZE(config->usb2_ports); i++) {
|
for (i = 0; i < ARRAY_SIZE(config->usb2_ports); i++) {
|
||||||
|
|
Loading…
Reference in New Issue