From e452383359dc25750b5bb90318fcf4269c4ec2d2 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Tue, 15 Feb 2005 14:00:37 +0000 Subject: 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 --- apps/plugins/plugin.lds | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/plugins') diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds index bd49afc0d0..6737803c1f 100644 --- a/apps/plugins/plugin.lds +++ b/apps/plugins/plugin.lds @@ -20,7 +20,11 @@ OUTPUT_FORMAT(elf32-sh) #define DRAMORIG 0x09000000 + STUBOFFSET #endif +#if MEMORYSIZE >= 32 +#define PLUGIN_LENGTH 0xC0000 +#else #define PLUGIN_LENGTH 0x8000 +#endif #define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGIN_LENGTH #define PLUGIN_ORIGIN (DRAMORIG + (DRAMSIZE)) -- cgit v1.2.3