]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc
ArmVExpressPkg: avoid the use of ArmVExpressSysConfigLib at runtime
[mirror_edk2.git] / ArmPlatformPkg / ArmVExpressPkg / ArmVExpress.dsc.inc
index 8dd20ca0abc277c6090ee8f86c96511f883114d5..1d56576c47f03ceb890447ae76095fa6e56714aa 100644 (file)
   MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
   ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf\r
   CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf\r
+  ArmPlatformSysConfigLib|ArmPlatformPkg/Library/ArmPlatformSysConfigLibNull/ArmPlatformSysConfigLibNull.inf\r
+\r
+  #\r
+  # PSCI support in EL3 may not be available if we are not running under a PSCI\r
+  # compliant secure firmware, but since the default VExpress EfiResetSystemLib\r
+  # cannot be supported at runtime (due to the fact that the syscfg MMIO registers\r
+  # cannot be runtime remapped), it is our best bet to get ResetSystem functionality\r
+  # on these platforms.\r
+  #\r
+  EfiResetSystemLib|ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf\r
 \r
 [LibraryClasses.ARM, LibraryClasses.AARCH64]\r
   #\r