]> git.proxmox.com Git - mirror_edk2.git/commit
StandaloneMmPkg: Use macros for SPM version check
authorSughosh Ganu <sughosh.ganu@linaro.org>
Fri, 19 Feb 2021 06:35:59 +0000 (12:05 +0530)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 23 Feb 2021 15:40:37 +0000 (15:40 +0000)
commit053cd5980cdb1ec1f5ac744100bb94df3018395c
tree3040acb665f71b56c96af594c7c25a8aa7fe831e
parent2385e1deca5d842bb31cfab0bcfedaa356a3ca8e
StandaloneMmPkg: Use macros for SPM version check

Declare module wide variables for SPM major and minor versions to be
used in checking the SPM version compatibility. Use the SPM major and
minor version macros declared in the previous patch for the version
check.

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