From: Paul Burton Date: Mon, 7 Apr 2014 09:11:21 +0000 (+0100) Subject: board_f: call timer_init on MIPS X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6dc9bacea58db97e55bcb3ed2e00d5ca66a615d9;p=project%2Fbcm63xx%2Fu-boot.git 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 Signed-off-by: Paul Burton --- diff --git a/common/board_f.c b/common/board_f.c index 2ece9e26aa..cbdf06f812 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -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