diff options
Diffstat (limited to 'apps/plugins/plugin.lds')
-rw-r--r-- | apps/plugins/plugin.lds | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds index 57b2faf027..6fdbc2c64f 100644 --- a/apps/plugins/plugin.lds +++ b/apps/plugins/plugin.lds | |||
@@ -37,7 +37,14 @@ OUTPUT_FORMAT(elf32-littlemips) | |||
37 | 37 | ||
38 | #if CONFIG_CPU==DM320 || CONFIG_CPU==IMX31L | 38 | #if CONFIG_CPU==DM320 || CONFIG_CPU==IMX31L |
39 | /* Give this 1 meg to allow it to align to the MMU boundary */ | 39 | /* Give this 1 meg to allow it to align to the MMU boundary */ |
40 | #if CONFIG_CPU==DM320 | ||
41 | #define LCD_FUDGE LCD_NATIVE_WIDTH%32 | ||
42 | #define LCD_BUFFER_SIZE ((LCD_NATIVE_WIDTH+LCD_FUDGE)*LCD_NATIVE_HEIGHT*2) | ||
43 | #define LCD_TTB_AREA 0x100000*((LCD_BUFFER_SIZE>>19)+1) | ||
44 | #else | ||
40 | #define LCD_TTB_AREA 0x100000 | 45 | #define LCD_TTB_AREA 0x100000 |
46 | #endif | ||
47 | |||
41 | #define DRAMSIZE (MEMORYSIZE * 0x100000) - STUBOFFSET - PLUGIN_BUFFER_SIZE - CODEC_SIZE - LCD_TTB_AREA | 48 | #define DRAMSIZE (MEMORYSIZE * 0x100000) - STUBOFFSET - PLUGIN_BUFFER_SIZE - CODEC_SIZE - LCD_TTB_AREA |
42 | 49 | ||
43 | #elif CONFIG_CPU==S3C2440 | 50 | #elif CONFIG_CPU==S3C2440 |