public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] QE/DeepSleep: add QE deepsleep support for arm
@ 2015-04-07  7:09 Zhao Qiang
  2015-04-23 23:33 ` York Sun
  0 siblings, 1 reply; 2+ messages in thread
From: Zhao Qiang @ 2015-04-07  7:09 UTC (permalink / raw)
  To: u-boot

Muram will power off during deepsleep, and the microcode of qe
in muram will be lost, it should be reload when resume.

Signed-off-by: Zhao Qiang <B45475@freescale.com>
---
 board/freescale/common/arm_sleep.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/board/freescale/common/arm_sleep.c b/board/freescale/common/arm_sleep.c
index 8edf878..c06b862 100644
--- a/board/freescale/common/arm_sleep.c
+++ b/board/freescale/common/arm_sleep.c
@@ -19,6 +19,9 @@
 #endif
 
 #include "sleep.h"
+#ifdef CONFIG_U_QE
+#include "../../../drivers/qe/qe.h"
+#endif
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -72,6 +75,9 @@ static void dp_resume_prepare(void)
 	board_sleep_prepare();
 	armv7_init_nonsec();
 	cleanup_before_linux();
+#ifdef CONFIG_U_QE
+	u_qe_resume();
+#endif
 }
 
 int fsl_dp_resume(void)
-- 
2.1.0.27.g96db324

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-23 23:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-07  7:09 [U-Boot] [PATCH] QE/DeepSleep: add QE deepsleep support for arm Zhao Qiang
2015-04-23 23:33 ` York Sun

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