diff options
author | Hongbo Zhang <hongbo.zhang@nxp.com> | 2016-08-19 09:20:32 (GMT) |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2016-09-14 21:07:51 (GMT) |
commit | d7b006393ec87e27c954523b592783ba7365c401 (patch) | |
tree | fd496eeddcb7e950ca4b4cea28291cf7f282f8ab /arch/arm/cpu/armv7/ls102xa/fsl_epu.h | |
parent | 349cfc973f8470a7839d762c25b62b4c4f4e8683 (diff) | |
download | u-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.h | 8 |
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 |