summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/ls102xa/fsl_epu.h
diff options
context:
space:
mode:
authorHongbo Zhang <hongbo.zhang@nxp.com>2016-08-19 09:20:32 (GMT)
committerYork Sun <york.sun@nxp.com>2016-09-14 21:07:51 (GMT)
commitd7b006393ec87e27c954523b592783ba7365c401 (patch)
treefd496eeddcb7e950ca4b4cea28291cf7f282f8ab /arch/arm/cpu/armv7/ls102xa/fsl_epu.h
parent349cfc973f8470a7839d762c25b62b4c4f4e8683 (diff)
downloadu-boot-fsl-qoriq-d7b006393ec87e27c954523b592783ba7365c401.tar.xz
nxp: ls102xa: add EPU Finite State Machine
The EPU Finite State Machie (FSM) is used in both the last stage of system suspend and the earliest stage of system resume. Signed-off-by: Hongbo Zhang <hongbo.zhang@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'arch/arm/cpu/armv7/ls102xa/fsl_epu.h')
-rw-r--r--arch/arm/cpu/armv7/ls102xa/fsl_epu.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/ls102xa/fsl_epu.h b/arch/arm/cpu/armv7/ls102xa/fsl_epu.h
index d658aad..d6f7310 100644
--- a/arch/arm/cpu/armv7/ls102xa/fsl_epu.h
+++ b/arch/arm/cpu/armv7/ls102xa/fsl_epu.h
@@ -63,6 +63,14 @@
#define EPCTR31 0xA7C
#define EPCTR_STRIDE FSL_STRIDE_4B
+#define FSM_END_FLAG 0xFFFFFFFFUL
+
+struct fsm_reg_vals {
+ u32 offset;
+ u32 value;
+};
+
+void fsl_epu_setup(void *epu_base);
void fsl_epu_clean(void *epu_base);
#endif