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>
This commit is contained in:
Subrata Banik
2024-06-27 17:33:12 +05:30
parent 672cff29f1
commit 2cf0df37e7
2 changed files with 6 additions and 0 deletions

View File

@ -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 */

View File

@ -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;