forked from nuttx/nuttx-update
init: Move file system initialization before clock/irq
since these subsystem may register the driver under /dev Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
c695a5924f
commit
18c19c1198
1 changed files with 4 additions and 4 deletions
|
@ -613,6 +613,10 @@ void nx_start(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
/* Initialize the file system (needed to support device drivers) */
|
||||
|
||||
fs_initialize();
|
||||
|
||||
/* Initialize the interrupt handling subsystem (if included) */
|
||||
|
||||
#ifdef CONFIG_HAVE_WEAKFUNCTIONS
|
||||
|
@ -680,10 +684,6 @@ void nx_start(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
/* Initialize the file system (needed to support device drivers) */
|
||||
|
||||
fs_initialize();
|
||||
|
||||
#ifdef CONFIG_NET
|
||||
/* Initialize the networking system */
|
||||
|
||||
|
|
Loading…
Reference in a new issue