summaryrefslogtreecommitdiff
path: root/arch/arm/imx-common/cpu.c
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2014-06-12 19:47:27 +0800
committerPeng Fan <Peng.Fan@freescale.com>2015-04-29 14:43:24 +0800
commita31dcdafb0963381e7213c59f79a340ef27ec2e2 (patch)
tree1432885a159c451c092d2360a551a16d7b738e68 /arch/arm/imx-common/cpu.c
parent92295fafcdbaa3a3fe0a63ede15f896dfc9ce0b0 (diff)
downloadu-boot-imx-a31dcdafb0963381e7213c59f79a340ef27ec2e2.zip
u-boot-imx-a31dcdafb0963381e7213c59f79a340ef27ec2e2.tar.gz
u-boot-imx-a31dcdafb0963381e7213c59f79a340ef27ec2e2.tar.bz2
ENGR00315894-81 gis: Add gis module
Add gis module, current gis is support vadc input. Add power down function to lcdif driver. Signed-off-by: Sandor Yu <R01008@freescale.com> Signed-off-by: Ye.Li <B37916@freescale.com> (cherry picked from commit a007b00dd8ef9f773dfdebef0b1deb0990281793) Conflicts: drivers/video/Makefile
Diffstat (limited to 'arch/arm/imx-common/cpu.c')
-rw-r--r--arch/arm/imx-common/cpu.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/imx-common/cpu.c b/arch/arm/imx-common/cpu.c
index 0a7d476..e097a29 100644
--- a/arch/arm/imx-common/cpu.c
+++ b/arch/arm/imx-common/cpu.c
@@ -20,6 +20,10 @@
#include <thermal.h>
#include <sata.h>
+#ifdef CONFIG_VIDEO_GIS
+#include <gis.h>
+#endif
+
#ifdef CONFIG_FSL_ESDHC
#include <fsl_esdhc.h>
#endif
@@ -237,6 +241,10 @@ void arch_preboot_os(void)
/* disable video before launching O/S */
ipuv3_fb_shutdown();
#endif
+#ifdef CONFIG_VIDEO_GIS
+ /* Entry for GIS */
+ mxc_disable_gis();
+#endif
}
void set_chipselect_size(int const cs_size)