diff mbox series

board: tbs2910: Fix video output with existing environments

Message ID 20200730121157.5305-1-smoch@web.de
State Accepted
Commit 645d39aea367064868dcdd30c411806f4403b67b
Delegated to: Anatolij Gustschin
Headers show
Series board: tbs2910: Fix video output with existing environments | expand

Commit Message

Sören Moch July 30, 2020, 12:11 p.m. UTC
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>
---
Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Anatolij Gustschin <agust@denx.de>
Cc: u-boot@lists.denx.de

There was an automatic fix in the original DM_VIDEO conversion for this
case. Apparently this fix was lost on the way to v2020.10-rc1. So we need
to enable this explicitly here.

This patch was created on top of f7d0ae9 ("configs: Resync with
savedefconfig"), directly after v2020.10-rc1.
---
 configs/tbs2910_defconfig | 1 +
 1 file changed, 1 insertion(+)

--
2.17.1

Comments

Anatolij Gustschin Aug. 4, 2020, 7:44 a.m. UTC | #1
On Thu, 30 Jul 2020 14:11:57 +0200
Soeren Moch smoch@web.de wrote:

> 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>
> ---
> Cc: Stefano Babic <sbabic@denx.de>
> Cc: Fabio Estevam <festevam@gmail.com>
> Cc: Anatolij Gustschin <agust@denx.de>
> Cc: u-boot@lists.denx.de
> 
> There was an automatic fix in the original DM_VIDEO conversion for this
> case. Apparently this fix was lost on the way to v2020.10-rc1. So we need
> to enable this explicitly here.
> 
> This patch was created on top of f7d0ae9 ("configs: Resync with
> savedefconfig"), directly after v2020.10-rc1.

Applied to u-boot-video/master, thanks!

--
Anatolij
diff mbox series

Patch

diff --git a/configs/tbs2910_defconfig b/configs/tbs2910_defconfig
index b4eaf9d162..c15a173d91 100644
--- a/configs/tbs2910_defconfig
+++ b/configs/tbs2910_defconfig
@@ -100,6 +100,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