diff options
Diffstat (limited to 'c/src/lib/libbsp/powerpc/tqm8xx/startup/bspstart.c')
-rw-r--r-- | c/src/lib/libbsp/powerpc/tqm8xx/startup/bspstart.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/tqm8xx/startup/bspstart.c b/c/src/lib/libbsp/powerpc/tqm8xx/startup/bspstart.c index fca3531e25..0c3a760d17 100644 --- a/c/src/lib/libbsp/powerpc/tqm8xx/startup/bspstart.c +++ b/c/src/lib/libbsp/powerpc/tqm8xx/startup/bspstart.c @@ -22,6 +22,7 @@ #include <stdlib.h> #include <rtems.h> +#include <rtems/counter.h> #include <libcpu/powerpc-utility.h> @@ -179,6 +180,7 @@ void bsp_start( void) bsp_clicks_per_usec = bsp_time_base_frequency / 1000000; bsp_timer_least_valid = 3; bsp_timer_average_overhead = 3; + rtems_counter_initialize_converter(bsp_time_base_frequency); /* Initialize exception handler */ ppc_exc_initialize( |