diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2010-05-03 07:48:00 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2010-05-03 07:48:00 +0000 |
commit | b3f1eb8bbafdac59f2f532adaae97debbcf48a9b (patch) | |
tree | 512da535bd61496651d33936b12d916a6769799b /firmware/target/arm/imx31/crt0.S | |
parent | bc90a616c3f1425c75289a9f1d4d9f1170af33a2 (diff) | |
download | rockbox-b3f1eb8bbafdac59f2f532adaae97debbcf48a9b.tar.gz rockbox-b3f1eb8bbafdac59f2f532adaae97debbcf48a9b.zip |
Gigabeat S: Those odd calls to irq_handler can still happen rarely after executing WFI. With no explanation forthcoming after trying many things, hide head in sand and ignore them and the IRQ will get vectored to the correct handler anyway. Have vector tables execute an immediate return and remove irq_handler from compilation altogether.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25792 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/imx31/crt0.S')
-rw-r--r-- | firmware/target/arm/imx31/crt0.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/arm/imx31/crt0.S b/firmware/target/arm/imx31/crt0.S index 0841cb9276..3a0a0041d4 100644 --- a/firmware/target/arm/imx31/crt0.S +++ b/firmware/target/arm/imx31/crt0.S | |||
@@ -32,7 +32,7 @@ start: | |||
32 | b prefetch_abort_handler | 32 | b prefetch_abort_handler |
33 | b data_abort_handler | 33 | b data_abort_handler |
34 | b reserved_handler | 34 | b reserved_handler |
35 | b irq_handler | 35 | subs pc, lr, #4 @ b irq_handler |
36 | b fiq_handler | 36 | b fiq_handler |
37 | .balign 0x40, 0x6B | 37 | .balign 0x40, 0x6B |
38 | 38 | ||
@@ -322,7 +322,7 @@ remap_end: | |||
322 | ldr pc, [pc, #24] | 322 | ldr pc, [pc, #24] |
323 | ldr pc, [pc, #24] | 323 | ldr pc, [pc, #24] |
324 | ldr pc, [pc, #24] | 324 | ldr pc, [pc, #24] |
325 | ldr pc, [pc, #24] | 325 | subs pc, lr, #4 @ ldr pc, [pc, #24] |
326 | ldr pc, [pc, #24] | 326 | ldr pc, [pc, #24] |
327 | .word newstart | 327 | .word newstart |
328 | .word undef_instr_handler | 328 | .word undef_instr_handler |
@@ -330,7 +330,7 @@ remap_end: | |||
330 | .word prefetch_abort_handler | 330 | .word prefetch_abort_handler |
331 | .word data_abort_handler | 331 | .word data_abort_handler |
332 | .word reserved_handler | 332 | .word reserved_handler |
333 | .word irq_handler | 333 | .word 0 @ irq_handler |
334 | .word fiq_handler | 334 | .word fiq_handler |
335 | #endif /* BOOTLOADER */ | 335 | #endif /* BOOTLOADER */ |
336 | 336 | ||