mirror of
https://github.com/apache/nuttx.git
synced 2026-03-27 10:39:28 +08:00
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:
committed by
YAMAMOTO Takashi
parent
c695a5924f
commit
18c19c1198
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user