summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/cbfstool/eventlog.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/util/cbfstool/eventlog.c b/util/cbfstool/eventlog.c
index 604eb35ceb..a87ca98264 100644
--- a/util/cbfstool/eventlog.c
+++ b/util/cbfstool/eventlog.c
@@ -168,6 +168,7 @@ static void eventlog_print_type(const struct event_header *event)
{ELOG_TYPE_FW_EARLY_SOL, "Early Sign of Life"},
{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_EOL, "End of log"},
};
@@ -500,6 +501,7 @@ static int eventlog_print_data(const struct event_header *event)
[ELOG_TYPE_FW_VBOOT_INFO] = sizeof(uint16_t),
[ELOG_TYPE_FW_EARLY_SOL] = sizeof(uint8_t),
[ELOG_TYPE_PSR_DATA_BACKUP] = sizeof(uint8_t),
+ [ELOG_TYPE_FW_SPLASH_SCREEN] = sizeof(uint8_t),
[0xff] = 0,
};
@@ -661,6 +663,11 @@ static int eventlog_print_data(const struct event_header *event)
eventlog_printf("%s", val2str(*psr_backup_event, psr_data_backup_statuses));
break;
}
+ case ELOG_TYPE_FW_SPLASH_SCREEN: {
+ const uint8_t *fw_splash_screen_event = event_get_data(event);
+ eventlog_printf("%s", *fw_splash_screen_event ? "Enabled" : "Disabled");
+ break;
+ }
default:
break;
}