From 4e511554872c318f8bce196f1cddf69432886bfa Mon Sep 17 00:00:00 2001 From: Masahisa Kojima Date: Fri, 18 Dec 2020 19:05:16 +0900 Subject: ArmPlatformPkg/NorFlashDxe: implement standalone MM version Implement a version of the NOR Flash driver that can execute in standalone MM context. This is used to access the secure variable storage, it only supports EFI_FIRMWARE_VOLUME_BLOCK2_PROTOCOL. Signed-off-by: Masahisa Kojima Reviewed-by: Ard Biesheuvel --- ArmPlatformPkg/ArmPlatformPkg.dsc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ArmPlatformPkg/ArmPlatformPkg.dsc') diff --git a/ArmPlatformPkg/ArmPlatformPkg.dsc b/ArmPlatformPkg/ArmPlatformPkg.dsc index b92ef712be..88fe1247c0 100644 --- a/ArmPlatformPkg/ArmPlatformPkg.dsc +++ b/ArmPlatformPkg/ArmPlatformPkg.dsc @@ -90,6 +90,12 @@ MemoryAllocationLib|EmbeddedPkg/Library/PrePiMemoryAllocationLib/PrePiMemoryAllocationLib.inf PrePiHobListPointerLib|ArmPlatformPkg/Library/PrePiHobListPointerLib/PrePiHobListPointerLib.inf +[LibraryClasses.AARCH64.MM_STANDALONE] + HobLib|StandaloneMmPkg/Library/StandaloneMmHobLib/StandaloneMmHobLib.inf + MemoryAllocationLib|StandaloneMmPkg/Library/StandaloneMmMemoryAllocationLib/StandaloneMmMemoryAllocationLib.inf + MmServicesTableLib|MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.inf + StandaloneMmDriverEntryPoint|MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf + [Components.common] ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/LcdGraphicsOutputDxe.inf ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf @@ -122,3 +128,6 @@ ArmPlatformPkg/PrePi/PeiUniCore.inf ArmPlatformPkg/Library/ArmMaliDp/ArmMaliDp.inf + +[Components.AARCH64] + ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashStandaloneMm.inf -- cgit v1.2.3