Julius Werner has submitted this change. ( https://review.coreboot.org/c/coreboot/+/72670 )
Change subject: commonlib: Add ELOG_TYPE_FW_EARLY_SOL eventLog type ......................................................................
commonlib: Add ELOG_TYPE_FW_EARLY_SOL eventLog type
Add a new eventLog type of ELOG_TYPE_FW_EARLY_SOL to support logging when we show early signs of life to the user.
BUG=b:266113626 TEST=event shows in eventlog after CSE sync and/or MRC
Change-Id: I3bd5a250c0be824dbbad0236cee7d61a1ffdbc6c Signed-off-by: Tarun Tuli tarun.tuli@google.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/72670 Reviewed-by: Jérémy Compostella jeremy.compostella@intel.com Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Subrata Banik subratabanik@google.com Reviewed-by: Nick Vaccaro nvaccaro@google.com Reviewed-by: Julius Werner jwerner@chromium.org --- M src/commonlib/bsd/include/commonlib/bsd/elog.h 1 file changed, 30 insertions(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Julius Werner: Looks good to me, approved Nick Vaccaro: Looks good to me, approved Subrata Banik: Looks good to me, approved Jérémy Compostella: Looks good to me, but someone else must approve
diff --git a/src/commonlib/bsd/include/commonlib/bsd/elog.h b/src/commonlib/bsd/include/commonlib/bsd/elog.h index 1f39090..783557f 100644 --- a/src/commonlib/bsd/include/commonlib/bsd/elog.h +++ b/src/commonlib/bsd/include/commonlib/bsd/elog.h @@ -360,7 +360,14 @@ * Firmware boot related information retrieved from vboot and store as * per `union vb2_fw_boot_info` data structure. */ -#define ELOG_TYPE_FW_VBOOT_INFO 0xb7 +#define ELOG_TYPE_FW_VBOOT_INFO 0xb7 + +/* + * Events related to early Sign Of Life + */ +#define ELOG_TYPE_FW_EARLY_SOL 0xb8 +#define ELOG_FW_EARLY_SOL_CSE_SYNC 0x0 +#define ELOG_FW_EARLY_SOL_MRC 0x1
/* Only the 7-LSB are used for size */ #define ELOG_MAX_EVENT_SIZE 0x7F