diff options
author | mario.six@gdsys.cc <mario.six@gdsys.cc> | 2017-01-17 08:33:47 +0100 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2017-01-31 09:35:06 -0800 |
commit | e80311a5f09967b2c33a772c26983abfbc821140 (patch) | |
tree | 31f9b38ead0b52626eacc8e806db76c10686f16a /lib/linux_compat.c | |
parent | cf4128e53caa4f7b0a6586fc3f10690d5c05db31 (diff) | |
download | u-boot-imx-e80311a5f09967b2c33a772c26983abfbc821140.zip u-boot-imx-e80311a5f09967b2c33a772c26983abfbc821140.tar.gz u-boot-imx-e80311a5f09967b2c33a772c26983abfbc821140.tar.bz2 |
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>
Diffstat (limited to 'lib/linux_compat.c')
0 files changed, 0 insertions, 0 deletions