Add CONFIG_NETDEV_LATEINIT that can be used to suppress calls to up_netinitialize() from early initialization

This commit is contained in:
Gregory Nutt
2015-07-17 07:20:16 -06:00
parent a7a7ec8850
commit 8e4f3bddb6
15 changed files with 65 additions and 27 deletions
+2
View File
@@ -188,9 +188,11 @@ void up_initialize(void)
ramlog_sysloginit();
#endif
#ifndef CONFIG_NETDEV_LATEINIT
/* Initialize the network */
up_netinitialize();
#endif
/* Initialize USB -- device and/or host */