summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2018-03-29 11:41:01 +0200
committerPatrick Rudolph <siro@das-labor.org>2018-07-10 07:05:27 +0000
commitae15fec0b8ca7578ee56e2d1d9579922bb1ec0b6 (patch)
tree0902949f939dfca265c68ecf336f79ea25b3ff7d /src/mainboard
parentbbfeb586a6c41e7b70a448fc25014aa0c00ead1d (diff)
soc/cavium/cn81xx: Set cntfrq_el0
Set cntfrq_el0 to provide correct timer frequency. Change-Id: I4b6d0b0cf646a066fc5a51552a1891eccbd91e5e Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/25450 Reviewed-by: David Hendricks <david.hendricks@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/cavium/cn8100_sff_evb/mainboard.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/cavium/cn8100_sff_evb/mainboard.c b/src/mainboard/cavium/cn8100_sff_evb/mainboard.c
index 135d608cdb..34d2529fdf 100644
--- a/src/mainboard/cavium/cn8100_sff_evb/mainboard.c
+++ b/src/mainboard/cavium/cn8100_sff_evb/mainboard.c
@@ -88,6 +88,9 @@ static void mainboard_init(struct device *dev)
if (!uart_is_enabled(i))
uart_setup(i, 0);
}
+
+ /* Init timer */
+ soc_timer_init();
}
static void mainboard_enable(struct device *dev)