summaryrefslogtreecommitdiff
path: root/arch/avr32/boot/u-boot/head.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/avr32/boot/u-boot/head.S')
-rw-r--r--arch/avr32/boot/u-boot/head.S5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/avr32/boot/u-boot/head.S b/arch/avr32/boot/u-boot/head.S
index d36d865308df..2ffc298f061b 100644
--- a/arch/avr32/boot/u-boot/head.S
+++ b/arch/avr32/boot/u-boot/head.S
@@ -73,8 +73,11 @@ init_sr:
.long 0x007f0000 /* Supervisor mode, everything masked */
stack_addr:
.long init_thread_union
+panic_addr:
+ .long panic
no_tag_table:
sub r12, pc, (. - 2f)
- bral panic
+ /* branch to panic() which can be far away with that construct */
+ lddpc pc, panic_addr
2: .asciz "Boot loader didn't provide correct magic number\n"