diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-10-08 07:50:10 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-10-10 14:00:37 +0200 |
commit | e1a0e0c30829a0da4174085ee5109fba337dba11 (patch) | |
tree | d033929ab19a3a21e12662a35ff845d7bf7b4195 /bsps/riscv/griscv/clock | |
parent | build: Fix legacy Makefile support (diff) | |
download | rtems-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/griscv/clock')
-rw-r--r-- | bsps/riscv/griscv/clock/clockdrv.c | 2 |
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 |