[U-Boot] [PATCH 3/3] arm/PSCI: Added support for creating ARMv7 PSCI version 1.0 DT node

Zhiqiang Hou Zhiqiang.Hou at nxp.com
Fri Jul 29 12:26:37 CEST 2016


From: Hou Zhiqiang <Zhiqiang.Hou at nxp.com>

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou at nxp.com>
---
 arch/arm/lib/psci-dt.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/lib/psci-dt.c b/arch/arm/lib/psci-dt.c
index af49c24..baf6d70 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:
-- 
2.1.0.27.g96db324



More information about the U-Boot mailing list