diff options
author | Liu Ying <Ying.Liu@freescale.com> | 2014-07-17 10:35:27 +0800 |
---|---|---|
committer | Liu Ying <Ying.Liu@freescale.com> | 2014-07-17 13:06:54 +0800 |
commit | e84725171a4a42ec20362706b515004e7e184da1 (patch) | |
tree | 24e657358dbac9bdd66c7b1fabb6f143a85a917b | |
parent | 6105dd636321a38d506aab4312083a50e69bd1fe (diff) | |
download | u-boot-imx-e84725171a4a42ec20362706b515004e7e184da1.zip u-boot-imx-e84725171a4a42ec20362706b515004e7e184da1.tar.gz u-boot-imx-e84725171a4a42ec20362706b515004e7e184da1.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)
-rw-r--r-- | arch/arm/imx-common/cpu.c | 4 |
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 } |