From patchwork Tue Jul 25 11:00:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Wen X-Patchwork-Id: 793327 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=) Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3xGwKw4dkGz9s4q for ; Tue, 25 Jul 2017 21:01:56 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 6FF68C21E6A; Tue, 25 Jul 2017 11:01:33 +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 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 A19A2C21E89; Tue, 25 Jul 2017 11:01:17 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 32488C21E7C; Tue, 25 Jul 2017 11:01:08 +0000 (UTC) Received: from regular1.263xmail.com (regular1.263xmail.com [211.150.99.140]) by lists.denx.de (Postfix) with ESMTPS id 21E37C21EA2 for ; Tue, 25 Jul 2017 11:01:08 +0000 (UTC) Received: from leo.wen?rock-chips.com (unknown [192.168.165.105]) by regular1.263xmail.com (Postfix) with ESMTP id B5D294C23; Tue, 25 Jul 2017 19:01:01 +0800 (CST) X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 Received: from smtp.263.net (va-smtp01.263.net [54.88.144.211]) by smtp.263.net (Postfix) with ESMTP id 9C63F308; Tue, 25 Jul 2017 19:01:01 +0800 (CST) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.263.net (Postfix) with ESMTP id 2FE149F60F; Tue, 25 Jul 2017 19:00:53 +0800 (CST) X-RL-SENDER: leo.wen@rock-chips.com X-FST-TO: sjg@chromium.org X-SENDER-IP: 103.29.142.67 X-LOGIN-NAME: leo.wen@rock-chips.com X-UNIQUE-TAG: <09a82eff3f8b6b16832e4f5f4e370a59> X-ATTACHMENT-NUM: 0 X-SENDER: leo.wen@rock-chips.com X-DNS-TYPE: 0 Received: from localhost (unknown [103.29.142.67]) by smtp.263.net (Postfix) whith ESMTP id 17530F1MRZ2; Tue, 25 Jul 2017 19:00:57 +0800 (CST) From: Leo Wen To: sjg@chromium.org, philipp.tomsich@theobroma-systems.com Date: Tue, 25 Jul 2017 19:00:19 +0800 Message-Id: <1500980420-8484-3-git-send-email-leo.wen@rock-chips.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1500980420-8484-1-git-send-email-leo.wen@rock-chips.com> References: <1500980420-8484-1-git-send-email-leo.wen@rock-chips.com> Cc: Leo Wen , u-boot@lists.denx.de, jacob2.chen@rock-chips.com, eddie.cai@rock-chips.com, jagan@openedev.com Subject: [U-Boot] [PATCH v5 2/3] rockchip: firefly: Set the environment variable 'usbkbd' to the stdin 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" Add the 'usbkbd' environment variable to the 'stdin', the contents of the keyboard input can be auto-displayed on the serial terminal,so you don't need to manually set the environment variable 'stdin'. Signed-off-by: Leo Wen --- include/configs/firefly-rk3288.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/firefly-rk3288.h b/include/configs/firefly-rk3288.h index b4dcf23..6ef0960 100644 --- a/include/configs/firefly-rk3288.h +++ b/include/configs/firefly-rk3288.h @@ -8,7 +8,7 @@ #define __CONFIG_H #define ROCKCHIP_DEVICE_SETTINGS \ - "stdin=serial,cros-ec-keyb\0" \ + "stdin=serial,usbkbd\0" \ "stdout=serial,vidconsole\0" \ "stderr=serial,vidconsole\0"