]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm/PSCI: Add support for creating ARMv7 PSCI version 1.0 DT node
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Fri, 29 Jul 2016 10:26:37 +0000 (18:26 +0800)
committerYork Sun <york.sun@nxp.com>
Tue, 2 Aug 2016 16:50:00 +0000 (09:50 -0700)
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/arm/lib/psci-dt.c

index af49c249cd99a23fd8cf73f28236ccd4fcf759e2..baf6d7083f07652bf564f86cc8c89dfed80627e8 100644 (file)
@@ -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: