From: Soeren Moch <smoch@web.de>
Date: Thu, 30 Jul 2020 12:11:57 +0000 (+0200)
Subject: board: tbs2910: Fix video output with existing environments
X-Git-Tag: v2025.01-rc5-pxa1908~2273^2~1
X-Git-Url: http://git.dujemihanovic.xyz/html/static/gitweb.css?a=commitdiff_plain;h=645d39aea367064868dcdd30c411806f4403b67b;p=u-boot.git

board: tbs2910: Fix video output with existing environments

Migration to DM_VIDEO changed the output device name (in stout, stderr)
from 'vga' to 'vidconsole'. This also was adapted in the default environment.
However, existing user defined environments still use 'vga'. Enable this
workaround to map the 'vga' name to 'vidconsole'. So we get HDMI video
output also with existing legacy environments.

Signed-off-by: Soeren Moch <smoch@web.de>
---

diff --git a/configs/tbs2910_defconfig b/configs/tbs2910_defconfig
index eb290554d6..f50a9952f4 100644
--- a/configs/tbs2910_defconfig
+++ b/configs/tbs2910_defconfig
@@ -101,6 +101,7 @@ CONFIG_DM_VIDEO=y
 # CONFIG_VIDEO_ANSI is not set
 CONFIG_SYS_WHITE_ON_BLACK=y
 # CONFIG_PANEL is not set
+CONFIG_VIDCONSOLE_AS_LCD=y
 CONFIG_I2C_EDID=y
 CONFIG_VIDEO_IPUV3=y
 # CONFIG_GZIP is not set