commit | 74493aae0018c0f6d5c81c17b2afa71af27bec43 | [log] [tgz] |
---|---|---|
author | Mans Rullgard <mans@mansr.com> | Mon May 07 11:10:47 2018 +0100 |
committer | Tom Rini <trini@konsulko.com> | Thu Jun 07 09:12:26 2018 -0400 |
tree | c2fcfc733a69508a06b450f4f6ada36d352e03c3 | |
parent | 7c753a0a00dcc4fd3d7ab22154e59f55b5f0bf2e [diff] |
ARM: orion5x: fix use of callee-saved registers in lowloevel_init The lowlevel_init function uses r4 and r6 without preserving their values as required by the AAPCS. Use r0 and r2 instead as these are call-clobbered. Signed-off-by: Mans Rullgard <mans@mansr.com> Reviewed-by: Chris Packham <judge.packham@gmail.com>