public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] imx: mx7: implement reset_misc
@ 2016-05-19  5:02 Peng Fan
  0 siblings, 0 replies; only message in thread
From: Peng Fan @ 2016-05-19  5:02 UTC (permalink / raw)
  To: u-boot

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 --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
+}
+
-- 
2.6.2

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-05-19  5:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-19  5:02 [U-Boot] [PATCH] imx: mx7: implement reset_misc Peng Fan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox