Commit 58192800 authored by Nariman Poushin's avatar Nariman Poushin
Browse files

plat/arm: css: Set MT bit in incoming mpidr arugments



Change-Id: I278d6876508800abff7aa2480910306a24de5378
Signed-off-by: default avatarNariman Poushin <nariman.poushin@linaro.org>
parent 60e27d56
......@@ -23,6 +23,12 @@ int plat_core_pos_by_mpidr(u_register_t mpidr)
if (arm_check_mpidr(mpidr) == 0) {
#if ARM_PLAT_MT
assert((read_mpidr_el1() & MPIDR_MT_MASK) != 0);
/*
* The DTB files don't provide the MT bit in the mpidr argument
* so set it manually before calculating core position
*/
mpidr |= MPIDR_MT_MASK;
#endif
return plat_arm_calc_core_pos(mpidr);
}
......
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