SYSLOG: Now a two phase initialization. Some SYSLOG channels cannot be initialized until later in the bringup

This commit is contained in:
Gregory Nutt
2016-06-21 07:52:24 -06:00
parent 5385266756
commit 62d8f839c7
13 changed files with 85 additions and 37 deletions
+5 -2
View File
@@ -183,9 +183,12 @@ void up_initialize(void)
ramlog_consoleinit();
#endif
/* Initialize the system logging device */
/* Early initialization of the system logging device. Some SYSLOG channel
* can be initialized early in the initialization sequence because they
* depend on minimal OS initialization.
*/
syslog_initialize();
syslog_initialize(SYSLOG_INIT_EARLY);
#ifndef CONFIG_NETDEV_LATEINIT
/* Initialize the network */