2006-07-12 Jerry Needell <jerry.needell@unh.edu>

* amba/amba.c, clock/ckinit.c, include/amba.h, timer/timer.c: Search
	for the Timer Register when initializing the amba rather than before
	each potential use.
This commit is contained in:
Joel Sherrill
2006-07-12 20:57:29 +00:00
parent d959898b3a
commit ad6a58d00d
5 changed files with 25 additions and 34 deletions

View File

@@ -27,12 +27,10 @@ rtems_boolean Timer_driver_Find_average_overhead;
rtems_boolean Timer_driver_Is_initialized = FALSE;
extern volatile LEON3_Timer_Regs_Map *LEON3_Timer_Regs;
extern void LEON3_Find_timer(void);
void Timer_initialize()
{
LEON3_Find_timer();
/*
* Timer runs long and accurate enough not to require an interrupt.