summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx31/crt0.S
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/imx31/crt0.S')
-rw-r--r--firmware/target/arm/imx31/crt0.S29
1 files changed, 0 insertions, 29 deletions
diff --git a/firmware/target/arm/imx31/crt0.S b/firmware/target/arm/imx31/crt0.S
index 1c1ae55736..4e489800d4 100644
--- a/firmware/target/arm/imx31/crt0.S
+++ b/firmware/target/arm/imx31/crt0.S
@@ -326,35 +326,6 @@ remap_end:
326 .word 0 @ fiq_handler 326 .word 0 @ fiq_handler
327#endif /* BOOTLOADER */ 327#endif /* BOOTLOADER */
328 328
329 .text
330
331/* All illegal exceptions call into UIE with exception address as first
332 * parameter. This is calculated differently depending on which exception
333 * we're in. Second parameter is exception number, used for a string lookup
334 * in UIE. */
335undef_instr_handler:
336 sub r0, lr, #4
337 mov r1, #0
338 b UIE
339
340/* We run sys mode most of the time, and should never see a software
341 * exception being thrown. Make it illegal and call UIE. */
342software_int_handler:
343reserved_handler:
344 sub r0, lr, #4
345 mov r1, #4
346 b UIE
347
348prefetch_abort_handler:
349 sub r0, lr, #4
350 mov r1, #1
351 b UIE
352
353data_abort_handler:
354 sub r0, lr, #8
355 mov r1, #2
356 b UIE
357
358/* 256 words of IRQ stack */ 329/* 256 words of IRQ stack */
359 .section .bss 330 .section .bss
360 .balign 32 331 .balign 32