]> git.proxmox.com Git - mirror_edk2.git/commit
StandaloneMmPkg: Add option to use FF-A calls for getting SPM version
authorSughosh Ganu <sughosh.ganu@linaro.org>
Fri, 19 Feb 2021 06:36:01 +0000 (12:06 +0530)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 23 Feb 2021 15:40:37 +0000 (15:40 +0000)
commitcb4267d4c2fb3f19ab44ad4e8cdb334bd22906b5
treee1ba02ded3520af9fc6a2c6995729391db722c83
parent799c07ca280fb65e12b1505e6a0d916800a3fae8
StandaloneMmPkg: Add option to use FF-A calls for getting SPM version

With the introduction of Firmware Framework(FF-A), a Secure Partition
can get the SPM version either using FF-A calls or through the
existing svc calls. Use a runtime check to use either of the two
methods based on the Pcd feature flag value.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Co-developed-by: Achin Gupta <achin.gupta@arm.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/AArch64/StandaloneMmCoreEntryPoint.c
StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf