diff options
author | Nishant Sharma <nishant.sharma@arm.com> | 2023-10-04 07:27:15 +0100 |
---|---|---|
committer | Nishant Sharma <nishant.sharma@arm.com> | 2023-10-12 10:47:18 +0100 |
commit | b4bed4b769e907c8431b07f698da24660dfe0059 (patch) | |
tree | 8d0a5d0e41be41502b24dce88f8b3d08975327f1 /plat/arm/board | |
parent | 6e92a82c81d2b0e49df730f68c8312beec1d3b48 (diff) |
feat(rdn2): add defines needed for spmc-el3
Add the following platform specific flags to enable SPMC build.
SECURE_PARTITION_COUNT: Number of secure partitions supported
NS_PARTITION_COUNT: Number of non secure partitions supported
MAX_EL3_LP_DESCS_COUNT: Number of logical partitions supported
Signed-off-by: Sayanta Pattanayak <sayanta.pattanayak@arm.com>
Signed-off-by: Nishant Sharma <nishant.sharma@arm.com>
Change-Id: I33d46be9dffd0acfc088bc1701dc0b1ed92dbf46
Diffstat (limited to 'plat/arm/board')
-rw-r--r-- | plat/arm/board/rdn2/include/platform_def.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/plat/arm/board/rdn2/include/platform_def.h b/plat/arm/board/rdn2/include/platform_def.h index ff1a4377f..2391b7254 100644 --- a/plat/arm/board/rdn2/include/platform_def.h +++ b/plat/arm/board/rdn2/include/platform_def.h @@ -102,4 +102,25 @@ #define PLAT_REBOOT_PRI GIC_HIGHEST_SEC_PRIORITY #define PLAT_EHF_DESC EHF_PRI_DESC(PLAT_PRI_BITS, PLAT_REBOOT_PRI) +/* + * Number of Secure Partitions supported. + * SPMC at EL3, uses this count to configure the maximum number of supported + * secure partitions. + */ +#define SECURE_PARTITION_COUNT 1 + +/* + * Number of NWd Partitions supported. + * SPMC at EL3, uses this count to configure the maximum number of supported + * nwld partitions. + */ +#define NS_PARTITION_COUNT 1 + +/* + * Number of Logical Partitions supported. + * SPMC at EL3, uses this count to configure the maximum number of supported + * logical partitions. + */ +#define MAX_EL3_LP_DESCS_COUNT 1 + #endif /* PLATFORM_DEF_H */ |