coreinfo: Add support to read timestamps
Read timestamps from the last boot sequence and display the information as if using cbmem -t. Tested on QEMU with a SeaBIOS payload. Change-Id: I44f1f6d6e4ef5458aca555c8a7d32cc8aae46502 Signed-off-by: Antonello Dettori <dev@dettori.io> Reviewed-on: https://review.coreboot.org/15600 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
committed by
Martin Roth
parent
613702b5dc
commit
4b1668fd12
@@ -25,6 +25,7 @@ extern struct coreinfo_module nvram_module;
|
||||
extern struct coreinfo_module bootlog_module;
|
||||
extern struct coreinfo_module ramdump_module;
|
||||
extern struct coreinfo_module cbfs_module;
|
||||
extern struct coreinfo_module timestamps_module;
|
||||
|
||||
struct coreinfo_module *system_modules[] = {
|
||||
#if IS_ENABLED(CONFIG_MODULE_CPUINFO)
|
||||
@@ -54,6 +55,9 @@ struct coreinfo_module *firmware_modules[] = {
|
||||
#if IS_ENABLED(CONFIG_MODULE_CBFS)
|
||||
&cbfs_module,
|
||||
#endif
|
||||
#if IS_ENABLED(CONFIG_MODULE_TIMESTAMPS)
|
||||
×tamps_module,
|
||||
#endif
|
||||
};
|
||||
|
||||
struct coreinfo_cat {
|
||||
|
Reference in New Issue
Block a user