Browse Source

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
pull/1981/head
Jiafei Pan 3 years ago
committed by Jiafei Pan
parent
commit
8bfb16813a
  1. 7
      plat/nxp/common/include/default/ch_2/soc_default_helper_macros.h
  2. 5
      plat/nxp/common/include/default/ch_3_2/soc_default_helper_macros.h

7
plat/nxp/common/include/default/ch_2/soc_default_helper_macros.h

@ -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 */

5
plat/nxp/common/include/default/ch_3_2/soc_default_helper_macros.h

@ -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 */

Loading…
Cancel
Save