[U-Boot] [U-Boot, UNTESTED] ARM: orion5x: fix use of callee-saved registers in lowloevel_init

Tom Rini trini at konsulko.com
Fri Jun 8 11:19:07 UTC 2018


On Mon, May 07, 2018 at 11:10:47AM +0100, Mans Rullgard wrote:

> 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 at mansr.com>
> Reviewed-by: Chris Packham <judge.packham at gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180608/7eaa6c49/attachment.sig>


More information about the U-Boot mailing list