drivers/serial: Remove the lowconsole driver

Replace with the syslog console driver which has more capability than lowconsole
This commit is contained in:
Xiang Xiao
2020-02-18 09:55:04 +08:00
committed by Gregory Nutt
parent ad97c044a7
commit f982ee43db
78 changed files with 60 additions and 387 deletions
+1 -3
View File
@@ -155,9 +155,7 @@ void up_initialize(void)
* serial driver).
*/
#if defined(CONFIG_DEV_LOWCONSOLE)
lowconsole_init();
#elif defined(CONFIG_CONSOLE_SYSLOG)
#if defined(CONFIG_CONSOLE_SYSLOG)
syslog_console_init();
#elif defined(CONFIG_RAMLOG_CONSOLE)
ramlog_consoleinit();
-13
View File
@@ -59,16 +59,11 @@
#ifndef CONFIG_DEV_CONSOLE
# undef USE_SERIALDRIVER
# undef USE_EARLYSERIALINIT
# undef CONFIG_DEV_LOWCONSOLE
# undef CONFIG_RAMLOG_CONSOLE
#else
# if defined(CONFIG_RAMLOG_CONSOLE)
# undef USE_SERIALDRIVER
# undef USE_EARLYSERIALINIT
# undef CONFIG_DEV_LOWCONSOLE
# elif defined(CONFIG_DEV_LOWCONSOLE)
# undef USE_SERIALDRIVER
# undef USE_EARLYSERIALINIT
# else
# define USE_SERIALDRIVER 1
# define USE_EARLYSERIALINIT 1
@@ -210,14 +205,6 @@ void rpmsg_serialinit(void);
# define rpmsg_serialinit()
#endif
/* Defined in drivers/lowconsole.c */
#ifdef CONFIG_DEV_LOWCONSOLE
void lowconsole_init(void);
#else
# define lowconsole_init()
#endif
/* Defined in xyz_watchdog.c */
void up_wdtinit(void);