]> Git Repo - u-boot.git/commitdiff
common/board_f.c: move mark_bootstage after arch_cpu_init_dm
authorThomas Chou <[email protected]>
Fri, 30 Oct 2015 07:35:51 +0000 (15:35 +0800)
committerSimon Glass <[email protected]>
Fri, 20 Nov 2015 03:13:40 +0000 (20:13 -0700)
As mark_bootstage() uses timer, it should go after driver model
is initialized.

Signed-off-by: Thomas Chou <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
common/board_f.c

index 04c273e2fe9519450f03f9425845cc5a71451db2..84485e96e8c92189c4d068e7d124bbe5ff94869e 100644 (file)
@@ -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
This page took 0.035124 seconds and 4 git commands to generate.