Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
03ea84c3
Commit
03ea84c3
authored
5 years ago
by
Alexei Fedorov
Committed by
TrustedFirmware Code Review
5 years ago
Browse files
Options
Download
Plain Diff
Merge "driver/arm/css: minor bug fix" into integration
parents
d95f7a72
cc7f89de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
drivers/arm/css/scp/css_pm_scmi.c
+4
-4
drivers/arm/css/scp/css_pm_scmi.c
with
4 additions
and
4 deletions
+4
-4
drivers/arm/css/scp/css_pm_scmi.c
View file @
03ea84c3
...
...
@@ -224,8 +224,8 @@ void css_scp_on(u_register_t mpidr)
SCMI_SET_PWR_STATE_MAX_PWR_LVL
(
scmi_pwr_state
,
lvl
-
1
);
core_pos
=
plat_core_pos_by_mpidr
(
mpidr
);
assert
(
core_pos
>=
0
&&
(
core_pos
<
PLATFORM_CORE_COUNT
)
)
;
core_pos
=
(
unsigned
int
)
plat_core_pos_by_mpidr
(
mpidr
);
assert
(
core_pos
<
PLATFORM_CORE_COUNT
);
css_scp_core_pos_to_scmi_channel
(
core_pos
,
&
domain_id
,
&
channel_id
);
...
...
@@ -256,8 +256,8 @@ int css_scp_get_power_state(u_register_t mpidr, unsigned int power_level)
return
PSCI_E_INVALID_PARAMS
;
}
cpu_idx
=
plat_core_pos_by_mpidr
(
mpidr
);
assert
(
cpu_idx
>
-
1
);
cpu_idx
=
(
unsigned
int
)
plat_core_pos_by_mpidr
(
mpidr
);
assert
(
cpu_idx
<
PLATFORM_CORE_COUNT
);
css_scp_core_pos_to_scmi_channel
(
cpu_idx
,
&
domain_id
,
&
channel_id
);
ret
=
scmi_pwr_state_get
(
scmi_handles
[
channel_id
],
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help