summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/cbfstool/eventlog.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/util/cbfstool/eventlog.c b/util/cbfstool/eventlog.c
index e090ebee01..5e76df22cf 100644
--- a/util/cbfstool/eventlog.c
+++ b/util/cbfstool/eventlog.c
@@ -169,6 +169,7 @@ static void eventlog_print_type(const struct event_header *event)
{ELOG_TYPE_PSR_DATA_BACKUP, "PSR data backup"},
{ELOG_TYPE_PSR_DATA_LOST, "PSR data lost"},
{ELOG_TYPE_FW_SPLASH_SCREEN, "Firmware Splash Screen"},
+ {ELOG_TYPE_FW_LATE_SOL, "Late Sign of Life "},
{ELOG_TYPE_EOL, "End of log"},
};
@@ -483,6 +484,11 @@ static int eventlog_print_data(const struct event_header *event)
{0, NULL},
};
+ static const struct valstr late_sol_path_types[] = {
+ {ELOG_FW_LATE_SOL_CSE_SYNC, "CSE Sync Late SOL Screen Shown"},
+ {0, NULL},
+ };
+
size_t elog_type_to_min_size[] = {
[ELOG_TYPE_LOG_CLEAR] = sizeof(uint16_t),
[ELOG_TYPE_BOOT] = sizeof(uint32_t),
@@ -504,6 +510,7 @@ static int eventlog_print_data(const struct event_header *event)
[ELOG_TYPE_FW_EARLY_SOL] = sizeof(uint8_t),
[ELOG_TYPE_PSR_DATA_BACKUP] = sizeof(uint8_t),
[ELOG_TYPE_FW_SPLASH_SCREEN] = sizeof(uint8_t),
+ [ELOG_TYPE_FW_LATE_SOL] = sizeof(uint8_t),
[0xff] = 0,
};
@@ -670,6 +677,11 @@ static int eventlog_print_data(const struct event_header *event)
eventlog_printf("%s", *fw_splash_screen_event ? "Enabled" : "Disabled");
break;
}
+ case ELOG_TYPE_FW_LATE_SOL: {
+ const uint8_t *sol_event = event_get_data(event);
+ eventlog_printf("%s", val2str(*sol_event, late_sol_path_types));
+ break;
+ }
default:
break;
}