aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Vizzarro <Luca.Vizzarro@arm.com>2020-09-19 22:04:10 +0100
committernicola-mazzucato-arm <42373140+nicola-mazzucato-arm@users.noreply.github.com>2020-10-22 14:39:59 +0100
commit05f3a4cbeacfc9f0a5a3f9da571b11b659530e09 (patch)
tree289058748db3e9a9cf89c1861823c49c26610dd6
parent327e39003dc7cd8b3ab8232e54eafacccebcffe4 (diff)
juno/config_res_perms: Fix clock rate get permissions
The CLOCK_RATE_GET permissions are mistakenly set to deny requests to clock ids 0 to 3 for OSPM. This is only the case with CLOCK_RATE_SET. This commit fixes this issue and enabling CLOCK_RATE_GET access to all the clock ids. Change-Id: I20abc234d49cbf30aa5c50713f9f03f339886c99 Signed-off-by: Luca Vizzarro <Luca.Vizzarro@arm.com>
-rw-r--r--product/juno/scp_ramfw/config_resource_perms.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/product/juno/scp_ramfw/config_resource_perms.c b/product/juno/scp_ramfw/config_resource_perms.c
index 1837dd4e..388486be 100644
--- a/product/juno/scp_ramfw/config_resource_perms.c
+++ b/product/juno/scp_ramfw/config_resource_perms.c
@@ -145,8 +145,7 @@ static mod_res_perms_t scmi_clock_perms[]
*/
[MOD_RES_PERMS_SCMI_CLOCK_RATE_SET_IDX][0] =
((1 << 0) | (1 << 1) | (1 << 2) | (1 << 4)),
- [MOD_RES_PERMS_SCMI_CLOCK_RATE_GET_IDX][0] =
- ((1 << 0) | (1 << 1) | (1 << 2) | (1 << 4)),
+ [MOD_RES_PERMS_SCMI_CLOCK_RATE_GET_IDX][0] = 0x0,
[MOD_RES_PERMS_SCMI_CLOCK_CONFIG_SET_IDX][0] = 0x0,
[MOD_RES_PERMS_SCMI_CLOCK_DESCRIBE_RATE_IDX][0] = 0x0,
},