soc/intel/common/block/cse: Add check for CSE enabled

Exit print_me_fw_version if CSE is disabled.

BUG=N/A
TEST=tested on facebook monolith

Change-Id: Ie3f1c2a5a7f96371a0da872efc3308850c382ba7
Signed-off-by: Wim Vervoorn <wvervoorn@eltan.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/39920
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
This commit is contained in:
Wim Vervoorn 2020-03-30 12:17:54 +02:00 committed by Patrick Georgi
parent eff1306ea4
commit 8602fb7f65
1 changed files with 4 additions and 0 deletions

View File

@ -827,6 +827,10 @@ void print_me_fw_version(void *unused)
if (!CONFIG(CONSOLE_SERIAL)) if (!CONFIG(CONSOLE_SERIAL))
return; return;
/* Ignore if CSE is disabled */
if (!is_cse_enabled())
return;
/* /*
* Ignore if ME Firmware SKU type is custom since * Ignore if ME Firmware SKU type is custom since
* print_boot_partition_info() logs RO(BP1) and RW(BP2) versions. * print_boot_partition_info() logs RO(BP1) and RW(BP2) versions.