Unverified Commit aa2fcb43 authored by Dimitris Papastamos's avatar Dimitris Papastamos Committed by GitHub
Browse files

Merge pull request #1353 from JiafeiPan/upstream-platform-psci-bug

layerscape: fix integer handling issues
parents b47f941d f7c5f307
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment