mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
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>
This commit is contained in:
parent
ae42eb035e
commit
1fb5ff9ae7
1 changed files with 6 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue