Skip to content
GitLab
Menu
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
57477bc7
Commit
57477bc7
authored
Apr 02, 2020
by
Olivier Deprez
Committed by
TrustedFirmware Code Review
Apr 02, 2020
Browse files
Merge "Fix coverity defects found on the FPGA port." into integration
parents
ea7fc9d1
535c824e
Changes
1
Show whitespace changes
Inline
Side-by-side
plat/arm/board/arm_fpga/fpga_pm.c
View file @
57477bc7
...
...
@@ -41,9 +41,13 @@ uintptr_t fpga_sec_entrypoint;
*/
static
int
fpga_pwr_domain_on
(
u_register_t
mpidr
)
{
unsigned
int
pos
=
plat_core_pos_by_mpidr
(
mpidr
);
int
pos
=
plat_core_pos_by_mpidr
(
mpidr
);
unsigned
long
current_mpidr
=
read_mpidr_el1
();
if
(
pos
<
0
)
{
panic
();
}
if
(
mpidr
==
current_mpidr
)
{
return
PSCI_E_ALREADY_ON
;
}
...
...
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