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>
This commit is contained in:
Subrata Banik 2023-06-13 10:32:09 +05:30
parent 225d9c1af4
commit f27a41f207
1 changed files with 1 additions and 2 deletions

View File

@ -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();
}