diff options
Diffstat (limited to 'firmware/crt0.S')
-rw-r--r-- | firmware/crt0.S | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/firmware/crt0.S b/firmware/crt0.S index 75ff55423a..061ffebeab 100644 --- a/firmware/crt0.S +++ b/firmware/crt0.S | |||
@@ -348,9 +348,17 @@ prefetch_abort_handler: | |||
348 | b UIE | 348 | b UIE |
349 | 349 | ||
350 | fiq_handler: | 350 | fiq_handler: |
351 | #if CONFIG_CPU == PP5020 | ||
351 | @ Branch straight to FIQ handler in pcm_playback.c. This also handles the | 352 | @ Branch straight to FIQ handler in pcm_playback.c. This also handles the |
352 | @ the correct return sequence. | 353 | @ the correct return sequence. |
353 | ldr pc, =fiq | 354 | ldr pc, =fiq |
355 | #else | ||
356 | stmfd sp!, {r0-r3, r12, lr} | ||
357 | mov lr, pc | ||
358 | ldr pc, =fiq | ||
359 | ldmfd sp!, {r0-r3, r12, lr} | ||
360 | subs pc, lr, #4 | ||
361 | #endif | ||
354 | 362 | ||
355 | data_abort_handler: | 363 | data_abort_handler: |
356 | sub r0, lr, #8 | 364 | sub r0, lr, #8 |