From b4bed4b769e907c8431b07f698da24660dfe0059 Mon Sep 17 00:00:00 2001 From: Nishant Sharma Date: Wed, 4 Oct 2023 07:27:15 +0100 Subject: 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 Signed-off-by: Nishant Sharma Change-Id: I33d46be9dffd0acfc088bc1701dc0b1ed92dbf46 --- plat/arm/board/rdn2/include/platform_def.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'plat/arm/board') 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 */ -- cgit v1.2.3