]> git.proxmox.com Git - mirror_edk2.git/commit
ArmVExpressPkg: use PSCI for system reset only on AARCH64 platforms
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 10 Jul 2015 15:10:00 +0000 (15:10 +0000)
committeroliviermartin <oliviermartin@Edk2>
Fri, 10 Jul 2015 15:10:00 +0000 (15:10 +0000)
commit8134dc18d465e4977653f67b787b8017ebd52b36
tree399e1adb98e6489d0051bb959c2a0c3e0d0e80e2
parentc9b378b66640529c143a2cc7654b924fab47d310
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
ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc