From 3235b7c6d586223f8f65727df4b5d980682bc7af Mon Sep 17 00:00:00 2001 From: Dinesh Gehlot Date: Thu, 21 Nov 2024 00:32:37 +0530 Subject: [PATCH] commonlib: Add ELOG_TYPE_FW_CSE_SYNC eventLog type This patch adds a new event log type, ELOG_TYPE_FW_CSE_SYNC. The purpose of this event type is to log successful completion of CSE synchronization. BUG=b:379585294 TEST=boot verified on google/rex0 and google/rex64 Change-Id: Id73fa3a77e5fbbae5c61dfb30ae26b4ba3dca6ab Signed-off-by: Dinesh Gehlot Reviewed-on: https://review.coreboot.org/c/coreboot/+/85217 Reviewed-by: Karthik Ramasubramanian Reviewed-by: Subrata Banik Tested-by: build bot (Jenkins) --- src/commonlib/bsd/include/commonlib/bsd/elog.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/commonlib/bsd/include/commonlib/bsd/elog.h b/src/commonlib/bsd/include/commonlib/bsd/elog.h index efc4d6ecc3..9032abc8eb 100644 --- a/src/commonlib/bsd/include/commonlib/bsd/elog.h +++ b/src/commonlib/bsd/include/commonlib/bsd/elog.h @@ -387,6 +387,14 @@ struct elog_event_extended_event { #define ELOG_TYPE_FW_LATE_SOL 0xbc #define ELOG_FW_LATE_SOL_CSE_SYNC 0x0 +/* + * Events related to CSE sync + */ +#define ELOG_TYPE_FW_CSE_SYNC 0xbd +#define ELOG_FW_EARLY_CSE_SYNC 0x0 +#define ELOG_FW_LATE_CSE_SYNC 0x1 +#define ELOG_FW_CSE_SYNC_AT_PAYLOAD 0x2 + /* Only the 7-LSB are used for size */ #define ELOG_MAX_EVENT_SIZE 0x7F