Skip to content

Commit

Permalink
common/board_f.c: move mark_bootstage after arch_cpu_init_dm
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
hippo5329 authored and sjg20 committed Nov 20, 2015
1 parent 0b186c0 commit 6752195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/board_f.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6752195

Please sign in to comment.