soc/intel/meteorlake: Conditionally update CSE sync UPDs in FSP-M

This patch updates FSP-M UPDs conditionally to ensure CSE firmware
updates and VGA initialization control only when
`SOC_INTEL_CSE_LITE_SKU` config is enabled.

This ensures eSOL rendering is tied to CSE sync performed in coreboot,
preventing unnecessary setup when sync is deferred to the payload.

Deferring CSE sync to the payload results in the depthcharge screen.

BUG=b:305898363
TEST=Builds and boots successfully:
    * google/rex0 with SOC_INTEL_CSE_LITE_SKU
    * google/rex64 with SOC_INTEL_CSE_LITE_SYNC_BY_PAYLOAD

Change-Id: Iffdd4b1be4abba8c57e28542058a575cc6de674c
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83394
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nick Vaccaro <nvaccaro@google.com>
This commit is contained in:
Subrata Banik
2024-07-09 23:15:39 +05:30
parent ea6b6acd01
commit 62347c4669

View File

@@ -454,7 +454,7 @@ static void fill_fspm_sign_of_life(FSP_M_CONFIG *m_cfg,
sol_type = ELOG_FW_EARLY_SOL_MRC;
}
if (is_cse_fw_update_required()) {
if (CONFIG(SOC_INTEL_CSE_LITE_SKU) && is_cse_fw_update_required()) {
vga_init_control = VGA_INIT_CONTROL_ENABLE;
sol_type = ELOG_FW_EARLY_SOL_CSE_SYNC;
}