summaryrefslogtreecommitdiff
path: root/apps/plugins/plugin.lds
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/plugin.lds')
-rw-r--r--apps/plugins/plugin.lds18
1 files changed, 11 insertions, 7 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds
index 11038109e1..fa8333ce9b 100644
--- a/apps/plugins/plugin.lds
+++ b/apps/plugins/plugin.lds
@@ -30,17 +30,16 @@ OUTPUT_FORMAT(elf32-littlemips)
30#define CACHEALIGN_SIZE 16 30#define CACHEALIGN_SIZE 16
31#endif /* CPU_PP */ 31#endif /* CPU_PP */
32 32
33#ifndef NOCACHE_BASE 33#if CONFIG_CPU==IMX31L
34/* Default to no offset if target doesn't define this */ 34/* No fudges! */
35#define NOCACHE_BASE 0x00000000 35#include "imx31l.h"
36#endif 36#define DRAMSIZE ((MEMORYSIZE * 0x100000) - STUBOFFSET - PLUGIN_BUFFER_SIZE \
37 - CODEC_SIZE - QHARRAY_SIZE - FRAME_SIZE - TTB_SIZE)
37 38
38#if CONFIG_CPU==DM320 || CONFIG_CPU==IMX31L 39#elif CONFIG_CPU==DM320
39/* Give this 1 meg to allow it to align to the MMU boundary */ 40/* Give this 1 meg to allow it to align to the MMU boundary */
40#if CONFIG_CPU==DM320
41#ifndef LCD_NATIVE_WIDTH 41#ifndef LCD_NATIVE_WIDTH
42#define LCD_NATIVE_WIDTH LCD_WIDTH 42#define LCD_NATIVE_WIDTH LCD_WIDTH
43#endif
44 43
45#ifndef LCD_NATIVE_HEIGHT 44#ifndef LCD_NATIVE_HEIGHT
46#define LCD_NATIVE_HEIGHT LCD_HEIGHT 45#define LCD_NATIVE_HEIGHT LCD_HEIGHT
@@ -156,6 +155,11 @@ OUTPUT_FORMAT(elf32-littlemips)
156#define DRAMORIG 0x09000000 + STUBOFFSET 155#define DRAMORIG 0x09000000 + STUBOFFSET
157#endif 156#endif
158 157
158#ifndef NOCACHE_BASE
159/* Default to no offset if target doesn't define this */
160#define NOCACHE_BASE 0x00000000
161#endif
162
159#define PLUGIN_LENGTH PLUGIN_BUFFER_SIZE 163#define PLUGIN_LENGTH PLUGIN_BUFFER_SIZE
160 164
161 165