Message ID | 20170804223506.105306-32-sjg@chromium.org |
---|---|
State | Accepted |
Commit | 3cef3b31853de70852abc07d8b64040e4bfa04d7 |
Delegated to: | Tom Rini |
Headers | show |
> 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> > --- > > Changes in v2: None > > 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(-) > Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
On Fri, Aug 04, 2017 at 04:34:55PM -0600, Simon Glass wrote: > 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> Applied to u-boot/master, thanks!
diff --git a/cmd/Kconfig b/cmd/Kconfig index 4c1cbe736f..a4c719d424 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1085,6 +1085,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 25dd3c7355..f93d5508bb 100644 --- a/include/config_cmd_all.h +++ b/include/config_cmd_all.h @@ -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 */ diff --git a/include/configs/vct.h b/include/configs/vct.h index a98dae8e24..e7c3d4b589 100644 --- a/include/configs/vct.h +++ b/include/configs/vct.h @@ -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 diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 4ce1273bed..1753f4572f 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