From 4b1668fd121c12dcddc28b227e5cd93fe67c9a33 Mon Sep 17 00:00:00 2001 From: Antonello Dettori Date: Fri, 8 Jul 2016 11:14:40 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/15600 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- payloads/coreinfo/coreinfo.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'payloads/coreinfo/coreinfo.c') 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 { -- cgit v1.2.3