[U-Boot] [PATCH 30/41] Convert CONFIG_CMD_TERMINAL to Kconfig
Simon Glass
sjg at chromium.org
Fri Jul 21 23:11:29 UTC 2017
This converts the following to Kconfig:
CONFIG_CMD_TERMINAL
Signed-off-by: Simon Glass <sjg at chromium.org>
---
cmd/Kconfig | 8 ++++++++
include/config_cmd_all.h | 1 -
include/configs/vct.h | 2 --
scripts/config_whitelist.txt | 1 -
4 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 29c80feedf..27d2be8dfb 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1093,6 +1093,14 @@ config CMD_QFW
source "cmd/mvebu/Kconfig"
+config CMD_TERMINAL
+ bool "terminal - provides a way to attach a serial terminal"
+ help
+ Provides a 'cu'-like serial terminal command. This can be used to
+ access other serial ports from the system console. The terminal
+ is very simple with no special processing of characters. As with
+ cu, you can press ~. (tilde followed by period) to exit.
+
endmenu
config CMD_BOOTSTAGE
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
index db9f336431..a73909df9b 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -14,7 +14,6 @@
*/
#define CONFIG_CMD_NAND /* NAND support */
-#define CONFIG_CMD_TERMINAL /* built-in Serial Terminal */
#define CONFIG_CMD_UBIFS /* UBIFS Support */
#define CONFIG_CMD_UNIVERSE /* Tundra Universe Support */
#define CONFIG_CMD_ZFS /* ZFS Support */
diff --git a/include/configs/vct.h b/include/configs/vct.h
index 9d2194c807..2b581fc029 100644
--- a/include/configs/vct.h
+++ b/include/configs/vct.h
@@ -247,8 +247,6 @@ int vct_gpio_get(int pin);
* (NOR/OneNAND) usage and Linux kernel booting.
*/
#if defined(CONFIG_VCT_SMALL_IMAGE)
-#undef CONFIG_CMD_TERMINAL
-
#undef CONFIG_SMC911X
#undef CONFIG_SYS_I2C_SOFT
#undef CONFIG_SOURCE
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index 94d845e81b..eea40c4ac4 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -296,7 +296,6 @@ CONFIG_CM922T_XA10
CONFIG_CMDLINE_EDITING
CONFIG_CMDLINE_PS_SUPPORT
CONFIG_CMDLINE_TAG
-CONFIG_CMD_TERMINAL
CONFIG_CMD_TFTP
CONFIG_CMD_THOR_DOWNLOAD
CONFIG_CMD_TRACE
--
2.14.0.rc0.284.gd933b75aa4-goog
More information about the U-Boot
mailing list