Browse Source

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>
Hou Zhiqiang 8 years ago
parent
commit
bded21895d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      arch/arm/lib/psci-dt.c

+ 2 - 0
arch/arm/lib/psci-dt.c

@@ -65,6 +65,8 @@ int fdt_psci(void *fdt)
 init_psci_node:
 init_psci_node:
 #ifdef CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT
 #ifdef CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT
 	psci_ver = sec_firmware_support_psci_version();
 	psci_ver = sec_firmware_support_psci_version();
+#elif defined(CONFIG_ARMV7_PSCI_1_0)
+	psci_ver = ARM_PSCI_VER_1_0;
 #endif
 #endif
 	switch (psci_ver) {
 	switch (psci_ver) {
 	case ARM_PSCI_VER_1_0:
 	case ARM_PSCI_VER_1_0: