aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/lib
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2018-06-22 13:03:18 -0600
committerTom Warren <twarren@nvidia.com>2018-07-26 13:15:30 -0700
commit74c69cdcc01694b9c08194f2c0fc49f53e766810 (patch)
tree02493626327b86766a99185fd25fb2b2631ddc8a /arch/arm/lib
parent326bd726d022f2be57ce9cd86f41130a0097beb6 (diff)
downloadu-boot-74c69cdcc01694b9c08194f2c0fc49f53e766810.zip
u-boot-74c69cdcc01694b9c08194f2c0fc49f53e766810.tar.gz
u-boot-74c69cdcc01694b9c08194f2c0fc49f53e766810.tar.bz2
ARM: PSCI: Enable the PSCI node
When fixing up the DT to report PSCI support, explicitly enable the node. DTs may ship with the node disabled in case a PSCI implementation is not present, and expect any PSCI implementation to enable the node if they are actually present. Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'arch/arm/lib')
-rw-r--r--arch/arm/lib/psci-dt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/lib/psci-dt.c b/arch/arm/lib/psci-dt.c
index 348df89..246f3c7 100644
--- a/arch/arm/lib/psci-dt.c
+++ b/arch/arm/lib/psci-dt.c
@@ -116,6 +116,10 @@ init_psci_node:
if (tmp)
return tmp;
+ tmp = fdt_setprop_string(fdt, nodeoff, "status", "okay");
+ if (tmp)
+ return tmp;
+
#endif
return 0;
}