commit | 4746616ead39336c33a07418c2e6e7d1cdc24440 | [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 | 4e6bbe543693b2b4bc8925104c070ccf4b02d679 [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>