From bded21895d4e58e7770579fc5d7905ec34cc06a9 Mon Sep 17 00:00:00 2001 From: Hou Zhiqiang Date: Fri, 29 Jul 2016 18:26:37 +0800 Subject: [PATCH] arm/PSCI: Add support for creating ARMv7 PSCI version 1.0 DT node Signed-off-by: Hou Zhiqiang Reviewed-by: York Sun --- 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 af49c249cd..baf6d7083f 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.25.1