imx: mx7: implement reset_misc
authorPeng Fan <van.freenix@gmail.com>
Thu, 19 May 2016 05:02:16 +0000 (13:02 +0800)
committerStefano Babic <sbabic@denx.de>
Tue, 31 May 2016 15:42:31 +0000 (17:42 +0200)
We need to power down lcdif to make 'reset' can pass stress test.

Signed-off-by: Peng Fan <van.freenix@gmail.com>
Cc: Stefano Babic <sbabic@denx.de>
arch/arm/cpu/armv7/mx7/soc.c

index 073bbc6d014e1d05e3bf13a981c5fc3544fc15fb..ef46c92b098b223f4499812413ac840874290568 100644 (file)
@@ -441,3 +441,11 @@ void s_init(void)
 
        return;
 }
+
+void reset_misc(void)
+{
+#ifdef CONFIG_VIDEO_MXS
+       lcdif_power_down();
+#endif
+}
+