summaryrefslogtreecommitdiff
path: root/board/freescale
diff options
context:
space:
mode:
authorZhao Qiang <B45475@freescale.com>2015-04-07 15:09:54 +0800
committerYork Sun <yorksun@freescale.com>2015-04-21 10:19:20 -0700
commit1fb5ff9ae732d63c8810bd1a6922273e14329093 (patch)
tree587c740c5974fbb247d3a94112a39e321f6fc2b9 /board/freescale
parentae42eb035e86f2fca98adc5f5b59543a49797877 (diff)
downloadu-boot-imx-1fb5ff9ae732d63c8810bd1a6922273e14329093.zip
u-boot-imx-1fb5ff9ae732d63c8810bd1a6922273e14329093.tar.gz
u-boot-imx-1fb5ff9ae732d63c8810bd1a6922273e14329093.tar.bz2
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. Signed-off-by: Zhao Qiang <B45475@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'board/freescale')
-rw-r--r--board/freescale/common/arm_sleep.c6
1 files changed, 6 insertions, 0 deletions
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)