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
aa2fcb43
Unverified
Commit
aa2fcb43
authored
Apr 12, 2018
by
Dimitris Papastamos
Committed by
GitHub
Apr 12, 2018
Browse files
Merge pull request #1353 from JiafeiPan/upstream-platform-psci-bug
layerscape: fix integer handling issues
parents
b47f941d
f7c5f307
Changes
1
Hide whitespace changes
Inline
Side-by-side
plat/layerscape/board/ls1043/ls1043_psci.c
View file @
aa2fcb43
...
...
@@ -94,10 +94,10 @@ static void __dead2 ls1043_system_reset(void)
static
int
ls1043_pwr_domain_on
(
u_register_t
mpidr
)
{
int
core_pos
=
plat_core_pos_by_mpidr
(
mpidr
);
uint32_t
core_mask
=
1
<<
core_pos
;
uint32_t
brr
;
uint32_t
core_mask
,
brr
;
assert
(
core_pos
>=
0
&&
core_pos
<
PLATFORM_CORE_COUNT
);
core_mask
=
1
<<
core_pos
;
/* set warm boot entry */
mmio_write_32
(
LS_SCFG_BASE
+
LS_SCFG_SCRATCHRW0_OFFSET
,
...
...
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