summaryrefslogtreecommitdiffstats
path: root/src/ec
diff options
context:
space:
mode:
authorPaul Menzel <paulepanter@users.sourceforge.net>2015-10-20 22:27:05 +0200
committerAaron Durbin <adurbin@chromium.org>2015-10-27 16:07:50 +0100
commitbe70646ccc2d770fb1385c6a9f36e13995014436 (patch)
tree27363e036cc19b342eab2c07fad6d5b5682e9566 /src/ec
parentdcc63b6cb7dc60035235a97fd7bab51ed956ff54 (diff)
downloadcoreboot-be70646ccc2d770fb1385c6a9f36e13995014436.tar.gz
coreboot-be70646ccc2d770fb1385c6a9f36e13995014436.tar.bz2
coreboot-be70646ccc2d770fb1385c6a9f36e13995014436.zip
include/timer.h: Guard `timer_monotonic_get()` calls by `CONFIG_HAVE_MONOTONIC_TIMER`
Some platforms do not have `timer_monotonic_get()` implemented. So only call `timer_monotonic_get()` if `CONFIG_HAVE_MONOTONIC_TIMER` is selected and set the times to 0 otherwise. Change-Id: If9cba4c0c17a7011aa357079d8fdd0aa47ad1b66 Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-on: http://review.coreboot.org/12105 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/ec')
0 files changed, 0 insertions, 0 deletions