diff options
author | Aaron Durbin <adurbin@chromium.org> | 2013-04-30 09:58:12 -0500 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2013-05-01 07:19:12 +0200 |
commit | 340ca91f18a448e09973341f60bb6f46102d2410 (patch) | |
tree | e7b1f531a6412d9f12de19a1271ba572ad90376c /src/Kconfig | |
parent | 6b0fb0dc3c1cb89af52224a1610daf7b9e943aa6 (diff) |
coreboot: add timer queue implementation
A timer queue provides the mechanism for calling functions
in the future by way of a callback. It utilizes the MONOTONIC_TIMER
to track time through the boot. The implementation is a min-heap
for keeping track of the next-to-expire callback.
Change-Id: Ia56bab8444cd6177b051752342f53b53d5f6afc1
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/3158
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/Kconfig')
-rw-r--r-- | src/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Kconfig b/src/Kconfig index a49643eff7..ab2a9271fd 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -318,6 +318,12 @@ config HAVE_MONOTONIC_TIMER help The board/chipset provides a monotonic timer. +config TIMER_QUEUE + def_bool n + depends on HAVE_MONOTONIC_TIMER + help + Provide a timer queue for performing time-based callbacks. + config HIGH_SCRATCH_MEMORY_SIZE hex default 0x0 |