summaryrefslogtreecommitdiff
path: root/src/commonlib/bsd
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2024-07-14 19:51:45 +0000
committerSubrata Banik <subratabanik@google.com>2024-07-16 05:05:45 +0000
commitca75c292719cf943174c6a15c29da43db5ee9bb7 (patch)
treedb3ca56196fb25ef3595034a0f5c42b3da861d13 /src/commonlib/bsd
parentdc35e66880110d3ec54b00fac15c12ddedf37103 (diff)
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 <subratabanik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83461 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Dinesh Gehlot <digehlot@google.com>
Diffstat (limited to 'src/commonlib/bsd')
-rw-r--r--src/commonlib/bsd/include/commonlib/bsd/elog.h6
1 files changed, 6 insertions, 0 deletions
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