splash: display splash in DM_VIDEO configurations
authorIgor Opaniuk <igor.opaniuk@toradex.com>
Wed, 29 May 2019 09:01:43 +0000 (09:01 +0000)
committerAnatolij Gustschin <agust@denx.de>
Tue, 4 Jun 2019 21:20:43 +0000 (23:20 +0200)
commit5eb83c0ac114bf193de207f46118075a6c1621c5
tree0b010a86e83eaaaa9c041bea399f92502b648d47
parent38c2a8a00132b4dcc6a0bb5baf5146b9eb9eb2d2
splash: display splash in DM_VIDEO configurations

Currently for CONFIG_DM_VIDEO=y setting splashimage env variable doesn't
have any effect. Introduce a common function for both dm-video/lcd stacks,
that checks env("splashimage") and invokes bmp_display() accordingly.
For additional details please check discussion [1].

[1] https://lists.denx.de/pipermail/u-boot/2019-May/371002.html

Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
common/lcd.c
common/splash.c
common/stdio.c
include/splash.h