Merge tag 'u-boot-imx-20190612' of git://git.denx.de/u-boot-imx
[oweals/u-boot.git] / arch / arm / mach-imx / cpu.c
index 93e60b2039ad4aeb6cd70bc9ea4b74662f9d9d2a..d62ff6ef25df70a3e48cebb0bf3a567738ec8e46 100644 (file)
@@ -298,7 +298,7 @@ void arch_preboot_os(void)
        /* disable video before launching O/S */
        ipuv3_fb_shutdown();
 #endif
-#if defined(CONFIG_VIDEO_MXS)
+#if defined(CONFIG_VIDEO_MXS) && !defined(CONFIG_DM_VIDEO)
        lcdif_power_down();
 #endif
 }