summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2023-08-27 20:58:53 +0000
committerSubrata Banik <subratabanik@google.com>2023-08-29 06:15:36 +0000
commit679b9af626b0aa02d7ee7c8c89c6040f0679578b (patch)
tree5cf3e26e5df535189e681f08983d5cdda8a95832
parent55d3a54d104a7c87e230a5df494d21568e0f5805 (diff)
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>
-rw-r--r--src/commonlib/bsd/include/commonlib/bsd/elog.h5
1 files changed, 5 insertions, 0 deletions
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