summaryrefslogtreecommitdiffstats
path: root/arch/arm/lib/bootm-fdt.c
diff options
context:
space:
mode:
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>2016-06-28 20:18:16 +0800
committerYork Sun <york.sun@nxp.com>2016-07-19 11:34:07 -0700
commit45684ae37bf96b455a1d4a957b80551dc2c85959 (patch)
tree944aee501a67874cda09a402654e5a29b53128a0 /arch/arm/lib/bootm-fdt.c
parent032d5bb4aed40f1d0de0698501fcacee594caabc (diff)
downloadu-boot-45684ae37bf96b455a1d4a957b80551dc2c85959.tar.gz
u-boot-45684ae37bf96b455a1d4a957b80551dc2c85959.tar.xz
u-boot-45684ae37bf96b455a1d4a957b80551dc2c85959.zip
ARMv8/PSCI: Fixup the device tree for PSCI
Set the enable-method in the cpu node to PSCI, and create device node for PSCI, when PSCI was enabled. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'arch/arm/lib/bootm-fdt.c')
-rw-r--r--arch/arm/lib/bootm-fdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/lib/bootm-fdt.c b/arch/arm/lib/bootm-fdt.c
index 76b75d8e46..fe5b488339 100644
--- a/arch/arm/lib/bootm-fdt.c
+++ b/arch/arm/lib/bootm-fdt.c
@@ -45,7 +45,7 @@ int arch_fixup_fdt(void *blob)
if (ret)
return ret;
-#ifdef CONFIG_ARMV7_NONSEC
+#if defined(CONFIG_ARMV7_NONSEC) || defined(CONFIG_ARMV8_PSCI)
ret = psci_update_dt(blob);
if (ret)
return ret;