]> git.baikalelectronics.ru Git - uboot.git/commit
arm: Do not clear LR on exception in SPL
authorAndrew F. Davis <afd@ti.com>
Mon, 11 Jun 2018 19:04:17 +0000 (14:04 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 18 Jun 2018 18:43:13 +0000 (14:43 -0400)
commit2c85bf48820ca7346fb3389ebc63cd8d1e95eda4
treedbdd9feab4bd237ad6a95b60a815bc62bd5df672
parent32fbdc845f96a3204b356ebce77b209761ef743c
arm: Do not clear LR on exception in SPL

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@ti.com>
arch/arm/lib/vectors.S