drivers/intel/fsp2_0: Log FW Splash Screen feature state

This patch implements debug logging to aid debugging and
analysis of Firmware Splash Screen feature behavior.

BUG=b:284799726
BRANCH=firmware-rex-15709.B
TEST=Able to build and boot google/screebo and check the
FW splash screen state.

[DEBUG]  Firmware Splash Screen : Enabled

Change-Id: I1ec7badf620e8dbe3d48674d93d640161de6a830
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79661
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paz Zcharya <pazz@google.com>
Reviewed-by: Eric Lai <ericllai@google.com>
This commit is contained in:
Subrata Banik 2023-12-20 16:24:57 +05:30
parent d078ef2152
commit e9b7623028
1 changed files with 3 additions and 0 deletions

View File

@ -76,6 +76,9 @@ static void update_fw_splash_screen_event(enum fw_splash_screen_status status)
if (!CONFIG(BMP_LOGO)) if (!CONFIG(BMP_LOGO))
return; return;
printk(BIOS_DEBUG, "Firmware Splash Screen : %s\n",
status ? "Enabled" : "Disabled");
elog_add_event_byte(ELOG_TYPE_FW_SPLASH_SCREEN, status); elog_add_event_byte(ELOG_TYPE_FW_SPLASH_SCREEN, status);
} }