]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmVExpressPkg: avoid the use of ArmVExpressSysConfigLib at runtime
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 8 May 2015 12:07:20 +0000 (12:07 +0000)
committeroliviermartin <oliviermartin@Edk2>
Fri, 8 May 2015 12:07:20 +0000 (12:07 +0000)
The ArmVExpressSysConfigLib library does not (and cannot) runtime
remap its MMIO registers, so use a NULL implementation of the
ArmPlatformSysConfigLib library class for DXE_RUNTIME_DRIVER
type modules.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17381 6f19259b-4bc3-4df7-8a09-765794883524

ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc

index 7a8bb8ecd0dd60fe4bcdc5ac368aede1e0e0a18c..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