diff options
author | Rob Purchase <shotofadds@rockbox.org> | 2008-09-16 08:09:44 +0000 |
---|---|---|
committer | Rob Purchase <shotofadds@rockbox.org> | 2008-09-16 08:09:44 +0000 |
commit | 1a08f46329e9f6d7bd55a8a9ad45db27df8a7593 (patch) | |
tree | 693d2bd43f42c2d1ba35584e3a0b08f4fcef5969 /firmware/target/arm/tcc77x/crt0.S | |
parent | 9cf7ef68c9747fe1baa16a80e28d8cb783ea63f5 (diff) | |
download | rockbox-1a08f46329e9f6d7bd55a8a9ad45db27df8a7593.tar.gz rockbox-1a08f46329e9f6d7bd55a8a9ad45db27df8a7593.zip |
Commit fs#9404 (iAudio 7 updates by vitja). Also fixes play/pause behaviour on D2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18528 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/tcc77x/crt0.S')
-rw-r--r-- | firmware/target/arm/tcc77x/crt0.S | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/firmware/target/arm/tcc77x/crt0.S b/firmware/target/arm/tcc77x/crt0.S index 569930352a..03dc2a9771 100644 --- a/firmware/target/arm/tcc77x/crt0.S +++ b/firmware/target/arm/tcc77x/crt0.S | |||
@@ -131,6 +131,15 @@ copied_start: | |||
131 | msr cpsr, r0 | 131 | msr cpsr, r0 |
132 | ldr sp, =fiq_stack | 132 | ldr sp, =fiq_stack |
133 | 133 | ||
134 | #ifndef BOOTLOADER | ||
135 | /* Load the banked FIQ mode registers with useful values here. | ||
136 | These values will be used in the FIQ handler in pcm-telechips.c */ | ||
137 | .equ DADO_BASE, 0x80000020 | ||
138 | |||
139 | ldr r10, =DADO_BASE | ||
140 | ldr r11, =dma_play_data | ||
141 | #endif | ||
142 | |||
134 | /* Let abort and undefined modes use IRQ stack */ | 143 | /* Let abort and undefined modes use IRQ stack */ |
135 | mov r0,#0xd7 | 144 | mov r0,#0xd7 |
136 | msr cpsr, r0 | 145 | msr cpsr, r0 |