Skip to content
Snippets Groups Projects
Commit 6dc9bace authored by Paul Burton's avatar Paul Burton Committed by Daniel Schwierzeck
Browse files

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: default avatarDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
parent 3da7e5a5
No related branches found
No related tags found
No related merge requests found
...@@ -819,7 +819,7 @@ static init_fnc_t init_sequence_f[] = { ...@@ -819,7 +819,7 @@ static init_fnc_t init_sequence_f[] = {
/* TODO: can we rename this to timer_init()? */ /* TODO: can we rename this to timer_init()? */
init_timebase, init_timebase,
#endif #endif
#ifdef CONFIG_ARM #if defined(CONFIG_ARM) || defined(CONFIG_MIPS)
timer_init, /* initialize timer */ timer_init, /* initialize timer */
#endif #endif
#ifdef CONFIG_SYS_ALLOC_DPRAM #ifdef CONFIG_SYS_ALLOC_DPRAM
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment