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:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user