Add a config flag to enable time stamp collection
authorVadim Bendebury <vbendeb@chromium.org>
Wed, 21 Sep 2011 21:46:43 +0000 (14:46 -0700)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Wed, 28 Mar 2012 18:43:36 +0000 (20:43 +0200)
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>
src/Kconfig

index ac83e598b23c9d311361498c056a62aaa57968a6..74fd015242a4a25dbdf992a9a9829de14a241771 100644 (file)
@@ -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.
 
          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
 endmenu
 
 source src/mainboard/Kconfig