summaryrefslogtreecommitdiffstats
path: root/common/board_f.c
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2015-10-30 15:35:51 +0800
committerSimon Glass <sjg@chromium.org>2015-11-19 20:13:40 -0700
commit67521957605494a11fa5161dcc54757dc5b6b8a1 (patch)
treeb29ff44f8f56a6a911294d561c806aabf958f353 /common/board_f.c
parent0b186c0825f710a937578dc7d2ffbe125ddee7a3 (diff)
downloadblackbird-obmc-uboot-67521957605494a11fa5161dcc54757dc5b6b8a1.tar.gz
blackbird-obmc-uboot-67521957605494a11fa5161dcc54757dc5b6b8a1.zip
common/board_f.c: move mark_bootstage after arch_cpu_init_dm
As mark_bootstage() uses timer, it should go after driver model is initialized. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-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 04c273e2fe..84485e96e8 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -780,9 +780,9 @@ static init_fnc_t init_sequence_f[] = {
x86_fsp_init,
#endif
arch_cpu_init, /* basic arch cpu dependent setup */
- mark_bootstage,
initf_dm,
arch_cpu_init_dm,
+ mark_bootstage, /* need timer, go after init dm */
#if defined(CONFIG_BOARD_EARLY_INIT_F)
board_early_init_f,
#endif
OpenPOWER on IntegriCloud