diff options
author | Karl Kurbjun <kkurbjun@gmail.com> | 2009-06-13 20:59:03 +0000 |
---|---|---|
committer | Karl Kurbjun <kkurbjun@gmail.com> | 2009-06-13 20:59:03 +0000 |
commit | 4d41886caaefeccb08ed6eeccfffea15bad9c2a6 (patch) | |
tree | 7ee5071dac2dfdae5c576d6b87d87d559c5365be /firmware/target/arm/tms320dm320/app.lds | |
parent | 414f6c558b27ab6deb03d4dd49e040c75f298d46 (diff) | |
download | rockbox-4d41886caaefeccb08ed6eeccfffea15bad9c2a6.tar.gz rockbox-4d41886caaefeccb08ed6eeccfffea15bad9c2a6.zip |
M:Robe 500: Fix up 256 color blitting when in portrait mode, fix a mistake in the plugin linker script, reduce the amount of memory used by overwriting IRAM with bss after program has started, clean up some tabs and formatting, resize the simulator when building for 640x480
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21280 a1c6a512-1295-4272-9138-f99709370657
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 |