feat(plat/nxp/common): add EESR register definition

Add OCRAM bit mask to be used in OCRAM driver.

Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
Change-Id: If82542cc6c1c243d8f998b193954dd72312ee1a4
This commit is contained in:
Jiafei Pan 2021-09-27 12:18:41 +08:00 committed by Jiafei Pan
parent a0da9c4bd2
commit 8bfb16813a
2 changed files with 11 additions and 1 deletions

View File

@ -56,6 +56,11 @@
#define RCPM_POWMGTCSR_OFFSET 0x130
#define RCPM_IPPDEXPCR0_OFFSET 0x140
#define RCPM_POWMGTCSR_LPM20_REQ 0x00100000
#endif
#endif /* NXP_RCPM_ADDR */
#define DCFG_SBEESR2_ADDR 0x20140534
#define DCFG_MBEESR2_ADDR 0x20140544
/* SBEESR and MBEESR bit mask */
#define OCRAM_EESR_MASK 0x00000060
#endif /* SOC_DEFAULT_HELPER_MACROS_H */

View File

@ -79,4 +79,9 @@
#define ENABLE_WUO 0x10
#endif /* NXP_CCN_ADDR */
#define DCFG_SBEESR2_ADDR 0x00100534
#define DCFG_MBEESR2_ADDR 0x00100544
/* SBEESR and MBEESR bit mask */
#define OCRAM_EESR_MASK 0x00000008
#endif /* SOC_DEFAULT_HELPER_MACROS_H */