commit | d4f4a545aa21380c84c288b9f49b0c14ad36db84 | [log] [tgz] |
---|---|---|
author | mario.six@gdsys.cc <mario.six@gdsys.cc> | Tue Jan 17 08:33:47 2017 +0100 |
committer | York Sun <york.sun@nxp.com> | Tue Jan 31 09:35:06 2017 -0800 |
tree | 31f9b38ead0b52626eacc8e806db76c10686f16a | |
parent | 93b5ddb46f1b72f6e8fc68f1a0f02d7efe8f6022 [diff] |
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>