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

Signed-off-by: Eric Gao <eric....@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


_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to