Skip to contentSkip to conversation

QE/DeepSleep: add QE deepsleep support for arm

PATCH New Zhao Qiang 2 participants 2 messages Apr 7, 2015 – Apr 23, 2015

lore
Share & tools
lore

Zhao Qiang

author
#0 lore raw

PATCH 1/1 QE/DeepSleep: add QE deepsleep support for arm

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

---
 board/freescale/common/arm_sleep.c | 6 ++++++
 1 file changed, 6 insertions(+)
board/freescale/common/arm_sleep.c +6 -0
index 8edf878..c06b862 100644
@@ -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)
Signature · 1 line
2.1.0.27.g96db324
Applied
#1 lore raw

PATCH 1/1 QE/DeepSleep: add QE deepsleep support for arm

Quoted 5 lines · Zhao Qiang

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

---

Applied to fsl-qoriq master, awaiting upstream.

York