summaryrefslogtreecommitdiff
path: root/src/soc/intel/common
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2024-06-27 17:33:12 +0530
committerSubrata Banik <subratabanik@google.com>2024-07-03 06:13:17 +0000
commit2cf0df37e7bf1e181cedcf785a07160462b1f66f (patch)
tree5308d307512e27bf6f1312df310b38b20e8bfe88 /src/soc/intel/common
parent672cff29f1df38214d70fefe16d340a4a0810ace (diff)
soc/intel/cmn/cse: Conditionally disable ME status reporting
This patch disables the ME status reporting functionality (dump_me_status, print_me_fw_version) in the CSE driver when SOC_INTEL_CSE_LITE_SYNC_BY_PAYLOAD is defined. This is likely intended for platforms or configurations where the CSE communication is only limited to payload. BUG=b:305898363 TEST=Able to build google/rex. Change-Id: I5e360408a7847968117df475ff244d79ceafa23f Signed-off-by: Subrata Banik <subratabanik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83233 Reviewed-by: Nick Vaccaro <nvaccaro@google.com> Reviewed-by: Dinesh Gehlot <digehlot@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com>
Diffstat (limited to 'src/soc/intel/common')
-rw-r--r--src/soc/intel/common/block/cse/cse.c3
-rw-r--r--src/soc/intel/common/block/cse/cse_spec.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/soc/intel/common/block/cse/cse.c b/src/soc/intel/common/block/cse/cse.c
index 32ca399a76..b278b9f0d1 100644
--- a/src/soc/intel/common/block/cse/cse.c
+++ b/src/soc/intel/common/block/cse/cse.c
@@ -863,6 +863,9 @@ int cse_hmrfpo_get_status(void)
void print_me_fw_version(void *unused)
{
+ if (CONFIG(SOC_INTEL_CSE_LITE_SYNC_BY_PAYLOAD))
+ return;
+
struct me_fw_ver_resp resp = {0};
/* Ignore if UART debugging is disabled */
diff --git a/src/soc/intel/common/block/cse/cse_spec.c b/src/soc/intel/common/block/cse/cse_spec.c
index 74155cd150..af64255514 100644
--- a/src/soc/intel/common/block/cse/cse_spec.c
+++ b/src/soc/intel/common/block/cse/cse_spec.c
@@ -28,6 +28,9 @@ static bool is_manufacturing_mode(union me_hfsts1 hfsts1, union me_hfsts6 hfsts6
static void dump_me_status(void *unused)
{
+ if (CONFIG(SOC_INTEL_CSE_LITE_SYNC_BY_PAYLOAD))
+ return;
+
union me_hfsts1 hfsts1;
union me_hfsts2 hfsts2;
union me_hfsts3 hfsts3;