Skip to content

Commit

Permalink
ARM: PSCI: Enable the PSCI node
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Tom Warren <[email protected]>
  • Loading branch information
nvswarren authored and tomcwarren committed Jul 26, 2018
1 parent 326bd72 commit 74c69cd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/arm/lib/psci-dt.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@ int fdt_psci(void *fdt)
if (tmp)
return tmp;

tmp = fdt_setprop_string(fdt, nodeoff, "status", "okay");
if (tmp)
return tmp;

#endif
return 0;
}

0 comments on commit 74c69cd

Please sign in to comment.