summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorLiu Ying <Ying.Liu@freescale.com>2014-07-17 10:35:27 +0800
committerPeng Fan <Peng.Fan@freescale.com>2015-04-29 14:43:24 +0800
commit07f0c8f5426c39082a6eca65c2178775314c581a (patch)
treeac3e008bdfc295601ae731306479a90ba2c1d55c /arch
parenta31dcdafb0963381e7213c59f79a340ef27ec2e2 (diff)
downloadu-boot-imx-07f0c8f5426c39082a6eca65c2178775314c581a.zip
u-boot-imx-07f0c8f5426c39082a6eca65c2178775314c581a.tar.gz
u-boot-imx-07f0c8f5426c39082a6eca65c2178775314c581a.tar.bz2
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')
-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 e097a29..7137938 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)