summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/plugin.lds5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds
index fa8333ce9b..deb7813c49 100644
--- a/apps/plugins/plugin.lds
+++ b/apps/plugins/plugin.lds
@@ -37,9 +37,11 @@ OUTPUT_FORMAT(elf32-littlemips)
37 - CODEC_SIZE - QHARRAY_SIZE - FRAME_SIZE - TTB_SIZE) 37 - CODEC_SIZE - QHARRAY_SIZE - FRAME_SIZE - TTB_SIZE)
38 38
39#elif CONFIG_CPU==DM320 39#elif CONFIG_CPU==DM320
40
40/* Give this 1 meg to allow it to align to the MMU boundary */ 41/* Give this 1 meg to allow it to align to the MMU boundary */
41#ifndef LCD_NATIVE_WIDTH 42#ifndef LCD_NATIVE_WIDTH
42#define LCD_NATIVE_WIDTH LCD_WIDTH 43#define LCD_NATIVE_WIDTH LCD_WIDTH
44#endif
43 45
44#ifndef LCD_NATIVE_HEIGHT 46#ifndef LCD_NATIVE_HEIGHT
45#define LCD_NATIVE_HEIGHT LCD_HEIGHT 47#define LCD_NATIVE_HEIGHT LCD_HEIGHT
@@ -48,9 +50,6 @@ OUTPUT_FORMAT(elf32-littlemips)
48#define LCD_FUDGE LCD_NATIVE_WIDTH%32 50#define LCD_FUDGE LCD_NATIVE_WIDTH%32
49#define LCD_BUFFER_SIZE ((LCD_NATIVE_WIDTH+LCD_FUDGE)*LCD_NATIVE_HEIGHT*2) 51#define LCD_BUFFER_SIZE ((LCD_NATIVE_WIDTH+LCD_FUDGE)*LCD_NATIVE_HEIGHT*2)
50#define LCD_TTB_AREA 0x100000*((LCD_BUFFER_SIZE>>19)+1) 52#define LCD_TTB_AREA 0x100000*((LCD_BUFFER_SIZE>>19)+1)
51#else
52#define LCD_TTB_AREA 0x100000
53#endif
54 53
55#define DRAMSIZE (MEMORYSIZE * 0x100000) - STUBOFFSET - PLUGIN_BUFFER_SIZE - CODEC_SIZE - LCD_TTB_AREA 54#define DRAMSIZE (MEMORYSIZE * 0x100000) - STUBOFFSET - PLUGIN_BUFFER_SIZE - CODEC_SIZE - LCD_TTB_AREA
56 55