From e9b7623028e54265e8eaf1cad2f32721f0767086 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Wed, 20 Dec 2023 16:24:57 +0530 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/79661 Tested-by: build bot (Jenkins) Reviewed-by: Paz Zcharya Reviewed-by: Eric Lai --- src/drivers/intel/fsp2_0/graphics.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/drivers/intel/fsp2_0') diff --git a/src/drivers/intel/fsp2_0/graphics.c b/src/drivers/intel/fsp2_0/graphics.c index a98f3bbba2..b7466a55ab 100644 --- a/src/drivers/intel/fsp2_0/graphics.c +++ b/src/drivers/intel/fsp2_0/graphics.c @@ -76,6 +76,9 @@ static void update_fw_splash_screen_event(enum fw_splash_screen_status status) if (!CONFIG(BMP_LOGO)) return; + printk(BIOS_DEBUG, "Firmware Splash Screen : %s\n", + status ? "Enabled" : "Disabled"); + elog_add_event_byte(ELOG_TYPE_FW_SPLASH_SCREEN, status); } -- cgit v1.2.3