diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-05-08 12:06:09 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@Edk2> | 2015-05-08 12:06:09 +0000 |
commit | 7b99da9b6df5cc17da3dc8d7400b0b4e673daf68 (patch) | |
tree | 41773538854471fdaea51ea2c9d09349e36d1789 /ArmPlatformPkg | |
parent | e498b96a97dd58f4f2b2ca292e96276c7a75ee80 (diff) | |
download | edk2-7b99da9b6df5cc17da3dc8d7400b0b4e673daf68.zip edk2-7b99da9b6df5cc17da3dc8d7400b0b4e673daf68.tar.gz edk2-7b99da9b6df5cc17da3dc8d7400b0b4e673daf68.tar.bz2 |
ArmVExpressPkg: use PSCI for system reset at runtime
Since the default EfiResetSystemLib for VExpress cannot be used at
runtime (due to the fact that its MMIO registers need to be owned
by the OS and so cannot be runtime remapped), instead use PSCI calls
into EL3 at runtime.
Contributed-under: TianoCore Contribution Agreement 1.0
Reviewed-by: Olivier Martin <olivier.martin@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17380 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPlatformPkg')
-rw-r--r-- | ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc b/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc index 8dd20ca..7a8bb8e 100644 --- a/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc +++ b/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc @@ -215,6 +215,15 @@ ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
+ #
+ # 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
+ # cannot be supported at runtime (due to the fact that the syscfg MMIO registers
+ # cannot be runtime remapped), it is our best bet to get ResetSystem functionality
+ # on these platforms.
+ #
+ EfiResetSystemLib|ArmPkg/Library/ArmPsciResetSystemLib/ArmPsciResetSystemLib.inf
+
[LibraryClasses.ARM, LibraryClasses.AARCH64]
#
# It is not possible to prevent the ARM compiler for generic intrinsic functions.
|