summaryrefslogtreecommitdiff
path: root/src/arch/arm64/include
diff options
context:
space:
mode:
authorT Michael Turney <mturney@codeaurora.org>2018-04-24 10:15:46 -0700
committerPatrick Georgi <pgeorgi@google.com>2018-04-30 06:25:58 +0000
commit3775f1c0e177b3667753bbf0087b7975f3ec712e (patch)
treec95237636d1f3c9a576e41538ff3354262e69a91 /src/arch/arm64/include
parent6e0f0f7f9c91f41eb40f4ef6979937caee168bdf (diff)
arm64: Add ARCH Timer
SoC sdm845 uses ARCH Timer Change-Id: I45e2d4d2c16a2cded3df20d393d2b8820050ac80 Signed-off-by: T Michael Turney <mturney@codeaurora.org> Reviewed-on: https://review.coreboot.org/25612 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/arch/arm64/include')
-rw-r--r--src/arch/arm64/include/armv8/arch/lib_helpers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/arm64/include/armv8/arch/lib_helpers.h b/src/arch/arm64/include/armv8/arch/lib_helpers.h
index 94078e970c..19bb18dc44 100644
--- a/src/arch/arm64/include/armv8/arch/lib_helpers.h
+++ b/src/arch/arm64/include/armv8/arch/lib_helpers.h
@@ -557,6 +557,7 @@ uint64_t raw_read_vbar(uint32_t el);
void raw_write_vbar(uint64_t vbar, uint32_t el);
uint32_t raw_read_cntfrq_el0(void);
void raw_write_cntfrq_el0(uint32_t cntfrq_el0);
+uint64_t raw_read_cntpct_el0(void);
/* Cache maintenance system instructions */
void dccisw(uint64_t cisw);