diff options
author | Luca Vizzarro <Luca.Vizzarro@arm.com> | 2020-09-19 22:04:10 +0100 |
---|---|---|
committer | nicola-mazzucato-arm <42373140+nicola-mazzucato-arm@users.noreply.github.com> | 2020-10-22 14:39:59 +0100 |
commit | 05f3a4cbeacfc9f0a5a3f9da571b11b659530e09 (patch) | |
tree | 289058748db3e9a9cf89c1861823c49c26610dd6 | |
parent | 327e39003dc7cd8b3ab8232e54eafacccebcffe4 (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.c | 3 |
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, }, |