ARM: imx: novena: Convert to DM VIDEO
[oweals/u-boot.git] / board / kosagi / novena / novena.c
index d897f8f1cd8d6da5d6f304855292821b99ff48a1..78294b820e5e82bf982f2c3f9fabf47f35c961ea 100644 (file)
@@ -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;
 }