]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPkg: Introduce support for PcdFfaEnable
authorSughosh Ganu <sughosh.ganu@linaro.org>
Fri, 19 Feb 2021 06:35:57 +0000 (12:05 +0530)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 23 Feb 2021 15:40:37 +0000 (15:40 +0000)
The Secure Partition(SP) can request services from the Secure
Partition Manager Core(SPMC) either through FF-A calls or through the
existing SVC calls. Add a feature flag Pcd for enabling the FF-A
method -- when this is set to FALSE, the SP uses the existing SVC
calls for making the requests.

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/ArmPkg.dec

index f0b136a57af0f6cd5676aa66e528ae9c54a77620..a8a22c649ff820e20eed988c74598f246b23ffdb 100644 (file)
   # hardware coherency (i.e., no virtualization or cache coherent DMA)\r
   gArmTokenSpaceGuid.PcdNormalMemoryNonshareableOverride|FALSE|BOOLEAN|0x00000043\r
 \r
+[PcdsFeatureFlag.AARCH64]\r
+  ## Used to select method for requesting services from S-EL1.<BR><BR>\r
+  #   TRUE  - Selects FF-A calls for communication between S-EL0 and SPMC.<BR>\r
+  #   FALSE - Selects SVC calls for communication between S-EL0 and SPMC.<BR>\r
+  # @Prompt Enable FF-A support.\r
+  gArmTokenSpaceGuid.PcdFfaEnable|FALSE|BOOLEAN|0x0000005B\r
+\r
 [PcdsFixedAtBuild.common]\r
   gArmTokenSpaceGuid.PcdTrustzoneSupport|FALSE|BOOLEAN|0x00000006\r
 \r