summaryrefslogtreecommitdiff
path: root/src/drivers/intel/ish/ish.c
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2024-06-27 16:29:58 +0530
committerSubrata Banik <subratabanik@google.com>2024-07-03 06:13:11 +0000
commit672cff29f1df38214d70fefe16d340a4a0810ace (patch)
treeb257acc2c1a4dba683a07a1799d2c551ab9f347c /src/drivers/intel/ish/ish.c
parent0d6289c1e083660ef54053f38267840fbf368284 (diff)
drivers/intel/ish: Skip ISH version call if CSE sync is done by payload
This patch skips the ISH firmware version print when CSE sync is done by payload. The payload is responsible to dump the ISH version as ISH version resides into the CSE boot partition table. BUG=b:305898363 TEST=Able to build google/rex. Change-Id: I1895a4d3c44838a9cc6380912f09aa4f0e6687bd Signed-off-by: Subrata Banik <subratabanik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83231 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nick Vaccaro <nvaccaro@google.com> Reviewed-by: Dinesh Gehlot <digehlot@google.com> Reviewed-by: Eric Lai <ericllai@google.com>
Diffstat (limited to 'src/drivers/intel/ish/ish.c')
-rw-r--r--src/drivers/intel/ish/ish.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/intel/ish/ish.c b/src/drivers/intel/ish/ish.c
index 7d332e1fd2..1ab6a0a3ba 100644
--- a/src/drivers/intel/ish/ish.c
+++ b/src/drivers/intel/ish/ish.c
@@ -50,6 +50,9 @@ static void intel_ish_enable(struct device *dev)
static void intel_ish_get_version(void)
{
+ if (CONFIG(SOC_INTEL_CSE_LITE_SYNC_BY_PAYLOAD))
+ return;
+
struct cse_specific_info *info = cbmem_find(CBMEM_ID_CSE_INFO);
if (info == NULL)
return;