diff options
author | Subrata Banik <subratabanik@google.com> | 2024-07-14 19:51:45 +0000 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2024-07-16 05:05:45 +0000 |
commit | ca75c292719cf943174c6a15c29da43db5ee9bb7 (patch) | |
tree | db3ca56196fb25ef3595034a0f5c42b3da861d13 /src | |
parent | dc35e66880110d3ec54b00fac15c12ddedf37103 (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')
-rw-r--r-- | src/commonlib/bsd/include/commonlib/bsd/elog.h | 6 |
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 |