diff options
author | Antonello Dettori <dev@dettori.io> | 2016-07-08 11:14:40 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-07-20 22:09:32 +0200 |
commit | 4b1668fd121c12dcddc28b227e5cd93fe67c9a33 (patch) | |
tree | 0c1d38faf5ce9e4cf999f5b30a16b9711ce5ca23 /payloads/coreinfo/coreinfo.c | |
parent | 613702b5dc61e32b8a7ee2967cb5f8c64e7783ce (diff) | |
download | coreboot-4b1668fd121c12dcddc28b227e5cd93fe67c9a33.tar.xz |
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>
Diffstat (limited to 'payloads/coreinfo/coreinfo.c')
-rw-r--r-- | payloads/coreinfo/coreinfo.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/payloads/coreinfo/coreinfo.c b/payloads/coreinfo/coreinfo.c index cb42df443e..3fb2f7296a 100644 --- a/payloads/coreinfo/coreinfo.c +++ b/payloads/coreinfo/coreinfo.c @@ -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 { |