diff --git a/sched/init/nx_start.c b/sched/init/nx_start.c index 939c8fb187c..9f5b04f0483 100644 --- a/sched/init/nx_start.c +++ b/sched/init/nx_start.c @@ -650,10 +650,6 @@ void nx_start(void) binfmt_initialize(); #endif - /* Initialize common drivers */ - - drivers_initialize(); - /* Initialize Hardware Facilities *****************************************/ /* The processor specific details of running the operating system @@ -664,6 +660,10 @@ void nx_start(void) up_initialize(); + /* Initialize common drivers */ + + drivers_initialize(); + #ifdef CONFIG_BOARD_EARLY_INITIALIZE /* Call the board-specific up_initialize() extension to support * early initialization of board-specific drivers and resources