summaryrefslogtreecommitdiffstats
path: root/bsps/riscv
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-10-08 07:50:10 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-10-10 14:00:37 +0200
commite1a0e0c30829a0da4174085ee5109fba337dba11 (patch)
treed033929ab19a3a21e12662a35ff845d7bf7b4195 /bsps/riscv
parentbuild: Fix legacy Makefile support (diff)
downloadrtems-e1a0e0c30829a0da4174085ee5109fba337dba11.tar.bz2
grlib: Add and use irqmp_has_timestamp()
Replace leon3_irqmp_has_timestamp() with irqmp_has_timestamp() and move it to grlib.h. Close #4128.
Diffstat (limited to 'bsps/riscv')
-rw-r--r--bsps/riscv/griscv/clock/clockdrv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsps/riscv/griscv/clock/clockdrv.c b/bsps/riscv/griscv/clock/clockdrv.c
index c94c167fdf..4cf15fe4f8 100644
--- a/bsps/riscv/griscv/clock/clockdrv.c
+++ b/bsps/riscv/griscv/clock/clockdrv.c
@@ -171,7 +171,7 @@ static void grlib_clock_initialize(void)
volatile struct irqmp_timestamp_regs *irqmp_ts =
&GRLIB_IrqCtrl_Regs->timestamp[0];
- if (!grlib_irqmp_has_timestamp(irqmp_ts)) {
+ if (!irqmp_has_timestamp(irqmp_ts)) {
bsp_fatal(GRLIB_FATAL_CLOCK_NO_IRQMP_TIMESTAMP_SUPPORT);
}
#endif