From: Tom Rini Date: Tue, 19 Jun 2018 14:42:04 -0400 Subject: [U-Boot] arm: Do not clear LR on exception in SPL In-Reply-To: <20180611190417.22898-1-afd@ti.com> References: <20180611190417.22898-1-afd@ti.com> Message-ID: <20180619184204.GQ4609@bill-the-cat.ec.rr.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: