From ca75c292719cf943174c6a15c29da43db5ee9bb7 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Sun, 14 Jul 2024 19:51:45 +0000 Subject: commonlib: Add ELOG_TYPE_FW_LATE_SOL eventLog type Add a new eventLog type of ELOG_TYPE_FW_LATE_SOL to support logging when we show late (from payload) Signs Of Life (SOL) to the user. BUG=b:305898363 TEST=Event shows in eventlog tool after CSE sync: ``` Late Sign of Life | CSE Sync Late SOL Screen Shown ``` Change-Id: Ibbe9f37a791e5c2a0c6e982942cf3043a2bd4b45 Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/83461 Tested-by: build bot (Jenkins) Reviewed-by: Dinesh Gehlot --- src/commonlib/bsd/include/commonlib/bsd/elog.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/commonlib/bsd/include/commonlib/bsd/elog.h b/src/commonlib/bsd/include/commonlib/bsd/elog.h index 31bb8fcaba..efc4d6ecc3 100644 --- a/src/commonlib/bsd/include/commonlib/bsd/elog.h +++ b/src/commonlib/bsd/include/commonlib/bsd/elog.h @@ -381,6 +381,12 @@ struct elog_event_extended_event { */ #define ELOG_TYPE_FW_SPLASH_SCREEN 0xbb +/* + * Events related to CSE sync from payload + */ +#define ELOG_TYPE_FW_LATE_SOL 0xbc +#define ELOG_FW_LATE_SOL_CSE_SYNC 0x0 + /* Only the 7-LSB are used for size */ #define ELOG_MAX_EVENT_SIZE 0x7F -- cgit v1.2.3