From 30ecebe01564b96f4d6dfb845a99a70278d4f420 Mon Sep 17 00:00:00 2001 From: Levi Yun Date: Tue, 6 Aug 2024 10:27:05 +0100 Subject: [PATCH] ArmPkg: Remove PcdFfaEnabled PcdFfaEnabled is no more used because ArmFfaLib could find whether FF-A is supported dynamically. This patch removes usage of PcdFfaEnabled. Continuous-integration-options: PatchCheck.ignore-multi-package Signed-off-by: Levi Yun --- ArmPkg/ArmPkg.dec | 7 ------- .../Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf | 3 --- .../StandaloneMmCoreEntryPoint.inf | 3 --- 3 files changed, 13 deletions(-) diff --git a/ArmPkg/ArmPkg.dec b/ArmPkg/ArmPkg.dec index 67afd5953f..62341bcff3 100644 --- a/ArmPkg/ArmPkg.dec +++ b/ArmPkg/ArmPkg.dec @@ -153,13 +153,6 @@ # hardware coherency (i.e., no virtualization or cache coherent DMA) gArmTokenSpaceGuid.PcdNormalMemoryNonshareableOverride|FALSE|BOOLEAN|0x00000043 -[PcdsFeatureFlag.AARCH64, PcdsFeatureFlag.ARM] - ## Used to select method for requesting services from S-EL1.

- # TRUE - Selects FF-A calls for communication between S-EL0 and SPMC.
- # FALSE - Selects SVC calls for communication between S-EL0 and SPMC.
- # @Prompt Enable FF-A support. - gArmTokenSpaceGuid.PcdFfaEnable|FALSE|BOOLEAN|0x0000005B - [PcdsFixedAtBuild.common] gArmTokenSpaceGuid.PcdTrustzoneSupport|FALSE|BOOLEAN|0x00000006 diff --git a/ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf b/ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf index ff20e58980..da6570d052 100644 --- a/ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf +++ b/ArmPkg/Library/StandaloneMmMmuLib/ArmMmuStandaloneMmLib.inf @@ -23,9 +23,6 @@ ArmPkg/ArmPkg.dec MdePkg/MdePkg.dec -[FeaturePcd.ARM, FeaturePcd.AARCH64] - gArmTokenSpaceGuid.PcdFfaEnable - [LibraryClasses] ArmLib CacheMaintenanceLib diff --git a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf index 0363e32da3..0507e9f035 100644 --- a/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf +++ b/StandaloneMmPkg/Library/StandaloneMmCoreEntryPoint/StandaloneMmCoreEntryPoint.inf @@ -56,9 +56,6 @@ [Protocols.ARM, Protocols.AARCH64] gEdkiiPiMmCpuDriverEpProtocolGuid -[FeaturePcd.ARM, FeaturePcd.AARCH64] - gArmTokenSpaceGuid.PcdFfaEnable - # # This configuration fails for CLANGPDB, which does not support PIE in the GCC # sense. Such however is required for ARM family StandaloneMmCore