diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-07-16 11:32:37 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-07-14 12:21:33 +0200 |
commit | de278269ac41480d34559abf62d5aa262f1925d2 (patch) | |
tree | ffa134e5ad56bf463738f51da62584a8c466773f /bsps/sparc/leon3/include/bsp | |
parent | bsp/leon3: Add LEON3_IRQAMP_PROBE_TIMESTAMP (diff) | |
download | rtems-de278269ac41480d34559abf62d5aa262f1925d2.tar.bz2 |
bsp/leon3: Add LEON3_HAS_ASR_22_23_UP_COUNTER
Diffstat (limited to 'bsps/sparc/leon3/include/bsp')
-rw-r--r-- | bsps/sparc/leon3/include/bsp/leon3.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bsps/sparc/leon3/include/bsp/leon3.h b/bsps/sparc/leon3/include/bsp/leon3.h index 18db7b8aea..f9717c364c 100644 --- a/bsps/sparc/leon3/include/bsp/leon3.h +++ b/bsps/sparc/leon3/include/bsp/leon3.h @@ -263,6 +263,7 @@ static inline void leon3_up_counter_enable( void ) ); } +#if !defined(LEON3_HAS_ASR_22_23_UP_COUNTER) /** * @brief Checks if the LEON up-counter is available. * @@ -274,6 +275,7 @@ static inline bool leon3_up_counter_is_available( void ) { return leon3_up_counter_low() != leon3_up_counter_low(); } +#endif /** * @brief Gets the LEON up-counter frequency in Hz. |