From ae15fec0b8ca7578ee56e2d1d9579922bb1ec0b6 Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Thu, 29 Mar 2018 11:41:01 +0200 Subject: soc/cavium/cn81xx: Set cntfrq_el0 Set cntfrq_el0 to provide correct timer frequency. Change-Id: I4b6d0b0cf646a066fc5a51552a1891eccbd91e5e Signed-off-by: Patrick Rudolph Reviewed-on: https://review.coreboot.org/25450 Reviewed-by: David Hendricks Tested-by: build bot (Jenkins) --- src/soc/cavium/cn81xx/include/soc/timer.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/soc/cavium/cn81xx/include') diff --git a/src/soc/cavium/cn81xx/include/soc/timer.h b/src/soc/cavium/cn81xx/include/soc/timer.h index a12f68e422..4507b0b49f 100644 --- a/src/soc/cavium/cn81xx/include/soc/timer.h +++ b/src/soc/cavium/cn81xx/include/soc/timer.h @@ -27,4 +27,7 @@ void watchdog_poke(const size_t index); void watchdog_disable(const size_t index); int watchdog_is_running(const size_t index); +/* Timer functions */ +void soc_timer_init(void); + #endif /* __SOC_CAVIUM_CN81XX_TIMER_H__ */ -- cgit v1.2.3