summaryrefslogtreecommitdiff
path: root/firmware/rom.lds
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2005-02-15 14:00:37 +0000
committerDave Chapman <dave@dchapman.com>2005-02-15 14:00:37 +0000
commite452383359dc25750b5bb90318fcf4269c4ec2d2 (patch)
tree945514f895bb55feb90e64b9425e8a04a9b6578b /firmware/rom.lds
parenta11bb63d1ed4715fad571cb388cc2b104edc52bb (diff)
downloadrockbox-e452383359dc25750b5bb90318fcf4269c4ec2d2.tar.gz
rockbox-e452383359dc25750b5bb90318fcf4269c4ec2d2.zip
Increase PLUGINSIZE to 768k for devices with at least 32MB of RAM (currently only iRiver).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5952 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/rom.lds')
-rw-r--r--firmware/rom.lds4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/rom.lds b/firmware/rom.lds
index 4da1e24c60..749998b637 100644
--- a/firmware/rom.lds
+++ b/firmware/rom.lds
@@ -8,7 +8,11 @@ OUTPUT_FORMAT(elf32-sh)
8#endif 8#endif
9INPUT(crt0.o) 9INPUT(crt0.o)
10 10
11#if MEMORYSIZE >= 32
12#define PLUGINSIZE 0xC0000
13#else
11#define PLUGINSIZE 0x8000 14#define PLUGINSIZE 0x8000
15#endif
12 16
13#define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGINSIZE 17#define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGINSIZE
14 18