diff options
Diffstat (limited to 'firmware/app.lds')
-rw-r--r-- | firmware/app.lds | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/app.lds b/firmware/app.lds index aab8900b76..6b57383ea0 100644 --- a/firmware/app.lds +++ b/firmware/app.lds | |||
@@ -17,7 +17,6 @@ INPUT(crt0.o) | |||
17 | #endif | 17 | #endif |
18 | 18 | ||
19 | #define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGINSIZE - STUBOFFSET | 19 | #define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGINSIZE - STUBOFFSET |
20 | #define ENDADDR (ORIGADDR + DRAMSIZE) | ||
21 | 20 | ||
22 | #ifdef IRIVER_H100 | 21 | #ifdef IRIVER_H100 |
23 | #define DRAMORIG 0x20000000 + STUBOFFSET | 22 | #define DRAMORIG 0x20000000 + STUBOFFSET |
@@ -29,6 +28,8 @@ INPUT(crt0.o) | |||
29 | #define IRAMSIZE 0x1000 | 28 | #define IRAMSIZE 0x1000 |
30 | #endif | 29 | #endif |
31 | 30 | ||
31 | #define ENDADDR (DRAMORIG + DRAMSIZE) | ||
32 | |||
32 | MEMORY | 33 | MEMORY |
33 | { | 34 | { |
34 | DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE | 35 | DRAM : ORIGIN = DRAMORIG, LENGTH = DRAMSIZE |