1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 08:42:12 +02:00

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>
This commit is contained in:
Zhao Qiang
2015-03-25 17:02:59 +08:00
committed by York Sun
parent b4e78faab3
commit ae42eb035e
5 changed files with 108 additions and 4 deletions

View File

@@ -24,6 +24,18 @@
#endif
#endif
#ifdef CONFIG_LS102XA
#define QE_MURAM_SIZE 0x6000UL
#define MAX_QE_RISC 1
#define QE_NUM_OF_SNUM 28
#endif
#ifdef CONFIG_PPC
#define QE_IMMR_OFFSET 0x00140000
#else
#define QE_IMMR_OFFSET 0x01400000
#endif
/* QE I-RAM */
typedef struct qe_iram {
u32 iadd; /* I-RAM Address Register */