summaryrefslogtreecommitdiff
path: root/firmware/target/arm/s3c2440
diff options
context:
space:
mode:
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)
9#define PLUGINSIZE PLUGIN_BUFFER_SIZE 9#define PLUGINSIZE PLUGIN_BUFFER_SIZE
10#define CODECSIZE CODEC_SIZE 10#define CODECSIZE CODEC_SIZE
11 11
12#ifdef DEBUG
13#define STUBOFFSET 0x10000
14#else
15#define STUBOFFSET 0
16#endif
17
18#include "cpu.h" 12#include "cpu.h"
19#define DRAMSIZE (MEMORYSIZE * 0x100000) - STUBOFFSET - PLUGINSIZE - CODECSIZE - LCD_BUFFER_SIZE - TTB_SIZE 13#define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGINSIZE - CODECSIZE - LCD_BUFFER_SIZE - TTB_SIZE
20 14
21#define DRAMORIG 0x00000000 + STUBOFFSET 15#define DRAMORIG 0x00000000
22 16
23/* End of the audio buffer, where the codec buffer starts */ 17/* End of the audio buffer, where the codec buffer starts */
24#define ENDAUDIOADDR (DRAMORIG + DRAMSIZE) 18#define ENDAUDIOADDR (DRAMORIG + DRAMSIZE)