summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2011-09-21 14:46:43 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-03-28 20:43:36 +0200
commit9202473d076c02270dfa3e3a9b275d20455c143d (patch)
tree42f186828edfd065cfa652cf0aad7c90b9e0b313 /src
parente1860604e46780d08ee2dab568cf80bf2d349c16 (diff)
Add a config flag to enable time stamp collection
Add a new flag, make it dependent on EARLY_CBMEM_INIT Change-Id: Idbebcaf298238f31a73e9eb4a9af7b03e857bc74 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: http://review.coreboot.org/712 Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Tested-by: build bot (Jenkins) Reviewed-by: Rudolf Marek <r.marek@assembler.cz>
Diffstat (limited to 'src')
-rw-r--r--src/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Kconfig b/src/Kconfig
index ac83e598b2..74fd015242 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -120,6 +120,13 @@ config EARLY_CBMEM_INIT
stage. This could be useful when the rom stage wants to communicate
some, for instance, execution timestamps.
+config COLLECT_TIMESTAMPS
+ bool "Create a table of timestamps collected during boot"
+ depends on EARLY_CBMEM_INIT
+ help
+ Make coreboot create a table of timer id/timer value pairs to
+ allow measuring time spent at different phases of the boot
+ process.
endmenu
source src/mainboard/Kconfig