diff options
author | Zhao Qiang <B45475@freescale.com> | 2015-03-25 17:02:59 +0800 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2015-04-21 10:19:19 -0700 |
commit | ae42eb035e86f2fca98adc5f5b59543a49797877 (patch) | |
tree | 6db2d7aa5d245cdd0aef8fc46223be292798ed08 /board/freescale/common/mpc85xx_sleep.c | |
parent | b4e78faab3ce31543ca59a97f8d7d19d66ac608b (diff) | |
download | u-boot-imx-ae42eb035e86f2fca98adc5f5b59543a49797877.zip u-boot-imx-ae42eb035e86f2fca98adc5f5b59543a49797877.tar.gz u-boot-imx-ae42eb035e86f2fca98adc5f5b59543a49797877.tar.bz2 |
QE/DeepSleep: add QE deepsleep support for mpc85xx
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/common/mpc85xx_sleep.c')
-rw-r--r-- | board/freescale/common/mpc85xx_sleep.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/freescale/common/mpc85xx_sleep.c b/board/freescale/common/mpc85xx_sleep.c index f924e7f..9e4132c 100644 --- a/board/freescale/common/mpc85xx_sleep.c +++ b/board/freescale/common/mpc85xx_sleep.c @@ -7,6 +7,9 @@ #include <common.h> #include <asm/immap_85xx.h> #include "sleep.h" +#ifdef CONFIG_U_QE +#include "../../../drivers/qe/qe.h" +#endif DECLARE_GLOBAL_DATA_PTR; @@ -65,6 +68,11 @@ static void dp_resume_prepare(void) disable_cpc_sram(); #endif enable_cpc(); + +#ifdef CONFIG_U_QE + u_qe_resume(); +#endif + } int fsl_dp_resume(void) |