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 073bbc6..ef46c92 100644 (file)
@@ -441,3 +441,11 @@ void s_init(void)
 
        return;
 }
+
+void reset_misc(void)
+{
+#ifdef CONFIG_VIDEO_MXS
+       lcdif_power_down();
+#endif
+}
+