diff mbox

[U-Boot] imx: mx7: implement reset_misc

Message ID 1463634136-11324-1-git-send-email-van.freenix@gmail.com
State Accepted
Commit 9f8fa184fc1acb6fe8e15e3bbbfcb916e6bc4cc1
Delegated to: Stefano Babic
Headers show

Commit Message

Peng Fan May 19, 2016, 5:02 a.m. UTC
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 | 8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox

Patch

diff --git a/arch/arm/cpu/armv7/mx7/soc.c b/arch/arm/cpu/armv7/mx7/soc.c
index 073bbc6..ef46c92 100644
--- a/arch/arm/cpu/armv7/mx7/soc.c
+++ b/arch/arm/cpu/armv7/mx7/soc.c
@@ -441,3 +441,11 @@  void s_init(void)
 
 	return;
 }
+
+void reset_misc(void)
+{
+#ifdef CONFIG_VIDEO_MXS
+	lcdif_power_down();
+#endif
+}
+