Timestamps: Add option to print timestamps to debug console

Prints the timestamp name and value to the debug console if enabled
in Kconfig.

Change-Id: Ie6e6a4877fefec45fb987ceae7d42de6ce768159
Signed-off-by: Martin Roth <martinroth@chromium.org>
Reviewed-on: https://review.coreboot.org/25024
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
Martin Roth
2018-03-07 15:32:16 -07:00
committed by Martin Roth
parent 8da81da3b9
commit b22bbe27fc
2 changed files with 23 additions and 0 deletions

View File

@@ -185,6 +185,13 @@ config COLLECT_TIMESTAMPS
Make coreboot create a table of timer-ID/timer-value pairs to
allow measuring time spent at different phases of the boot process.
config TIMESTAMPS_ON_CONSOLE
bool "Print the timestamp values on the console"
default n
depends on COLLECT_TIMESTAMPS
help
Print the timestamps to the debug console if enabled at level spew.
config USE_BLOBS
bool "Allow use of binary-only repository"
help