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>
This commit is contained in:
Dinesh Gehlot 2024-11-21 00:32:37 +05:30 committed by Subrata Banik
commit 3235b7c6d5

View file

@ -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