summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2023-06-13 10:32:09 +0530
committerSubrata Banik <subratabanik@google.com>2023-06-15 07:39:38 +0000
commitf27a41f207e195b9dd8d1a0066063d1db329f902 (patch)
tree459f29d3db5f6c62a2b5f73598c46607cf821eab
parent225d9c1af44a89d6b5f39e0ca63479317feee98f (diff)
soc/intel/cmn/cse: Read ISH FW version if avilable in CSE partition
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 <subratabanik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/75811 Reviewed-by: Kapil Porwal <kapilporwal@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/soc/intel/common/block/cse/cse_lite.c3
1 files changed, 1 insertions, 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();
}