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:Mario Six <mario.six@gdsys.cc> Reviewed-by:
Joakim Tjernlund <Joakim.Tjernlund@infinera.com> Reviewed-by:
York Sun <york.sun@nxp.com>
Loading
Please register or sign in to comment