From: Zhao Qiang Date: Tue, 7 Apr 2015 07:09:54 +0000 (+0800) Subject: QE/DeepSleep: add QE deepsleep support for arm X-Git-Tag: v2015.07-rc1~67^2~40 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1fb5ff9ae732d63c8810bd1a6922273e14329093;p=u-boot 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 Reviewed-by: York Sun --- diff --git a/board/freescale/common/arm_sleep.c b/board/freescale/common/arm_sleep.c index 8edf8788ed..c06b86291a 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)