]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Convert CONFIG_CMD_TERMINAL to Kconfig
authorSimon Glass <sjg@chromium.org>
Fri, 4 Aug 2017 22:34:55 +0000 (16:34 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 11 Aug 2017 19:42:00 +0000 (15:42 -0400)
This converts the following to Kconfig:
   CONFIG_CMD_TERMINAL

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
cmd/Kconfig
include/config_cmd_all.h
include/configs/vct.h
scripts/config_whitelist.txt

index d26dcf7fc2ffbef231c9b87f8908215ea1ade803..4d7516eb5567f46ce6be24ba2b0d564e9c1dafb8 100644 (file)
@@ -1094,6 +1094,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
index 25dd3c73557e33b08055e098546b69042a7eec04..f93d5508bb3d4f0d03bb396498120fa12096c178 100644 (file)
@@ -13,7 +13,6 @@
  * Alphabetical list of all possible commands.
  */
 
-#define CONFIG_CMD_TERMINAL    /* built-in Serial Terminal     */
 #define CONFIG_CMD_UNIVERSE    /* Tundra Universe Support      */
 #define CONFIG_CMD_ZFS         /* ZFS Support                  */
 
index a98dae8e24efb1ba5b8d7d688c2ec3533aca4dfc..e7c3d4b589fdf2bc5cc920e18485bb3e3a8e9938 100644 (file)
@@ -239,8 +239,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
index aea6ea7fabff0f40b64e6a80208e11328052b187..ce34e90bf0412fcf7570a5f7b71e11a8026e3bb7 100644 (file)
@@ -293,7 +293,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