coreboot/src/drivers/intel
Subrata Banik 68e642f5cb drv/intel/fsp2_0: Add FW Splash Screen event log entries
This patch adds logic for logging the FW splash screen event to
the event log.

There could be three possible scenarios as below:

1. Platform w/o FW splash screen (i.e., either HAVE_FSP_LOGO_SUPPORT
or BMP_LOGO configs not enabled)

Expectation: Firmware Splash Screen (ELOG_TYPE_FW_SPLASH_SCREEN) not
present in the event log.

39 | 2023-08-27 12:42:54-0700 | System boot | 12
40 | 2023-08-27 12:42:54-0700 | ACPI Wake | S5
41 | 2023-08-27 12:42:54-0700 | Wake Source | Power Button | 0

2. Platform w/ FW splash screen (i.e., both HAVE_FSP_LOGO_SUPPORT
and BMP_LOGO configs are enabled)

Expectation: Firmware Splash Screen (ELOG_TYPE_FW_SPLASH_SCREEN) is
enabled in the event log.

34 | 2023-08-27 12:07:29-0700 | System boot | 11
35 | 2023-08-27 12:07:29-0700 | Firmware Splash Screen | Enabled
36 | 2023-08-27 12:07:31-0700 | ACPI Wake | S5
37 | 2023-08-27 12:07:31-0700 | Wake Source | Power Button | 0

3. Failed to render FW splash screen (due to any reason if FSP failed
to render the splash screen)

Expectation: Firmware Splash Screen (ELOG_TYPE_FW_SPLASH_SCREEN) is
disabled in the event log.

43 | 2023-08-27 13:06:10-0700 | System boot | 13
44 | 2023-08-27 13:06:10-0700 | Firmware Splash Screen | Disabled
45 | 2023-08-27 13:06:11-0700 | ACPI Wake | S5
46 | 2023-08-27 13:06:11-0700 | Wake Source | Power Button | 0

BUG=b:284799726
TEST=Verify that the event shows up in the event log when the user
selects the HAVE_FSP_LOGO_SUPPORT and BMP_LOGO configs to display
the firmware splash screen.

Change-Id: Ie9e09acff5443c31b881c300134bc0bb06c490c6
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77509
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
2023-08-29 06:15:58 +00:00
..
dptf drivers: Add SPDX license headers to Makefiles 2023-08-06 19:27:36 +00:00
fsp1_1 commonlib/console/post_code.h: Change post code prefix to POSTCODE 2023-06-23 15:06:04 +00:00
fsp2_0 drv/intel/fsp2_0: Add FW Splash Screen event log entries 2023-08-29 06:15:58 +00:00
gma drivers/intel/gma: Remove space between function name and '(' 2023-08-28 03:08:45 +00:00
i210 treewide: Remove duplicated include <device/pci.h> 2023-02-01 03:03:34 +00:00
ish {driver, soc/intel/cmn/cse}: Refactor ISH FW Version implementation 2023-08-18 20:20:03 +00:00
mipi_camera drivers: Add SPDX license headers to Makefiles 2023-08-06 19:27:36 +00:00
pmc_mux drivers: Add SPDX license headers to Makefiles 2023-08-06 19:27:36 +00:00
ptt drivers: Add SPDX license headers to Makefiles 2023-08-06 19:27:36 +00:00
soundwire drivers: Add SPDX license headers to Makefiles 2023-08-06 19:27:36 +00:00
usb4/retimer drivers: Add SPDX license headers to Makefiles 2023-08-06 19:27:36 +00:00