diff options
author | Igor Opaniuk <igor.opaniuk@toradex.com> | 2019-06-04 00:05:59 +0300 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2019-06-04 23:25:54 +0200 |
commit | 8c1df09f070f1796730ce4eca104897093fea191 (patch) | |
tree | 5eccea0c4751e59ace11ceaf414641701baedf3f /arch/arm/mach-imx/cpu.c | |
parent | 9a6720522812b5d9bfda8964196407a3abbf6bb4 (diff) |
video: mxsfb: add DM_VIDEO support
Extend the driver to build with DM_VIDEO enabled. DTS files
must additionally include 'u-boot,dm-pre-reloc' property in
soc and child nodes to enable driver binding to mxsfb device.
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Diffstat (limited to 'arch/arm/mach-imx/cpu.c')
-rw-r--r-- | arch/arm/mach-imx/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/cpu.c b/arch/arm/mach-imx/cpu.c index 6b83f92662..64a0670fcf 100644 --- a/arch/arm/mach-imx/cpu.c +++ b/arch/arm/mach-imx/cpu.c @@ -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 } |