From 9202473d076c02270dfa3e3a9b275d20455c143d Mon Sep 17 00:00:00 2001 From: Vadim Bendebury Date: Wed, 21 Sep 2011 14:46:43 -0700 Subject: [PATCH] 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-on: http://review.coreboot.org/712 Reviewed-by: Ronald G. Minnich Tested-by: build bot (Jenkins) Reviewed-by: Rudolf Marek --- src/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Kconfig b/src/Kconfig index ac83e598b..74fd01524 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 -- 2.25.1