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 <>
Reviewed-by: Ronald G. Minnich <>
Tested-by: build bot (Jenkins)
Reviewed-by: Rudolf Marek <>
diff --git a/src/Kconfig b/src/Kconfig
index ac83e59..74fd015 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -120,6 +120,13 @@
 	  stage. This could be useful when the rom stage wants to communicate
 	  some, for instance, execution 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.
 source src/mainboard/Kconfig