summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/plugin.lds4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds
index 456e6b4e01..57b2faf027 100644
--- a/apps/plugins/plugin.lds
+++ b/apps/plugins/plugin.lds
@@ -1,5 +1,4 @@
1#include "config.h" 1#include "config.h"
2#include "cpu.h"
3 2
4/* These output formats should be in the config-files */ 3/* These output formats should be in the config-files */
5 4
@@ -42,12 +41,13 @@ OUTPUT_FORMAT(elf32-littlemips)
42#define DRAMSIZE (MEMORYSIZE * 0x100000) - STUBOFFSET - PLUGIN_BUFFER_SIZE - CODEC_SIZE - LCD_TTB_AREA 41#define DRAMSIZE (MEMORYSIZE * 0x100000) - STUBOFFSET - PLUGIN_BUFFER_SIZE - CODEC_SIZE - LCD_TTB_AREA
43 42
44#elif CONFIG_CPU==S3C2440 43#elif CONFIG_CPU==S3C2440
45#define LCD_BUFFER_SIZE (LCD_WIDTH*LCD_HEIGHT*2) 44#include "cpu.h"
46/* must be 16Kb (0x4000) aligned */ 45/* must be 16Kb (0x4000) aligned */
47#define TTB_SIZE (0x4000) 46#define TTB_SIZE (0x4000)
48#define DRAMSIZE (MEMORYSIZE * 0x100000) - STUBOFFSET - PLUGIN_BUFFER_SIZE - CODEC_SIZE - LCD_BUFFER_SIZE - TTB_SIZE 47#define DRAMSIZE (MEMORYSIZE * 0x100000) - STUBOFFSET - PLUGIN_BUFFER_SIZE - CODEC_SIZE - LCD_BUFFER_SIZE - TTB_SIZE
49 48
50#elif CONFIG_CPU==AS3525 49#elif CONFIG_CPU==AS3525
50#include "cpu.h"
51#define DRAMORIG DRAM_ORIG 51#define DRAMORIG DRAM_ORIG
52#ifdef AMS_LOWMEM 52#ifdef AMS_LOWMEM
53#define DRAMSIZE (DRAM_SIZE - PLUGIN_BUFFER_SIZE - STUBOFFSET - TTB_SIZE) 53#define DRAMSIZE (DRAM_SIZE - PLUGIN_BUFFER_SIZE - STUBOFFSET - TTB_SIZE)