Skip to content
Commit e80311a5 authored by mario.six@gdsys.cc's avatar mario.six@gdsys.cc Committed by York Sun
Browse files

powerpc: mpc83xx: Minimize r1 modification



The r1 register is modified several times during the cache-ram setup of
the MPC83xx SoCs.

Since this SP modification confuses debuggers, we use a general purpose
register to compute the new stack pointer value, and only set the SP
once after all computations are done.

Signed-off-by: default avatarMario Six <mario.six@gdsys.cc>
Reviewed-by: default avatarJoakim Tjernlund <Joakim.Tjernlund@infinera.com>
Reviewed-by: default avatarYork Sun <york.sun@nxp.com>
parent cf4128e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment