diff options
author | Marek Vasut <marex@denx.de> | 2019-05-17 20:32:20 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-06-11 10:42:48 +0200 |
commit | 2f1c06c7620ab5aaf93d78e9de777b6024f94173 (patch) | |
tree | eaedfbfac36269a2194a3c8c17b1d4c8265a73ee /board/kosagi | |
parent | 8d1e95ac8dd3f104d64786c8739f147ffb343e44 (diff) | |
download | u-boot-2f1c06c7620ab5aaf93d78e9de777b6024f94173.tar.gz u-boot-2f1c06c7620ab5aaf93d78e9de777b6024f94173.tar.bz2 u-boot-2f1c06c7620ab5aaf93d78e9de777b6024f94173.zip |
ARM: imx: novena: Convert to DM VIDEO
Enable DM Video support on iMX6Q Novena and fix minor details
to restore previous behavior of the system.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Vagrant Cascadian <vagrant@debian.org>
Diffstat (limited to 'board/kosagi')
-rw-r--r-- | board/kosagi/novena/novena.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/board/kosagi/novena/novena.c b/board/kosagi/novena/novena.c index d897f8f1cd..78294b820e 100644 --- a/board/kosagi/novena/novena.c +++ b/board/kosagi/novena/novena.c @@ -39,6 +39,7 @@ #include <power/pmic.h> #include <power/pfuze100_pmic.h> #include <stdio_dev.h> +#include <video_console.h> #include "novena.h" @@ -125,7 +126,19 @@ int board_init(void) int board_late_init(void) { #if defined(CONFIG_VIDEO_IPUV3) + struct udevice *con; + char buf[DISPLAY_OPTIONS_BANNER_LENGTH]; + int ret; + setup_display_lvds(); + + ret = uclass_get_device(UCLASS_VIDEO_CONSOLE, 0, &con); + if (ret) + return ret; + + display_options_get_banner(false, buf, sizeof(buf)); + vidconsole_position_cursor(con, 0, 0); + vidconsole_put_string(con, buf); #endif return 0; } |