From f27a41f207e195b9dd8d1a0066063d1db329f902 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Tue, 13 Jun 2023 10:32:09 +0530 Subject: [PATCH] soc/intel/cmn/cse: Read ISH FW version if avilable in CSE partition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch reduces the redundant config check to understand if an ISH FW partition is available and to fetch the ISH FW version. The goal is to fetch the ISH FW version if the ISH FW belongs to the CSE firmware partition table. Change-Id: I689a71377e7aea0fa3bc1835f355708c33c2caea Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/75811 Reviewed-by: Kapil Porwal Tested-by: build bot (Jenkins) --- src/soc/intel/common/block/cse/cse_lite.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/soc/intel/common/block/cse/cse_lite.c b/src/soc/intel/common/block/cse/cse_lite.c index 97f114c10c..dd3f173313 100644 --- a/src/soc/intel/common/block/cse/cse_lite.c +++ b/src/soc/intel/common/block/cse/cse_lite.c @@ -1309,8 +1309,7 @@ static void ramstage_cse_misc_ops(void *unused) * Store the ISH RW Firmware Version into CBMEM if ISH partition * is available */ - if (CONFIG(SOC_INTEL_STORE_ISH_FW_VERSION) && - soc_is_ish_partition_enabled()) + if (soc_is_ish_partition_enabled()) store_ish_version(); }