diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-07-10 15:10:00 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@Edk2> | 2015-07-10 15:10:00 +0000 |
commit | 8134dc18d465e4977653f67b787b8017ebd52b36 (patch) | |
tree | 399e1adb98e6489d0051bb959c2a0c3e0d0e80e2 /ArmPlatformPkg | |
parent | c9b378b66640529c143a2cc7654b924fab47d310 (diff) | |
download | edk2-platforms-8134dc18d465e4977653f67b787b8017ebd52b36.tar.xz |
ArmVExpressPkg: use PSCI for system reset only on AARCH64 platforms
The PSCI specification covers both ARM and AARCH64, however, the
ARM Trusted Firmware (ATF) reference implementation is only available
for AARCH64, and PSCI firmware is not widely available for ARM platforms.
So use the EfiResetSystemLib implementation that uses PSCI calls only
on AARCH64, and revert to the Versatile Express-specific system register
interface (which is only available during boot time) on ARM platforms.
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@17927 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPlatformPkg')
-rw-r--r-- | ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc b/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc index ca47db5924..37a1ef7361 100644 --- a/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc +++ b/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc @@ -223,6 +223,7 @@ CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
ArmPlatformSysConfigLib|ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigRuntimeLib/ArmVExpressSysConfigRuntimeLib.inf
+[LibraryClasses.AARCH64.DXE_RUNTIME_DRIVER]
#
# PSCI support in EL3 may not be available if we are not running under a PSCI
# compliant secure firmware, but since the default VExpress EfiResetSystemLib
|