diff options
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/plugin.lds | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds index 8699ca1..4a0ad73 100644 --- a/apps/plugins/plugin.lds +++ b/apps/plugins/plugin.lds @@ -30,12 +30,9 @@ OUTPUT_FORMAT(elf32-sh) #define NOCACHE_BASE 0x00000000 #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 - TTB_SIZE +#if CONFIG_CPU==DM320 || CONFIG_CPU==S3C2440 +#include "cpu.h" +#define DRAMSIZE (MEMORYSIZE * 0x100000) - STUBOFFSET - PLUGIN_BUFFER_SIZE - CODEC_SIZE - LCD_BUFFER_SIZE - TTB_SIZE #elif CONFIG_CPU==IMX31L #include "imx31l.h" /* Reserve 1mb for LCD buffer/TTB as in app.lds */ @@ -65,7 +62,7 @@ OUTPUT_FORMAT(elf32-sh) #define IRAMORIG 0x407000 #define IRAMSIZE 0x9000 #elif CONFIG_CPU == S3C2440 -#define DRAMORIG 0x100 + STUBOFFSET +#define DRAMORIG 0x0 + STUBOFFSET #define IRAMORIG DRAMORIG #define IRAMSIZE 4K #define IRAM DRAM |