summaryrefslogtreecommitdiff
path: root/common/board_f.c
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-10-23 02:13:33 (GMT)
committerBin Meng <bmeng.cn@gmail.com>2015-11-13 14:46:20 (GMT)
commit643b0f75e71098f6deddddc9a17c4cbc1dc96957 (patch)
tree3a26a8a081971a7b8327c2e658f5bb9997fb0fc3 /common/board_f.c
parente5ffa4bb62b4532079ea552a804178f3955775f9 (diff)
downloadu-boot-fsl-qoriq-643b0f75e71098f6deddddc9a17c4cbc1dc96957.tar.xz
x86: Move timer_init() call a bit earlier
Currently timer_init() is called in board_r.c which is quite late. Some vgabios execution requires we set up the i8254 timer correctly, but video initialization comes before timer_init(). Move the call to board_f.c. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/board_f.c')
-rw-r--r--common/board_f.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/board_f.c b/common/board_f.c
index ed51305..04c273e 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -796,7 +796,7 @@ static init_fnc_t init_sequence_f[] = {
/* TODO: can we rename this to timer_init()? */
init_timebase,
#endif
-#if defined(CONFIG_ARM) || defined(CONFIG_MIPS) || \
+#if defined(CONFIG_X86) || defined(CONFIG_ARM) || defined(CONFIG_MIPS) || \
defined(CONFIG_BLACKFIN) || defined(CONFIG_NDS32)
timer_init, /* initialize timer */
#endif