From patchwork Thu Apr 27 11:44:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: eric.gao@rock-chips.com X-Patchwork-Id: 755989 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3wDFZc2GgWz9sNB for ; Thu, 27 Apr 2017 21:48:24 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 1CC4FC21C49; Thu, 27 Apr 2017 11:47:27 +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 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 B119CC21C5B; Thu, 27 Apr 2017 11:46:37 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 818E1C21C3F; Thu, 27 Apr 2017 11:46:06 +0000 (UTC) Received: from regular1.263xmail.com (regular1.263xmail.com [211.150.99.135]) by lists.denx.de (Postfix) with ESMTPS id 27A99C21C79 for ; Thu, 27 Apr 2017 11:46:00 +0000 (UTC) Received: from eric.gao?rock-chips.com (unknown [192.168.165.141]) by regular1.263xmail.com (Postfix) with ESMTP id 5547E1DE86; Thu, 27 Apr 2017 19:45:46 +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 (sg-smtp01.263.net [54.255.195.220]) by smtp.263.net (Postfix) with ESMTP id 8D7C53DD; Thu, 27 Apr 2017 19:45:46 +0800 (CST) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.263.net (Postfix) with ESMTP id D6219DF319; Thu, 27 Apr 2017 19:45:48 +0800 (CST) X-RL-SENDER: eric.gao@rock-chips.com X-FST-TO: sjg@chromium.org X-SENDER-IP: 103.29.142.67 X-LOGIN-NAME: eric.gao@rock-chips.com X-UNIQUE-TAG: <9b54dcb58c744d6fcc69b0b482a34fe2> X-ATTACHMENT-NUM: 0 X-SENDER: eric.gao@rock-chips.com X-DNS-TYPE: 0 Received: from localhost (unknown [103.29.142.67]) by smtp.263.net (Postfix) whith ESMTP id 17111F0VGMP; Thu, 27 Apr 2017 19:45:49 +0800 (CST) From: Eric Gao To: sjg@chromium.org Date: Thu, 27 Apr 2017 19:44:02 +0800 Message-Id: <1493293443-22485-10-git-send-email-eric.gao@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1493293443-22485-1-git-send-email-eric.gao@rock-chips.com> References: <1493293443-22485-1-git-send-email-eric.gao@rock-chips.com> Cc: u-boot@lists.denx.de, eric.gao@rock-chips.com Subject: [U-Boot] [PATCH v5 09/10] rockchip: configs: rk3399_conmmon: Add vidconsole environment variable 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 vidconsole environment variable, so that we can enable log printing to lcd when we need. Signed-off-by: Eric Gao --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None include/configs/rk3399_common.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/configs/rk3399_common.h b/include/configs/rk3399_common.h index b7b89b0..80e2145 100644 --- a/include/configs/rk3399_common.h +++ b/include/configs/rk3399_common.h @@ -67,7 +67,10 @@ #define CONFIG_EXTRA_ENV_SETTINGS \ ENV_MEM_LAYOUT_SETTINGS \ "partitions=" PARTS_DEFAULT \ - BOOTENV + BOOTENV \ + "stdin=serial,cros-ec-keyb\0" \ + "stdout=serial,vidconsole\0" \ + "stderr=serial,vidconsole\0" #endif