aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv8/sec_firmware.c
diff options
context:
space:
mode:
authorYuantian Tang2017-04-19 13:27:39 +0800
committerYork Sun2017-04-24 09:07:12 -0700
commit026f30ec3e846edb85b5df8265d8cad098184be6 (patch)
treedd04857c18d73ef4ed0fc809c72cfe4ab8d2f101 /arch/arm/cpu/armv8/sec_firmware.c
parentd14428c729fb620da73234f5a8862066454de44c (diff)
arm: psci: make psci usable on single core socs
PSCI can be used on both multiple and single core socs. Current implementation only allows PSCI to work on multiple core socs. This patch removes this restriction so that PSCI can work on single core socs as well. Signed-off-by: Chenhui Zhao <chenhui.zhao@nxp.com> Signed-off-by: Tang Yuantian <andy.tang@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'arch/arm/cpu/armv8/sec_firmware.c')
-rw-r--r--arch/arm/cpu/armv8/sec_firmware.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv8/sec_firmware.c b/arch/arm/cpu/armv8/sec_firmware.c
index ec9cf40241a..4afa3ad8b1d 100644
--- a/arch/arm/cpu/armv8/sec_firmware.c
+++ b/arch/arm/cpu/armv8/sec_firmware.c
@@ -227,7 +227,7 @@ unsigned int sec_firmware_support_psci_version(void)
if (sec_firmware_addr & SEC_FIRMWARE_RUNNING)
return _sec_firmware_support_psci_version();
- return 0xffffffff;
+ return PSCI_INVALID_VER;
}
#endif