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:
Antonello Dettori
2016-07-08 11:14:40 +02:00
committed by Martin Roth
parent 613702b5dc
commit 4b1668fd12
4 changed files with 302 additions and 2 deletions

View File

@@ -104,4 +104,10 @@ config MODULE_CBFS
help
This option will increase the ELF file size by ca. 1440 bytes.
config MODULE_TIMESTAMPS
bool "Enable the coreboot timestamps module"
default y
help
This option will increase the ELF file size by ca. 4200 bytes.
endmenu