commit | 9f779fa4105f463920e5a857d775672fd0890c41 | [log] [tgz] |
---|---|---|
author | Peng Fan <peng.fan@nxp.com> | Mon Aug 26 08:11:56 2019 +0000 |
committer | Stefano Babic <sbabic@denx.de> | Tue Oct 08 16:35:59 2019 +0200 |
tree | 5238ad6e7938fa1d6d4ef4940961320ed11d08ac | |
parent | ed2ebd8629618b6964fd4bcceba3d69fe139063f [diff] |
imx8: disable node when the resource is not owned When resource is not assigned to non-secure Linux, if linux continue to use the node, linux may crash or hang. So need to set the node status to disabled for not owned resources. The resource id is in the power-domains property in device tree, so parse the power-domains property to get the resource id and use scfw api to check whether it is owned by current partition. Signed-off-by: Peng Fan <peng.fan@nxp.com>