summaryrefslogtreecommitdiff
path: root/arch/arm/imx-common
diff options
context:
space:
mode:
authorLiu Ying <Ying.Liu@freescale.com>2014-07-17 10:35:27 +0800
committerMax Krummenacher <max.krummenacher@toradex.com>2016-03-09 14:42:01 +0100
commit67a5fdf2ef150174a9e2c8eb241a8e2719b515b0 (patch)
tree87fcd59647fb04d84920863dbe1158fda6518983 /arch/arm/imx-common
parent7d82ff88dd793bdfba9cc0a97b1304627ee45b87 (diff)
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 <Ying.Liu@freescale.com> (cherry picked from commit 539b8416299ec1ae3f57f866dd3f016bdfaa6875) Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Diffstat (limited to 'arch/arm/imx-common')
-rw-r--r--arch/arm/imx-common/cpu.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/imx-common/cpu.c b/arch/arm/imx-common/cpu.c
index e097a29c78..71379380b8 100644
--- a/arch/arm/imx-common/cpu.c
+++ b/arch/arm/imx-common/cpu.c
@@ -19,6 +19,7 @@
#include <ipu_pixfmt.h>
#include <thermal.h>
#include <sata.h>
+#include <mxsfb.h>
#ifdef CONFIG_VIDEO_GIS
#include <gis.h>
@@ -245,6 +246,9 @@ void arch_preboot_os(void)
/* Entry for GIS */
mxc_disable_gis();
#endif
+#ifdef CONFIG_VIDEO_MXS
+ lcdif_power_down();
+#endif
}
void set_chipselect_size(int const cs_size)