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>
lime2-spi
Stephen Warren 7 years ago committed by Tom Warren
parent 326bd726d0
commit 74c69cdcc0
  1. 4
      arch/arm/lib/psci-dt.c

@ -116,6 +116,10 @@ init_psci_node:
if (tmp) if (tmp)
return tmp; return tmp;
tmp = fdt_setprop_string(fdt, nodeoff, "status", "okay");
if (tmp)
return tmp;
#endif #endif
return 0; return 0;
} }

Loading…
Cancel
Save