diff options
Diffstat (limited to 'c/src/lib/libbsp/arm/shared/include/arm-a9mpcore-clock.h')
-rw-r--r-- | c/src/lib/libbsp/arm/shared/include/arm-a9mpcore-clock.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/c/src/lib/libbsp/arm/shared/include/arm-a9mpcore-clock.h b/c/src/lib/libbsp/arm/shared/include/arm-a9mpcore-clock.h deleted file mode 100644 index 9a8c653801..0000000000 --- a/c/src/lib/libbsp/arm/shared/include/arm-a9mpcore-clock.h +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) 2013 Chris Johns <chrisj@rtems.org>. All rights reserved. - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#ifndef LIBBSP_ARM_SHARED_ARM_A9MPCORE_CLOCK_H -#define LIBBSP_ARM_SHARED_ARM_A9MPCORE_CLOCK_H - -#include <rtems/counter.h> - -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ - -/* - * Return the peripheral clock. For systems such as the zynq this - * is controlled by the PL logic generation and can vary. Provide this - * function in your application to override the BSP default. - */ -uint32_t a9mpcore_clock_periphclk(void); - -/** - * @brief Do early clock initialization so that the CPU counter conversion - * works. - */ -static inline void a9mpcore_clock_initialize_early(void) -{ - rtems_counter_initialize_converter(a9mpcore_clock_periphclk()); -} - -#ifdef __cplusplus -} -#endif /* __cplusplus */ - -#endif /* LIBBSP_ARM_SHARED_ARM_A9MPCORE_CLOCK_H */ |