summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/soc/intel/meteorlake/romstage/fsp_params.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/soc/intel/meteorlake/romstage/fsp_params.c b/src/soc/intel/meteorlake/romstage/fsp_params.c
index 704cb54dbf..a45f23f46b 100644
--- a/src/soc/intel/meteorlake/romstage/fsp_params.c
+++ b/src/soc/intel/meteorlake/romstage/fsp_params.c
@@ -9,6 +9,7 @@
#include <device/device.h>
#include <device/pci.h>
#include <drivers/wifi/generic/wifi.h>
+#include <elog.h>
#include <fsp/fsp_debug_event.h>
#include <fsp/util.h>
#include <intelbasecode/ramtop.h>
@@ -435,14 +436,19 @@ static void fill_fspm_sign_of_life(FSP_M_CONFIG *m_cfg,
void *vbt;
size_t vbt_size;
uint32_t vga_init_control = 0;
+ uint8_t sol_type;
/* Memory training. */
- if (!arch_upd->NvsBufferPtr)
+ if (!arch_upd->NvsBufferPtr) {
vga_init_control = VGA_INIT_CONTROL_ENABLE |
VGA_INIT_CONTROL_TEAR_DOWN;
+ sol_type = ELOG_FW_EARLY_SOL_MRC;
+ }
- if (is_cse_fw_update_required())
+ if (is_cse_fw_update_required()) {
vga_init_control = VGA_INIT_CONTROL_ENABLE;
+ sol_type = ELOG_FW_EARLY_SOL_CSE_SYNC;
+ }
if (!vga_init_control)
return;
@@ -461,6 +467,7 @@ static void fill_fspm_sign_of_life(FSP_M_CONFIG *m_cfg,
}
printk(BIOS_INFO, "Enabling FSP-M Sign-of-Life\n");
+ elog_add_event_byte(ELOG_TYPE_FW_EARLY_SOL, sol_type);
m_cfg->VgaInitControl = vga_init_control;
m_cfg->VbtPtr = (UINT32)vbt;