diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2004-10-06 13:48:25 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2004-10-06 13:48:25 +0000 |
commit | ad7be685e15ecb2353c38f595e093d1d612c98d1 (patch) | |
tree | bb4b2616b29f6279360aeff2b92b840091eae9d6 /firmware | |
parent | c00e4b29e967638503e4dbc8a8465b3743d39f0f (diff) | |
download | rockbox-ad7be685e15ecb2353c38f595e093d1d612c98d1.tar.gz rockbox-ad7be685e15ecb2353c38f595e093d1d612c98d1.zip |
ENDADDR is now correctly defined
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5188 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-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 |