aboutsummaryrefslogtreecommitdiff
path: root/core/arch/arm/plat-rzn1/platform_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/arch/arm/plat-rzn1/platform_config.h')
-rw-r--r--core/arch/arm/plat-rzn1/platform_config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/arch/arm/plat-rzn1/platform_config.h b/core/arch/arm/plat-rzn1/platform_config.h
index 860bf339..03da0e34 100644
--- a/core/arch/arm/plat-rzn1/platform_config.h
+++ b/core/arch/arm/plat-rzn1/platform_config.h
@@ -44,6 +44,12 @@
#define CFG_FW_STATIC_TZA_INIT 0x4000C0D0
#define CFG_FW_STATIC_TZA_TARG 0x4000C0D4
+/* Cortex-M3 System Control bits */
+#define SYSCTRL_PWRCTRL_CM3_CLKEN_A BIT(0)
+#define SYSCTRL_PWRCTRL_CM3_RSTN_A BIT(1)
+#define SYSCTRL_PWRCTRL_CM3_MIREQ_A BIT(2)
+#define SYSCTRL_PWRSTAT_CM3_MIRACK_A BIT(0)
+
// The LCES memory map is designed as if there are two DRAM banks
// DRAM0 is always 128 MB
// DRAM1 stand for the remaining DRAM up to the maximum