Browse Source
Merge pull request #1353 from JiafeiPan/upstream-platform-psci-bug
layerscape: fix integer handling issues
pull/1355/head
Dimitris Papastamos
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
plat/layerscape/board/ls1043/ls1043_psci.c
|
|
@ -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, |
|
|
|