switch-coreboot/payloads/libpayload/drivers/timer
Paul Kocialkowski 11ddfce5d8 UPSTREAM: libpayload: Get current tick from high register in generic timer
This fixes the generic timer driver to get the current tick from the
high register, so that comparison with the high count value (obtained
previously from the same register) has a chance to succeed.

BUG=none
BRANCH=none
TEST=none

Change-Id: I5ce02bfa15a91ad34641b8e24813a5b7ca790ec3
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Reviewed-on: https://review.coreboot.org/17929
Tested-by: build bot (Jenkins)
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: https://chromium-review.googlesource.com/427823
Commit-Ready: Patrick Georgi <pgeorgi@chromium.org>
Tested-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-by: Stefan Reinauer <reinauer@chromium.org>
2017-01-19 09:22:27 -08:00
..
armada38x.c libpayload: Add timer driver for armada38x 2016-02-04 11:32:22 +01:00
generic.c UPSTREAM: libpayload: Get current tick from high register in generic timer 2017-01-19 09:22:27 -08:00
img_pistachio.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
Kconfig UPSTREAM: libpayload: mvmap2315: Introduce timer driver 2016-10-11 14:32:38 -07:00
mvmap2315.c UPSTREAM: libpayload: mvmap2315: Introduce timer driver 2016-10-11 14:32:38 -07:00
rdtsc.c UPSTREAM: libpayload: timer: cast cpu_khz to make sure 64bit math is used 2017-01-09 23:46:56 -08:00