From patchwork Fri Aug 4 22:34:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 798092 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="oFfBJT97"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3xPMfr66LMz9s7m for ; Sat, 5 Aug 2017 08:53:56 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 8E149C21EE7; Fri, 4 Aug 2017 22:49:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 681FCC21FCD; Fri, 4 Aug 2017 22:36:31 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 210FDC21E64; Fri, 4 Aug 2017 22:36:29 +0000 (UTC) Received: from mail-oi0-f50.google.com (mail-oi0-f50.google.com [209.85.218.50]) by lists.denx.de (Postfix) with ESMTPS id 678C2C21F6A for ; Fri, 4 Aug 2017 22:36:10 +0000 (UTC) Received: by mail-oi0-f50.google.com with SMTP id x3so27119079oia.1 for ; Fri, 04 Aug 2017 15:36:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=PpNxSd2vxATExd3G2baognlx/nmkjfsujJ3mzA47lYo=; b=oFfBJT97zlABIw0hzpoXAYpDNUUVsfzTraRlBRUu+nT2K+uEvhvnk9oZrVCvo4JoI+ 8POkNx49LRqWuPsOCANpkZysl0oKwG+cgr2FqZ4iumONqSozbI7e3XxHyufBiM/E+Ox6 bWcx/ZLO76d9nBEsFJgOGvJhmCs1H/rz97UtW9YWaZT8F6jGfBuvE0d/4e3JNSePhQo5 1V7CjtI9+wwtsw1gsk/ChnxJGjo6OXI0NyQT8xJU4arZda35Iy7GKopNx5iRGZpxbZBB htDAzh19aHCFA56hJacwtU9z0olqXwUrNULuYbNmAaDrlH5M+h6t1rSaggQ+3ixKaTcn ZJVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=PpNxSd2vxATExd3G2baognlx/nmkjfsujJ3mzA47lYo=; b=jo/Li4FBR059J3LW4gFCPypu1YGfOsC/Ao/gLLYGnenBbP5DE0l0wB7Z1uY7jJjxyT ZZxh/p23Vh1m8ywEPzygsbZ4QECb7+4PflwJNetbcvCBGuyfeNYvQug8evU8t11oVj1T Z6AJRzRqRmLiTGakO2KZxI+ZBZgSOBPaSLxMGVr8HUSDnyC1PEi3it7i3s9QVjZHLzKz wsyssVTIby59LRieT0xEyYsXDePdjOwIExduMSmwOz2oBpa54TSmwIY3tzvQXPqnoXoO eJOFcQpJbeWxYVHYoHx74REJ3QKKz5Rzrs/4NN4q2AAZ8EfOmzOujaU1UcpW3778Ce7L 1Dsg== X-Gm-Message-State: AHYfb5h3qCe9axpDwgra+KbqgJl+448Ay57Hzet+cyssOwrcQ2vcI/ig UlEjLZXJJOKMiDYo X-Received: by 10.202.244.129 with SMTP id s123mr3125150oih.318.1501886168935; Fri, 04 Aug 2017 15:36:08 -0700 (PDT) Received: from kiwi.bld.corp.google.com ([2620:0:10f2:0:70e5:c385:dad1:4894]) by smtp.gmail.com with ESMTPSA id g3sm2512957oif.21.2017.08.04.15.36.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Aug 2017 15:36:08 -0700 (PDT) Received: by kiwi.bld.corp.google.com (Postfix, from userid 121222) id D36DC1407B8; Fri, 4 Aug 2017 16:36:07 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Fri, 4 Aug 2017 16:34:55 -0600 Message-Id: <20170804223506.105306-32-sjg@chromium.org> X-Mailer: git-send-email 2.14.0.rc1.383.gd1ce394fe2-goog In-Reply-To: <20170804223506.105306-1-sjg@chromium.org> References: <20170804223506.105306-1-sjg@chromium.org> Cc: Stefan Roese , Tom Rini Subject: [U-Boot] [PATCH v2 31/42] Convert CONFIG_CMD_TERMINAL to Kconfig X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This converts the following to Kconfig: CONFIG_CMD_TERMINAL Signed-off-by: Simon Glass Reviewed-by: Bin Meng Reviewed-by: Philipp Tomsich --- 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(-) 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