commonlib: Add ELOG_TYPE_FW_SPLASH_SCREEN eventLog

This patch adds a new eventLog type ELOG_TYPE_FW_SPLASH_SCREEN to
support logging when we show firmware splash screen to the user.

BUG=b:284799726
TEST=Event shows in eventlog when user selects BMP_LOGO and
HAVE_FSP_LOGO_SUPPORT configs.

Change-Id: Id1572ecb83ca025ff65608e7ae4f3a065024f6d4
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77507
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Subrata Banik 2023-08-27 20:58:53 +00:00
parent 55d3a54d10
commit 679b9af626
1 changed files with 5 additions and 0 deletions

View File

@ -376,6 +376,11 @@ struct elog_event_extended_event {
#define ELOG_TYPE_PSR_DATA_LOST 0xba #define ELOG_TYPE_PSR_DATA_LOST 0xba
/*
* Events related to Firmware Splash Screen
*/
#define ELOG_TYPE_FW_SPLASH_SCREEN 0xbb
/* Only the 7-LSB are used for size */ /* Only the 7-LSB are used for size */
#define ELOG_MAX_EVENT_SIZE 0x7F #define ELOG_MAX_EVENT_SIZE 0x7F