summaryrefslogtreecommitdiff
path: root/firmware/target/arm/tms320dm320/dsp/linker.cmd
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2009-12-02 04:30:08 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2009-12-02 04:30:08 +0000
commit30c3382a48904b4620d6803ea55f615748b5c231 (patch)
tree67fc628808bf1c317bd9b2e19ae8d0f744ee6ff2 /firmware/target/arm/tms320dm320/dsp/linker.cmd
parentf0092e739e9810903812f7cf131ebc66d96d18bf (diff)
downloadrockbox-30c3382a48904b4620d6803ea55f615748b5c231.tar.gz
rockbox-30c3382a48904b4620d6803ea55f615748b5c231.zip
M:Robe 500: Improve audio DMA shutdown for Pause/Stop and significantly reduce the size of the DSP code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23817 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/tms320dm320/dsp/linker.cmd')
-rw-r--r--firmware/target/arm/tms320dm320/dsp/linker.cmd36
1 files changed, 23 insertions, 13 deletions
diff --git a/firmware/target/arm/tms320dm320/dsp/linker.cmd b/firmware/target/arm/tms320dm320/dsp/linker.cmd
index 844fe25903..c2ae5f0c6b 100644
--- a/firmware/target/arm/tms320dm320/dsp/linker.cmd
+++ b/firmware/target/arm/tms320dm320/dsp/linker.cmd
@@ -1,29 +1,39 @@
1-c 1-c
2-x 2-x
3-stack 0x1000 3-stack 0x1000
4-heap 0x100 4-heap 0x100
5-l rts500.lib 5
6/* The rtx500.lib should be included if you want proper initialization,
7 * currently the program is setup so that it is not necessary to save space.
8 * reset vector should jump to _c_int00 if initialization is needed.
9 *
10 * -l rts500.lib*/
6 11
7MEMORY 12MEMORY
8{ 13{
9PAGE 0: 14PAGE 0:
10 DARAM: origin = 80h, length = 7F80h 15 DARAM (RWIX): origin = 80h, length = 7F00h
11 SARAM: origin = 8000h, length = 4000h 16 VECS (RIX) : origin = 7F80h, length = 80h
17
18 /* SARAM can be read and written to, but it cannot execute and does not need
19 * to be initialized. */
20 SARAM (RW) : origin = 8000h, length = 4000h
12} 21}
13 22
14SECTIONS 23SECTIONS
15{ 24{
16 .text PAGE 0 25 .text > DARAM PAGE 0
17 .cinit PAGE 0 26 .cinit > DARAM PAGE 0
18 .switch PAGE 0 27 .switch > DARAM PAGE 0
28 .data > DARAM PAGE 0
19 29
20 .bss PAGE 0 30 .bss > DARAM PAGE 0
21 .const PAGE 0 31 .const > DARAM PAGE 0
22 .sysmem PAGE 0 32 .sysmem > DARAM PAGE 0
23 .stack PAGE 0 33 .stack > DARAM PAGE 0
24 34
25 .vectors : PAGE 0 load = 7F80h 35 .vectors > VECS PAGE 0
26 36
27 /* DMA buffers for ABU mode must start on a 2*size boundary. */ 37 /* DMA buffers for ABU mode must start on a 2*size boundary. */
28 .dma : PAGE 0 load = 0x8000 38 .dma > SARAM PAGE 0
29} 39}