summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/psci.h
diff options
context:
space:
mode:
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>2016-07-29 10:26:36 (GMT)
committerYork Sun <york.sun@nxp.com>2016-08-02 16:47:49 (GMT)
commit2c774165449ebb180060b8596764140cfb00a1e1 (patch)
tree64b5dcf3c2d369bbac88c33db627230367ff5cca /arch/arm/include/asm/psci.h
parent388aabc85d4c6a0e603e45421e7e2edadd9f24ac (diff)
downloadu-boot-fsl-qoriq-2c774165449ebb180060b8596764140cfb00a1e1.tar.xz
arm/PSCI: Fixed the backward compatiblity issue
Appended the compatible strings of old version PSCI to the latest version supported. And there are some psci functions' property must be added to DT only for psci version 0.1, including cpu_on, cpu_off, cpu_suspend, migrate. Note, ARMv8 Secure Firmware Framework doesn't support PSCI ver 0.1. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'arch/arm/include/asm/psci.h')
-rw-r--r--arch/arm/include/asm/psci.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/psci.h b/arch/arm/include/asm/psci.h
index 8aefaa7..5b8ce4d 100644
--- a/arch/arm/include/asm/psci.h
+++ b/arch/arm/include/asm/psci.h
@@ -18,6 +18,9 @@
#ifndef __ARM_PSCI_H__
#define __ARM_PSCI_H__
+#define ARM_PSCI_VER_1_0 (0x00010000)
+#define ARM_PSCI_VER_0_2 (0x00000002)
+
/* PSCI 0.1 interface */
#define ARM_PSCI_FN_BASE 0x95c1ba5e
#define ARM_PSCI_FN(n) (ARM_PSCI_FN_BASE + (n))