aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/lib
diff options
context:
space:
mode:
authorHou Zhiqiang2016-07-29 18:26:37 +0800
committerYork Sun2016-08-02 09:50:00 -0700
commitbded21895d4e58e7770579fc5d7905ec34cc06a9 (patch)
tree946310c25359c3176a0c77405b9f379575b74021 /arch/arm/lib
parent2c774165449ebb180060b8596764140cfb00a1e1 (diff)
arm/PSCI: Add support for creating ARMv7 PSCI version 1.0 DT node
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'arch/arm/lib')
-rw-r--r--arch/arm/lib/psci-dt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/lib/psci-dt.c b/arch/arm/lib/psci-dt.c
index af49c249cd9..baf6d7083f0 100644
--- a/arch/arm/lib/psci-dt.c
+++ b/arch/arm/lib/psci-dt.c
@@ -65,6 +65,8 @@ int fdt_psci(void *fdt)
init_psci_node:
#ifdef CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT
psci_ver = sec_firmware_support_psci_version();
+#elif defined(CONFIG_ARMV7_PSCI_1_0)
+ psci_ver = ARM_PSCI_VER_1_0;
#endif
switch (psci_ver) {
case ARM_PSCI_VER_1_0: