board_f: call timer_init on MIPS
MIPS needs a call to timer_init to preserve its current behaviour ensuring that the cop0 compare register is initialised appropriately. Reported-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Signed-off-by: Paul Burton <paul.burton@imgtec.com>
This commit is contained in:
parent
3da7e5a50b
commit
6dc9bacea5
@ -819,7 +819,7 @@ static init_fnc_t init_sequence_f[] = {
|
||||
/* TODO: can we rename this to timer_init()? */
|
||||
init_timebase,
|
||||
#endif
|
||||
#ifdef CONFIG_ARM
|
||||
#if defined(CONFIG_ARM) || defined(CONFIG_MIPS)
|
||||
timer_init, /* initialize timer */
|
||||
#endif
|
||||
#ifdef CONFIG_SYS_ALLOC_DPRAM
|
||||
|
Loading…
Reference in New Issue
Block a user