[U-Boot] [PATCH v2 1/2] common/board_f.c: move mark_bootstage after arch_cpu_init_dm
Thomas Chou
thomas at wytron.com.tw
Fri Oct 30 08:35:51 CET 2015
As mark_bootstage() uses timer, it should go after driver model
is initialized.
Signed-off-by: Thomas Chou <thomas at wytron.com.tw>
Reviewed-by: Simon Glass <sjg at chromium.org>
---
common/board_f.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/board_f.c b/common/board_f.c
index 486e828..d88ada3 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -778,9 +778,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
--
2.5.0
More information about the U-Boot
mailing list