diff options
author | Roberto Vargas <roberto.vargas@arm.com> | 2017-07-26 09:23:09 +0100 |
---|---|---|
committer | Roberto Vargas <roberto.vargas@arm.com> | 2017-10-13 08:08:22 +0100 |
commit | 36a8f8fd471ae7c6dc8a810aaa8ff8734706234e (patch) | |
tree | dafccd66d969907b5621c2989c04382f67be31a3 /lib/psci/psci_setup.c | |
parent | 4d415c11c436e7a74a151a4fdf5cbdd27664e976 (diff) | |
download | platform_external_arm-trusted-firmware-36a8f8fd471ae7c6dc8a810aaa8ff8734706234e.tar.gz platform_external_arm-trusted-firmware-36a8f8fd471ae7c6dc8a810aaa8ff8734706234e.tar.bz2 platform_external_arm-trusted-firmware-36a8f8fd471ae7c6dc8a810aaa8ff8734706234e.zip |
reset2: Add PSCI system_reset2 function
This patch implements PSCI_SYSTEM_RESET2 API as defined in PSCI
v1.1 specification. The specification allows architectural and
vendor-specific resets via this API. In the current specification,
there is only one architectural reset, the warm reset. This reset is
intended to provide a fast reboot path that guarantees not to reset
system main memory.
Change-Id: I057bb81a60cd0fe56465dbb5791d8e1cca025bd3
Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
Diffstat (limited to 'lib/psci/psci_setup.c')
-rw-r--r-- | lib/psci/psci_setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/psci/psci_setup.c b/lib/psci/psci_setup.c index 5ef49acbe..a841ddab9 100644 --- a/lib/psci/psci_setup.c +++ b/lib/psci/psci_setup.c @@ -248,6 +248,8 @@ int psci_setup(const psci_lib_args_t *lib_args) psci_caps |= define_psci_cap(PSCI_MEM_PROTECT); if (psci_plat_pm_ops->mem_protect_chk) psci_caps |= define_psci_cap(PSCI_MEM_CHK_RANGE_AARCH64); + if (psci_plat_pm_ops->system_reset2) + psci_caps |= define_psci_cap(PSCI_SYSTEM_RESET2_AARCH64); #if ENABLE_PSCI_STAT psci_caps |= define_psci_cap(PSCI_STAT_RESIDENCY_AARCH64); |