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/sparc/leon3/include/leon.h | |
parent | 6ca00e61dc8ba9f3c0510aa88209ef8ca31e3b6d (diff) |
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/sparc/leon3/include/leon.h')
-rw-r--r-- | bsps/sparc/leon3/include/leon.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/bsps/sparc/leon3/include/leon.h b/bsps/sparc/leon3/include/leon.h index afe0d91ca4..d25825c8e8 100644 --- a/bsps/sparc/leon3/include/leon.h +++ b/bsps/sparc/leon3/include/leon.h @@ -454,13 +454,6 @@ static inline uint32_t leon3_get_data_cache_config_register(void) return leon3_get_system_register(0xc); } -static inline bool leon3_irqmp_has_timestamp( - volatile struct irqmp_timestamp_regs *irqmp_ts -) -{ - return (irqmp_ts->control >> 27) > 0; -} - static inline uint32_t leon3_up_counter_low(void) { uint32_t asr23; |