Subrata Banik has submitted this change. ( https://review.coreboot.org/c/coreboot/+/85217?usp=email )
Change subject: commonlib: Add ELOG_TYPE_FW_CSE_SYNC eventLog type ......................................................................
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 digehlot@google.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/85217 Reviewed-by: Karthik Ramasubramanian kramasub@google.com Reviewed-by: Subrata Banik subratabanik@google.com Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M src/commonlib/bsd/include/commonlib/bsd/elog.h 1 file changed, 8 insertions(+), 0 deletions(-)
Approvals: Karthik Ramasubramanian: Looks good to me, approved Subrata Banik: Looks good to me, approved build bot (Jenkins): Verified
diff --git a/src/commonlib/bsd/include/commonlib/bsd/elog.h b/src/commonlib/bsd/include/commonlib/bsd/elog.h index efc4d6e..9032abc 100644 --- a/src/commonlib/bsd/include/commonlib/bsd/elog.h +++ b/src/commonlib/bsd/include/commonlib/bsd/elog.h @@ -387,6 +387,14 @@ #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