From 634441544282c8d938e434e5461ab5ce4574f72b Mon Sep 17 00:00:00 2001 From: "levi.yun" Date: Fri, 18 Oct 2024 14:45:47 +0100 Subject: [PATCH] StandaloneMm/MmRpmb: StandaloneMm with FF-A v1.2 Add related libraries and Pcds to build StandaloneMm with FF-A v1.2. Signed-off-by: Levi Yun --- .../PlatformStandaloneMmRpmb.dsc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Platform/StandaloneMm/PlatformStandaloneMmPkg/PlatformStandaloneMmRpmb.dsc b/Platform/StandaloneMm/PlatformStandaloneMmPkg/PlatformStandaloneMmRpmb.dsc index ef1dc1b9f2..20d59e7919 100644 --- a/Platform/StandaloneMm/PlatformStandaloneMmPkg/PlatformStandaloneMmRpmb.dsc +++ b/Platform/StandaloneMm/PlatformStandaloneMmPkg/PlatformStandaloneMmRpmb.dsc @@ -31,8 +31,10 @@ # ################################################################################ [LibraryClasses] + ArmSmcLib|ArmPkg/Library/ArmSmcLib/ArmSmcLib.inf ArmSvcLib|ArmPkg/Library/ArmSvcLib/ArmSvcLib.inf ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf + ArmFfaLib|ArmPkg/Library/ArmFfaLib/ArmFfaStandaloneMmLib.inf BaseLib|MdePkg/Library/BaseLib/BaseLib.inf SafeIntLib|MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf VariableFlashInfoLib|MdeModulePkg/Library/BaseVariableFlashInfoLib/BaseVariableFlashInfoLib.inf @@ -72,6 +74,11 @@ NULL|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf +[LibraryClasses.common.MM_CORE_STANDALONE] + ArmFfaLib|ArmPkg/Library/ArmFfaLib/ArmFfaStandaloneMmCoreLib.inf + ArmTransferListLib|ArmPkg/Library/ArmTransferListLib/ArmTransferListLib.inf + HobLib|StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCoreHobLib.inf + [LibraryClasses.common.MM_STANDALONE] HobLib|StandaloneMmPkg/Library/StandaloneMmHobLib/StandaloneMmHobLib.inf MmServicesTableLib|MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.inf @@ -89,9 +96,6 @@ # Pcd Section - list of all EDK II PCD Entries defined by this Platform # ################################################################################ -[PcdsFeatureFlag.common] - gArmTokenSpaceGuid.PcdFfaEnable|TRUE - [PcdsFixedAtBuild] gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x800000CF gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0xff @@ -108,6 +112,8 @@ gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x00004000 gEfiMdeModulePkgTokenSpaceGuid.PcdVariableStoreSize|0x00004000 + gArmTokenSpaceGuid.PcdFfaLibConduitSmc|FALSE + [PcdsPatchableInModule] # Allocated memory for EDK2 uppers layers gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0x0