soc/amd/stoneyridge: Convert monotonic timer
commit786bd5d29371745bb731e92be0e73e261baf125e
authorMarshall Dawson <marshalldawson3rd@gmail.com>
Fri, 16 Jun 2017 16:10:17 +0000 (16 10:10 -0600)
committerMartin Roth <martinroth@google.com>
Thu, 29 Jun 2017 14:49:55 +0000 (29 14:49 +0000)
tree2f3418f49c8aecc306ba9c13f8cc80f15a8c49c2
parentd16022bdd470a8aedbb0ba5c5c2646a040ff1a9a
soc/amd/stoneyridge: Convert monotonic timer

Use the TSC for the Stoney Ridge monotonic timer.  Modern AMD
CPUs have invariant timestamp counters.  This patch brings the
feature more in line with other devices and allows the use of
typical monotonic timer functions.

BUG=chrome-os-partner:62578062

Change-Id: I07b05fbc7cdea54a45daac01954284a9fd67e42f
Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Reviewed-on: https://review.coreboot.org/20201
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
src/soc/amd/stoneyridge/Kconfig
src/soc/amd/stoneyridge/Makefile.inc
src/soc/amd/stoneyridge/tsc_freq.c [new file with mode: 0644]