diff options
Diffstat (limited to 'apps/plugins/plugin.lds')
| -rw-r--r-- | apps/plugins/plugin.lds | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds index a08a4a8..47969e0 100644 --- a/apps/plugins/plugin.lds +++ b/apps/plugins/plugin.lds @@ -22,6 +22,10 @@ OUTPUT_FORMAT(elf32-sh) #elif CONFIG_CPU==DM320 #include "dm320.h" #define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGIN_BUFFER_SIZE - STUBOFFSET - CODEC_SIZE - LCD_BUFFER_SIZE - TTB_SIZE +#elif CONFIG_CPU==IMX31L +#include "imx31l.h" +/* Reserve 1mb for LCD buffer/TTB as in app.lds */ +#define DRAMSIZE (MEMORYSIZE * 0x100000 - 0x100000) - PLUGIN_BUFFER_SIZE - STUBOFFSET - CODEC_SIZE #else #define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGIN_BUFFER_SIZE - STUBOFFSET - CODEC_SIZE #endif @@ -52,7 +56,7 @@ OUTPUT_FORMAT(elf32-sh) #define IRAMSIZE 4K #define IRAM DRAM #elif CONFIG_CPU == IMX31L -#define DRAMORIG 0x80000000 +#define DRAMORIG 0x0 #define IRAMORIG 0x1FFFC000 #define IRAMSIZE 0x4000 #elif CONFIG_CPU==DM320 |