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
5d1a2257
Commit
5d1a2257
authored
Jun 29, 2020
by
Mark Dykes
Committed by
TrustedFirmware Code Review
Jun 29, 2020
Browse files
Merge "stm32mp1: check stronger the secondary CPU entry point" into integration
parents
a021b2dd
98641993
Changes
1
Hide whitespace changes
Inline
Side-by-side
plat/st/stm32mp1/stm32mp1_pm.c
View file @
5d1a2257
...
...
@@ -10,6 +10,7 @@
#include <platform_def.h>
#include <arch_helpers.h>
#include <bl32/sp_min/platform_sp_min.h>
#include <common/debug.h>
#include <drivers/arm/gic_common.h>
#include <drivers/arm/gicv2.h>
...
...
@@ -68,9 +69,8 @@ static int stm32_pwr_domain_on(u_register_t mpidr)
return
PSCI_E_INVALID_PARAMS
;
}
if
((
stm32_sec_entrypoint
<
STM32MP_SYSRAM_BASE
)
||
(
stm32_sec_entrypoint
>
(
STM32MP_SYSRAM_BASE
+
(
STM32MP_SYSRAM_SIZE
-
1
))))
{
/* Only one valid entry point */
if
(
stm32_sec_entrypoint
!=
(
uintptr_t
)
&
sp_min_warm_entrypoint
)
{
return
PSCI_E_INVALID_ADDRESS
;
}
...
...
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