diff options
author | Subrata Banik <subratabanik@google.com> | 2023-12-20 16:24:57 +0530 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2023-12-22 12:30:30 +0000 |
commit | e9b7623028e54265e8eaf1cad2f32721f0767086 (patch) | |
tree | 41717f945c39feedc5b4dc90e2b4a320c63a7eba | |
parent | d078ef2152052b5ce8686249dcd05ebd50010889 (diff) |
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>
-rw-r--r-- | src/drivers/intel/fsp2_0/graphics.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); } |