summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorZhao Qiang <B45475@freescale.com>2015-03-25 17:02:59 +0800
committerYork Sun <yorksun@freescale.com>2015-04-21 10:19:19 -0700
commitae42eb035e86f2fca98adc5f5b59543a49797877 (patch)
tree6db2d7aa5d245cdd0aef8fc46223be292798ed08 /include/linux
parentb4e78faab3ce31543ca59a97f8d7d19d66ac608b (diff)
downloadu-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 'include/linux')
-rw-r--r--include/linux/immap_qe.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/immap_qe.h b/include/linux/immap_qe.h
index b317dcb..6d1f88e 100644
--- a/include/linux/immap_qe.h
+++ b/include/linux/immap_qe.h
@@ -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 */