diff options
| author | Karl Kurbjun <kkurbjun@gmail.com> | 2007-09-30 16:29:21 +0000 |
|---|---|---|
| committer | Karl Kurbjun <kkurbjun@gmail.com> | 2007-09-30 16:29:21 +0000 |
| commit | a56b65342f1c1021472eb2899ab46e69a666f7f8 (patch) | |
| tree | c4a0fcb647db0b7e9983ce5f11bdab0d945b895f /apps/plugins/plugin.lds | |
| parent | 5be5674b066b63ac8994db86f34c83c2c7f956ed (diff) | |
| download | rockbox-a56b65342f1c1021472eb2899ab46e69a666f7f8.zip rockbox-a56b65342f1c1021472eb2899ab46e69a666f7f8.tar.gz rockbox-a56b65342f1c1021472eb2899ab46e69a666f7f8.tar.bz2 rockbox-a56b65342f1c1021472eb2899ab46e69a666f7f8.tar.xz | |
Move some more files around and get the main build compiling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14919 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/plugin.lds')
| -rw-r--r-- | apps/plugins/plugin.lds | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds index 6b4310c..57afb9a 100644 --- a/apps/plugins/plugin.lds +++ b/apps/plugins/plugin.lds @@ -16,6 +16,16 @@ OUTPUT_FORMAT(elf32-sh) #define STUBOFFSET 0 #endif +#if CONFIG_CPU==S3C2440 +#include "s3c2440.h" +#define DRAMSIZE (MEMORYSIZE * 0x100000) - 0x100 - PLUGIN_BUFFER_SIZE - STUBOFFSET - CODEC_SIZE - LCD_BUFFER_SIZE - TTB_SIZE +#elif CONFIG_CPU==DM320 +#include "dm320.h" +#define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGIN_BUFFER_SIZE - STUBOFFSET - CODEC_SIZE - LCD_BUFFER_SIZE +#else +#define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGIN_BUFFER_SIZE - STUBOFFSET - CODEC_SIZE +#endif + #if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300) #define ARCH_IRIVER #endif @@ -37,8 +47,6 @@ OUTPUT_FORMAT(elf32-sh) #define IRAMORIG 0x407000 #define IRAMSIZE 0x9000 #elif CONFIG_CPU == S3C2440 -#include "s3c2440.h" -#define DRAMSIZE (MEMORYSIZE * 0x100000) - 0x100 - STUBOFFSET - LCD_BUFFER_SIZE - TTB_SIZE - PLUGIN_BUFFER_SIZE - CODEC_SIZE #define DRAMORIG 0x100 + STUBOFFSET #define IRAMORIG DRAMORIG #define IRAMSIZE 4K @@ -47,15 +55,16 @@ OUTPUT_FORMAT(elf32-sh) #define DRAMORIG 0x80000000 #define IRAMORIG 0x1FFFC000 #define IRAMSIZE 0x4000 +#elif CONFIG_CPU==DM320 +#define DRAMORIG 0x00900000 + STUBOFFSET +#define IRAMORIG 0x00000100 +#define IRAMSIZE 0x4000-0x100 #else #define DRAMORIG 0x09000000 + STUBOFFSET #endif #define PLUGIN_LENGTH PLUGIN_BUFFER_SIZE -#if CONFIG_CPU != S3C2440 -#define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGIN_LENGTH - CODEC_SIZE -#endif #define CODEC_ORIGIN (DRAMORIG + (DRAMSIZE)) #define PLUGIN_ORIGIN (CODEC_ORIGIN + CODEC_SIZE) |