From 4d41886caaefeccb08ed6eeccfffea15bad9c2a6 Mon Sep 17 00:00:00 2001 From: Karl Kurbjun Date: Sat, 13 Jun 2009 20:59:03 +0000 Subject: 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 --- firmware/target/arm/tms320dm320/app.lds | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'firmware/target/arm/tms320dm320/app.lds') 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 stackend = .; } > IRAM - /* This could probably be shortened so that the audio buffer overwrites - * at the IRAM stuff (assuming that it is copied first in crt0.S), but - * leave it for now since the space is not critical at the moment. + /* This overwrites the iram (in ram), so make sure that the iram is copied + * out in crt0.s before the bss section and the rest are used. */ - .bss (NOLOAD) : + .bss (NOLOAD) : { - . = ADDR(.data) + SIZEOF(.data) + SIZEOF(.vectors) + SIZEOF(.iram); + . = ADDR(.data) + SIZEOF(.data); _edata = .; *(.bss*) *(COMMON) . = ALIGN(0x4); _end = .; } > DRAM - .audiobuf (NOLOAD) : { . = ALIGN(4); - _audiobuffer = .; audiobuffer = .; } > DRAM .audiobufend ENDAUDIOADDR (NOLOAD) : { audiobufend = .; - _audiobufend = .; } > DRAM .codec ENDAUDIOADDR (NOLOAD) : { codecbuf = .; - _codecbuf = .; . += CODEC_SIZE; } > DRAM .plugin (NOLOAD) : { - _pluginbuf = .; pluginbuf = .; . += PLUGIN_BUFFER_SIZE; } > DRAM -- cgit v1.2.3