[U-Boot] arm: Do not clear LR on exception in SPL
Tom Rini
trini at konsulko.com
Tue Jun 19 18:42:04 UTC 2018
On Mon, Jun 11, 2018 at 02:04:17PM -0500, Andrew F. Davis wrote:
> When an exception or interrupt occurs the link register (LR) may
> contain the source of the exception, although we do not print the
> value it may still be extracted with a debugger. When in SPL we
> loop on getting and exception, but use a linking branch, which
> over-writes the LR value, use a regular branch instruction here.
>
> Signed-off-by: Andrew F. Davis <afd at ti.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/20180619/00d837ad/attachment.sig>
More information about the U-Boot
mailing list