aboutsummaryrefslogtreecommitdiff
path: root/include/plat/arm/common/arm_spm_def.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/plat/arm/common/arm_spm_def.h')
-rw-r--r--include/plat/arm/common/arm_spm_def.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/plat/arm/common/arm_spm_def.h b/include/plat/arm/common/arm_spm_def.h
index 69aae4aa90..a22209957a 100644
--- a/include/plat/arm/common/arm_spm_def.h
+++ b/include/plat/arm/common/arm_spm_def.h
@@ -100,4 +100,12 @@
#define PLAT_SPM_COOKIE_0 ULL(0)
#define PLAT_SPM_COOKIE_1 ULL(0)
+/*
+ * Max number of elements supported by SPM in this platform. The defines below
+ * are used to allocate memory at compile time for different arrays in SPM.
+ */
+#define PLAT_SPM_MEM_REGIONS_MAX U(80)
+#define PLAT_SPM_NOTIFICATIONS_MAX U(30)
+#define PLAT_SPM_SERVICES_MAX U(30)
+
#endif /* ARM_SPM_DEF_H */