From 2cf0df37e7bf1e181cedcf785a07160462b1f66f Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Thu, 27 Jun 2024 17:33:12 +0530 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/83233 Reviewed-by: Nick Vaccaro Reviewed-by: Dinesh Gehlot Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai --- src/soc/intel/common/block/cse/cse.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/soc/intel/common/block/cse/cse.c') 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 */ -- cgit v1.2.3