]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPkg: Add macros for SPM version with FF-A support enabled
authorSughosh Ganu <sughosh.ganu@linaro.org>
Fri, 19 Feb 2021 06:36:00 +0000 (12:06 +0530)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 23 Feb 2021 15:40:37 +0000 (15:40 +0000)
Declare the values of SPM major and minor versions as macros with FF-A
enabled, which can be used in the module for checking the SPM version
compatibility. These SPM major and minor version numbers are mandated
for having support for the Firmware Framework(FF-A) feature enabled.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
ArmPkg/Include/IndustryStandard/ArmFfaSvc.h

index 1eadf48ab5502c60fc36b7f0fe761a14660f2c5d..bdf6ce4676d7051263c340ec312b14a01bcae295 100644 (file)
@@ -20,4 +20,7 @@
 #define ARM_SVC_ID_FFA_MSG_SEND_DIRECT_REQ_AARCH64      0xC400006F\r
 #define ARM_SVC_ID_FFA_MSG_SEND_DIRECT_RESP_AARCH64     0xC4000070\r
 \r
+#define SPM_MAJOR_VERSION_FFA                           1\r
+#define SPM_MINOR_VERSION_FFA                           0\r
+\r
 #endif // ARM_FFA_SVC_H_\r