From patchwork Tue Jul 25 06:48:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Wen X-Patchwork-Id: 793312 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 3xGvqH1fpwz9s72 for ; Tue, 25 Jul 2017 20:38:51 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 80ADCC21E37; Tue, 25 Jul 2017 10:36:29 +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_H2 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 61FEDC21DAD; Tue, 25 Jul 2017 10:33:36 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 653A4C21D73; Tue, 25 Jul 2017 06:49:23 +0000 (UTC) Received: from regular1.263xmail.com (regular1.263xmail.com [211.150.99.134]) by lists.denx.de (Postfix) with ESMTPS id C31E8C21D72 for ; Tue, 25 Jul 2017 06:49:22 +0000 (UTC) Received: from leo.wen?rock-chips.com (unknown [192.168.165.105]) by regular1.263xmail.com (Postfix) with ESMTP id 7B5D791B0; Tue, 25 Jul 2017 14:49:18 +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 7435B3FE; Tue, 25 Jul 2017 14:49:17 +0800 (CST) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.263.net (Postfix) with ESMTP id 22EB49F609; Tue, 25 Jul 2017 14:49:08 +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: <87e6850ef59933d79d7b641060619e2c> 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 26526UZ4L8W; Tue, 25 Jul 2017 14:49:12 +0800 (CST) From: Leo Wen To: sjg@chromium.org, philipp.tomsich@theobroma-systems.com Date: Tue, 25 Jul 2017 14:48:08 +0800 Message-Id: <1500965288-29523-4-git-send-email-leo.wen@rock-chips.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1500965288-29523-1-git-send-email-leo.wen@rock-chips.com> References: <1500965288-29523-1-git-send-email-leo.wen@rock-chips.com> X-Mailman-Approved-At: Tue, 25 Jul 2017 10:33:28 +0000 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 v4 3/3] rockchip: firefly: Add "usb start" to auto-start USB device 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 "preboot=usb start" to ROCKCHIP_DEVICE_SETTINGS,you don't need to input "usb start" in command line of u-boot console,it can auto-start the USB device,after that usb keyboard can work. Change-Id: I28fc883ca7b1151a72fb7342aaaf5802492e867b Signed-off-by: Leo Wen --- include/configs/firefly-rk3288.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/configs/firefly-rk3288.h b/include/configs/firefly-rk3288.h index 6ef0960..c99ab99 100644 --- a/include/configs/firefly-rk3288.h +++ b/include/configs/firefly-rk3288.h @@ -10,7 +10,8 @@ #define ROCKCHIP_DEVICE_SETTINGS \ "stdin=serial,usbkbd\0" \ "stdout=serial,vidconsole\0" \ - "stderr=serial,vidconsole\0" + "stderr=serial,vidconsole\0" \ + "preboot=usb start\0" #include