From 679b9af626b0aa02d7ee7c8c89c6040f0679578b Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Sun, 27 Aug 2023 20:58:53 +0000 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/77507 Reviewed-by: Eric Lai Reviewed-by: Yu-Ping Wu Tested-by: build bot (Jenkins) --- src/commonlib/bsd/include/commonlib/bsd/elog.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/commonlib/bsd') diff --git a/src/commonlib/bsd/include/commonlib/bsd/elog.h b/src/commonlib/bsd/include/commonlib/bsd/elog.h index e0c30bbbcf..31bb8fcaba 100644 --- a/src/commonlib/bsd/include/commonlib/bsd/elog.h +++ b/src/commonlib/bsd/include/commonlib/bsd/elog.h @@ -376,6 +376,11 @@ struct elog_event_extended_event { #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 */ #define ELOG_MAX_EVENT_SIZE 0x7F -- cgit v1.2.3