[U-Boot] [PATCH v5 09/10] rockchip: configs: rk3399_conmmon: Add vidconsole environment variable

Eric Gao eric.gao at rock-chips.com
Thu Apr 27 11:44:02 UTC 2017


Add vidconsole environment variable, so that we can enable log printing
to lcd when we need.

Signed-off-by: Eric Gao <eric.gao at rock-chips.com>
---

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
 
-- 
1.9.1




More information about the U-Boot mailing list