diff options
author | Hou Zhiqiang <Zhiqiang.Hou@nxp.com> | 2016-07-29 18:26:36 +0800 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2016-08-02 09:47:49 -0700 |
commit | 2c774165449ebb180060b8596764140cfb00a1e1 (patch) | |
tree | 64b5dcf3c2d369bbac88c33db627230367ff5cca /arch/arm/include/asm/psci.h | |
parent | 388aabc85d4c6a0e603e45421e7e2edadd9f24ac (diff) | |
download | u-boot-2c774165449ebb180060b8596764140cfb00a1e1.tar.gz |
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/psci.h b/arch/arm/include/asm/psci.h index 8aefaa7708..5b8ce4d31b 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)) |