aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/lib
diff options
context:
space:
mode:
authorAndrew F. Davis <afd@ti.com>2018-06-11 14:04:17 -0500
committerTom Rini <trini@konsulko.com>2018-06-18 14:43:13 -0400
commita1b73c18724eb8cb75f7a60d851578d933c78095 (patch)
treedbdd9feab4bd237ad6a95b60a815bc62bd5df672 /arch/arm/lib
parent845936792bc3c602470e2d759232fb1537cbc5e7 (diff)
downloadu-boot-a1b73c18724eb8cb75f7a60d851578d933c78095.zip
u-boot-a1b73c18724eb8cb75f7a60d851578d933c78095.tar.gz
u-boot-a1b73c18724eb8cb75f7a60d851578d933c78095.tar.bz2
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>
Diffstat (limited to 'arch/arm/lib')
-rw-r--r--arch/arm/lib/vectors.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/lib/vectors.S b/arch/arm/lib/vectors.S
index 79afc27..d629cb1 100644
--- a/arch/arm/lib/vectors.S
+++ b/arch/arm/lib/vectors.S
@@ -133,7 +133,7 @@ not_used:
irq:
fiq:
1:
- bl 1b /* hang and never return */
+ b 1b /* hang and never return */
#else /* !CONFIG_SPL_BUILD */