From a421791db815fb2e2da9b1ce4bec78c97665b62f Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Mon, 29 Apr 2013 22:31:51 -0500 Subject: coreboot: introduce monotonic timer API The notion of a monotonic timer is introduced. Along with it are helper functions and other types for comparing times. This is just the framework where it is the responsibility of the chipset/board to provide the implementation of timer_monotonic_get(). The reason structs are used instead of native types is to allow for future changes to the data structure without chaning all the call sites. Change-Id: Ie56b9ab9dedb0da69dea86ef87ca744004eb1ae3 Signed-off-by: Aaron Durbin Reviewed-on: http://review.coreboot.org/3152 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/Kconfig | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Kconfig') diff --git a/src/Kconfig b/src/Kconfig index c3cc6bffc6..a49643eff7 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -313,6 +313,11 @@ config HAVE_INIT_TIMER default n if UDELAY_IO default y +config HAVE_MONOTONIC_TIMER + def_bool n + help + The board/chipset provides a monotonic timer. + config HIGH_SCRATCH_MEMORY_SIZE hex default 0x0 -- cgit v1.2.3