ramlog: Remove all ramlog_consoleinit related code

Because we can get the same function by CONSOLE_SYSLOG/syslog_console_init.
BTW, it isn't a good choice to use g_ramlogfops as /dev/console since nsh
will read back what it send out which will surprise most people.
This commit is contained in:
Xiang Xiao
2020-02-18 02:10:15 +08:00
committed by Gregory Nutt
parent f982ee43db
commit dcaaf2d912
42 changed files with 45 additions and 261 deletions
+2 -8
View File
@@ -77,15 +77,9 @@
#ifndef CONFIG_DEV_CONSOLE
# undef USE_SERIALDRIVER
# undef USE_EARLYSERIALINIT
# undef CONFIG_RAMLOG_CONSOLE
#else
# if defined(CONFIG_RAMLOG_CONSOLE)
# undef USE_SERIALDRIVER
# undef USE_EARLYSERIALINIT
# else
# define USE_SERIALDRIVER 1
# define USE_EARLYSERIALINIT 1
# endif
# define USE_SERIALDRIVER 1
# define USE_EARLYSERIALINIT 1
#endif
/****************************************************************************
+2 -8
View File
@@ -77,15 +77,9 @@
#ifndef CONFIG_DEV_CONSOLE
# undef USE_SERIALDRIVER
# undef USE_EARLYSERIALINIT
# undef CONFIG_RAMLOG_CONSOLE
#else
# if defined(CONFIG_RAMLOG_CONSOLE)
# undef USE_SERIALDRIVER
# undef USE_EARLYSERIALINIT
# else
# define USE_SERIALDRIVER 1
# define USE_EARLYSERIALINIT 1
# endif
# define USE_SERIALDRIVER 1
# define USE_EARLYSERIALINIT 1
#endif
/****************************************************************************