Browse Source

Platform/Sgi: Use MmUnblockMemoryLib when SECURE_BOOT_ENABLE

Building the RdV1 platform fails when only providing the
'-D SECURE_BOOT_ENABLE' flag due to MmUnblockMemoryLib missing.
There is only one MmUnblockMemoryLib implementation used,
so unconditionally use this implementation.

Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
Pierre Gondois 1 year ago
parent
commit
20e07099d8
1 changed files with 0 additions and 2 deletions
  1. 0 2
      Platform/ARM/SgiPkg/SgiPlatform.dsc.inc

+ 0 - 2
Platform/ARM/SgiPkg/SgiPlatform.dsc.inc

@@ -38,9 +38,7 @@
   HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
   ResetSystemLib|ArmPkg/Library/ArmSmcPsciResetSystemLib/ArmSmcPsciResetSystemLib.inf
   TimerLib|ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.inf
-!if $(SECURE_BOOT_ENABLE) == TRUE
   MmUnblockMemoryLib|MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf
-!endif
 
   # Virtio Support
   VirtioLib|OvmfPkg/Library/VirtioLib/VirtioLib.inf