diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-02-26 09:18:13 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-02-26 09:18:13 +0000 |
commit | a0086b61e142ec2847d90b0ba6643a106d81f3f4 (patch) | |
tree | cdac11c847734785d207d7aa6a3b991d1f4a9470 /firmware/app.lds | |
parent | ae03eec5db87aa1ad93af6a85ef1f9ae366c5075 (diff) | |
download | rockbox-a0086b61e142ec2847d90b0ba6643a106d81f3f4.tar.gz rockbox-a0086b61e142ec2847d90b0ba6643a106d81f3f4.zip |
The new preprocessed version of this file allows us to use #defines
and macros, and we now take advantage of that to set DRAM size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3346 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/app.lds')
-rw-r--r-- | firmware/app.lds | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/app.lds b/firmware/app.lds index 3cbf38210e..c6149252cb 100644 --- a/firmware/app.lds +++ b/firmware/app.lds | |||
@@ -2,9 +2,11 @@ ENTRY(start) | |||
2 | OUTPUT_FORMAT(elf32-sh) | 2 | OUTPUT_FORMAT(elf32-sh) |
3 | INPUT(crt0.o) | 3 | INPUT(crt0.o) |
4 | 4 | ||
5 | #define DRAMSIZE (MEMORYSIZE * 0x100000) | ||
6 | |||
5 | MEMORY | 7 | MEMORY |
6 | { | 8 | { |
7 | DRAM : ORIGIN = 0x09000000, LENGTH = 0x200000 | 9 | DRAM : ORIGIN = 0x09000000, LENGTH = DRAMSIZE |
8 | IRAM : ORIGIN = 0x0f000000, LENGTH = 0x1000 | 10 | IRAM : ORIGIN = 0x0f000000, LENGTH = 0x1000 |
9 | } | 11 | } |
10 | 12 | ||