From e84725171a4a42ec20362706b515004e7e184da1 Mon Sep 17 00:00:00 2001 From: Liu Ying Date: Thu, 17 Jul 2014 10:35:27 +0800 Subject: ENGR00321435-1 imx-common: cpu: Disable mxsfb when necessary The kernel may break the display pipeline at boot stage and introduce various display artifacts, so let's disable mxsfb in uboot when necessary. Signed-off-by: Liu Ying (cherry picked from commit 539b8416299ec1ae3f57f866dd3f016bdfaa6875) --- arch/arm/imx-common/cpu.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/imx-common/cpu.c b/arch/arm/imx-common/cpu.c index 9bdb951..8427eb7 100644 --- a/arch/arm/imx-common/cpu.c +++ b/arch/arm/imx-common/cpu.c @@ -15,6 +15,7 @@ #include #include #include +#include #ifdef CONFIG_VIDEO_GIS #include @@ -209,4 +210,7 @@ void arch_preboot_os(void) /* Entry for GIS */ mxc_disable_gis(); #endif +#ifdef CONFIG_VIDEO_MXS + lcdif_power_down(); +#endif } -- cgit v1.1