projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3da7e5a
)
board_f: call timer_init on MIPS
author
Paul Burton
<paul.burton@imgtec.com>
Mon, 7 Apr 2014 09:11:21 +0000
(10:11 +0100)
committer
Daniel Schwierzeck
<daniel.schwierzeck@gmail.com>
Sun, 20 Apr 2014 11:16:43 +0000
(13:16 +0200)
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>
common/board_f.c
patch
|
blob
|
history
diff --git
a/common/board_f.c
b/common/board_f.c
index 2ece9e26aaf3df0ddae1b0b977da2bcaff8b7c02..cbdf06f812e4b5a73a3c474d1d15bcf4db59376a 100644
(file)
--- 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
-#if
def CONFIG_ARM
+#if
defined(CONFIG_ARM) || defined(CONFIG_MIPS)
timer_init, /* initialize timer */
#endif
#ifdef CONFIG_SYS_ALLOC_DPRAM