diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2019-11-22 14:37:17 +0800 |
---|---|---|
committer | Anson Huang <Anson.Huang@nxp.com> | 2019-12-13 10:45:49 +0800 |
commit | 418dd9bcdeb429223bbc4a6f0d5d11e646c08198 (patch) | |
tree | c0783d7cd0c9149cf0f67ccb6bd0e33a6a290b32 | |
parent | 48dfc8d9495ec1c58524ec71c9af876dd582c8e9 (diff) |
MLK-22488 imx8qm: Remove SC_R_GIC_SMMU from non-secure access list
SC_R_GIC_SMMU is a master resource, we can't set peripheral
permission to this resource, otherwise the API will return below error
on latest SCFW, because SCFW has added a resource type check.
On old SCFW, the API does nothing to a master resource. So remove the
resource from ns_access_allowed array.
ERROR: sc_rm_set_peripheral_permissions: rsrc 14, ret 3
Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
-rw-r--r-- | plat/imx/imx8qm/include/sec_rsrc.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/plat/imx/imx8qm/include/sec_rsrc.h b/plat/imx/imx8qm/include/sec_rsrc.h index d16d0512..260c2c72 100644 --- a/plat/imx/imx8qm/include/sec_rsrc.h +++ b/plat/imx/imx8qm/include/sec_rsrc.h @@ -16,7 +16,6 @@ sc_rsrc_t secure_rsrcs[] = { SC_R_A72_0, SC_R_A72_1, SC_R_GIC, - SC_R_GIC_SMMU, SC_R_CCI, SC_R_SYSTEM, SC_R_IRQSTR_SCU2, @@ -26,7 +25,6 @@ sc_rsrc_t secure_rsrcs[] = { /* resources that have register access for non-secure domain */ sc_rsrc_t ns_access_allowed[] = { SC_R_GIC, - SC_R_GIC_SMMU, SC_R_CCI, SC_R_GPT_0 }; |