aboutsummaryrefslogtreecommitdiff
path: root/common/aarch32
diff options
context:
space:
mode:
authorAntonio Nino Diaz <antonio.ninodiaz@arm.com>2017-02-16 16:49:18 +0000
committerAntonio Nino Diaz <antonio.ninodiaz@arm.com>2017-03-31 09:54:22 +0100
commit1e09ff93444943edcebfb167202f37a5e7913d92 (patch)
treee3281d929b4cfc7ec318257a0c9471178b743491 /common/aarch32
parent0b32628eddfef95b51909816f625e6f37cd21cb8 (diff)
downloadtrusted-firmware-a-1e09ff93444943edcebfb167202f37a5e7913d92.tar.gz
Remove dead loops in assert() in C and ASM
The desired behaviour is to call `plat_panic_handler()`, and to use `no_ret` to do so from ASM. Change-Id: I88b2feefa6e6c8f9bf057fd51ee0d2e9fb551e4f Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'common/aarch32')
-rw-r--r--common/aarch32/debug.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/aarch32/debug.S b/common/aarch32/debug.S
index 504da248ac..77298a12e6 100644
--- a/common/aarch32/debug.S
+++ b/common/aarch32/debug.S
@@ -75,7 +75,7 @@ func do_panic
1:
mov lr, r6
- b plat_panic_handler
+ no_ret plat_panic_handler
endfunc do_panic
/***********************************************************