summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/s3c2440
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-09-20 17:09:55 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-09-20 17:09:55 +0000
commit66f8fb52a9114ece70e1771119096589004d29f0 (patch)
treef1894d14dd0a26a5637acfe409c550d7a2b0443f /firmware/target/arm/s3c2440
parent72404784578162495c9986cd1563d9924ddc15be (diff)
downloadrockbox-66f8fb52a9114ece70e1771119096589004d29f0.tar.gz
rockbox-66f8fb52a9114ece70e1771119096589004d29f0.tar.bz2
rockbox-66f8fb52a9114ece70e1771119096589004d29f0.zip
*/app.lds: remove STUBOFFSET
This is related to gdb, and gdb can only work on SH and ifp This was mistakenly kept when app.lds was forked for each SoC Side-effect: fix DEBUG builds when the rockbox binary is expected to be loaded at the start of DRAM and there is no runtime relocation git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28124 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/s3c2440')
-rw-r--r--firmware/target/arm/s3c2440/app.lds10
1 files changed, 2 insertions, 8 deletions
diff --git a/firmware/target/arm/s3c2440/app.lds b/firmware/target/arm/s3c2440/app.lds
index a436d65770..bfd672d1a3 100644
--- a/firmware/target/arm/s3c2440/app.lds
+++ b/firmware/target/arm/s3c2440/app.lds
@@ -9,16 +9,10 @@ STARTUP(target/arm/s3c2440/crt0.o)
#define PLUGINSIZE PLUGIN_BUFFER_SIZE
#define CODECSIZE CODEC_SIZE
-#ifdef DEBUG
-#define STUBOFFSET 0x10000
-#else
-#define STUBOFFSET 0
-#endif
-
#include "cpu.h"
-#define DRAMSIZE (MEMORYSIZE * 0x100000) - STUBOFFSET - PLUGINSIZE - CODECSIZE - LCD_BUFFER_SIZE - TTB_SIZE
+#define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGINSIZE - CODECSIZE - LCD_BUFFER_SIZE - TTB_SIZE
-#define DRAMORIG 0x00000000 + STUBOFFSET
+#define DRAMORIG 0x00000000
/* End of the audio buffer, where the codec buffer starts */
#define ENDAUDIOADDR (DRAMORIG + DRAMSIZE)