diff options
Diffstat (limited to 'firmware/target/arm/tms320dm320/app.lds')
-rw-r--r-- | firmware/target/arm/tms320dm320/app.lds | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/firmware/target/arm/tms320dm320/app.lds b/firmware/target/arm/tms320dm320/app.lds index 14b44153a6..2c74278142 100644 --- a/firmware/target/arm/tms320dm320/app.lds +++ b/firmware/target/arm/tms320dm320/app.lds | |||
@@ -118,44 +118,38 @@ SECTIONS | |||
118 | stackend = .; | 118 | stackend = .; |
119 | } > IRAM | 119 | } > IRAM |
120 | 120 | ||
121 | /* This could probably be shortened so that the audio buffer overwrites | 121 | /* This overwrites the iram (in ram), so make sure that the iram is copied |
122 | * at the IRAM stuff (assuming that it is copied first in crt0.S), but | 122 | * out in crt0.s before the bss section and the rest are used. |
123 | * leave it for now since the space is not critical at the moment. | ||
124 | */ | 123 | */ |
125 | .bss (NOLOAD) : | 124 | .bss (NOLOAD) : |
126 | { | 125 | { |
127 | . = ADDR(.data) + SIZEOF(.data) + SIZEOF(.vectors) + SIZEOF(.iram); | 126 | . = ADDR(.data) + SIZEOF(.data); |
128 | _edata = .; | 127 | _edata = .; |
129 | *(.bss*) | 128 | *(.bss*) |
130 | *(COMMON) | 129 | *(COMMON) |
131 | . = ALIGN(0x4); | 130 | . = ALIGN(0x4); |
132 | _end = .; | 131 | _end = .; |
133 | } > DRAM | 132 | } > DRAM |
134 | |||
135 | 133 | ||
136 | .audiobuf (NOLOAD) : | 134 | .audiobuf (NOLOAD) : |
137 | { | 135 | { |
138 | . = ALIGN(4); | 136 | . = ALIGN(4); |
139 | _audiobuffer = .; | ||
140 | audiobuffer = .; | 137 | audiobuffer = .; |
141 | } > DRAM | 138 | } > DRAM |
142 | 139 | ||
143 | .audiobufend ENDAUDIOADDR (NOLOAD) : | 140 | .audiobufend ENDAUDIOADDR (NOLOAD) : |
144 | { | 141 | { |
145 | audiobufend = .; | 142 | audiobufend = .; |
146 | _audiobufend = .; | ||
147 | } > DRAM | 143 | } > DRAM |
148 | 144 | ||
149 | .codec ENDAUDIOADDR (NOLOAD) : | 145 | .codec ENDAUDIOADDR (NOLOAD) : |
150 | { | 146 | { |
151 | codecbuf = .; | 147 | codecbuf = .; |
152 | _codecbuf = .; | ||
153 | . += CODEC_SIZE; | 148 | . += CODEC_SIZE; |
154 | } > DRAM | 149 | } > DRAM |
155 | 150 | ||
156 | .plugin (NOLOAD) : | 151 | .plugin (NOLOAD) : |
157 | { | 152 | { |
158 | _pluginbuf = .; | ||
159 | pluginbuf = .; | 153 | pluginbuf = .; |
160 | . += PLUGIN_BUFFER_SIZE; | 154 | . += PLUGIN_BUFFER_SIZE; |
161 | } > DRAM | 155 | } > DRAM |