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 50897b7a64
commit 652371c919
17 changed files with 102 additions and 31 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 */