summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiu Ying <Ying.Liu@freescale.com>2014-07-17 10:35:27 +0800
committerLiu Ying <Ying.Liu@freescale.com>2014-07-17 10:43:05 +0800
commit539b8416299ec1ae3f57f866dd3f016bdfaa6875 (patch)
tree991ccdfa77ced16efb790b5983f6761732302a4a
parentd7299ad754bb27c037fdd40c404c9d81afaeadc3 (diff)
downloadu-boot-imx-539b8416299ec1ae3f57f866dd3f016bdfaa6875.zip
u-boot-imx-539b8416299ec1ae3f57f866dd3f016bdfaa6875.tar.gz
u-boot-imx-539b8416299ec1ae3f57f866dd3f016bdfaa6875.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>
-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 9bdb951..8427eb7 100644
--- a/arch/arm/imx-common/cpu.c
+++ b/arch/arm/imx-common/cpu.c
@@ -15,6 +15,7 @@
#include <asm/arch/sys_proto.h>
#include <asm/arch/crm_regs.h>
#include <ipu_pixfmt.h>
+#include <mxsfb.h>
#ifdef CONFIG_VIDEO_GIS
#include <gis.h>
@@ -209,4 +210,7 @@ void arch_preboot_os(void)
/* Entry for GIS */
mxc_disable_gis();
#endif
+#ifdef CONFIG_VIDEO_MXS
+ lcdif_power_down();
+#endif
}