summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-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 0ef27603e9..3a88867fa1 100644
--- a/apps/plugins/plugin.lds
+++ b/apps/plugins/plugin.lds
@@ -68,7 +68,7 @@ OUTPUT_FORMAT(elf32-littlemips)
68#elif CONFIG_CPU==AS3525 || CONFIG_CPU==AS3525v2 68#elif CONFIG_CPU==AS3525 || CONFIG_CPU==AS3525v2
69#include "cpu.h" 69#include "cpu.h"
70#define DRAMORIG DRAM_ORIG 70#define DRAMORIG DRAM_ORIG
71#ifdef AMS_LOWMEM 71#if defined(AMS_LOWMEM) || (CONFIG_CPU == AS3525v2)
72#define DRAMSIZE (DRAM_SIZE - PLUGIN_BUFFER_SIZE - STUBOFFSET - TTB_SIZE) 72#define DRAMSIZE (DRAM_SIZE - PLUGIN_BUFFER_SIZE - STUBOFFSET - TTB_SIZE)
73#else 73#else
74#define DRAMSIZE (DRAM_SIZE - PLUGIN_BUFFER_SIZE - STUBOFFSET - CODEC_SIZE - TTB_SIZE) 74#define DRAMSIZE (DRAM_SIZE - PLUGIN_BUFFER_SIZE - STUBOFFSET - CODEC_SIZE - TTB_SIZE)
@@ -131,7 +131,7 @@ OUTPUT_FORMAT(elf32-littlemips)
131#define IRAMSIZE 0 131#define IRAMSIZE 0
132 132
133#elif CONFIG_CPU==AS3525 || CONFIG_CPU==AS3525v2 133#elif CONFIG_CPU==AS3525 || CONFIG_CPU==AS3525v2
134#ifdef AMS_LOWMEM 134#if defined(AMS_LOWMEM) || (CONFIG_CPU == AS3525v2)
135#define IRAMSIZE 0 /* simulates no IRAM since codec is already entirely in IRAM */ 135#define IRAMSIZE 0 /* simulates no IRAM since codec is already entirely in IRAM */
136#define CODEC_ORIGIN (IRAM_ORIG + IRAM_SIZE - CODEC_SIZE) 136#define CODEC_ORIGIN (IRAM_ORIG + IRAM_SIZE - CODEC_SIZE)
137#define PLUGIN_ORIGIN (DRAM_ORIG + DRAMSIZE) 137#define PLUGIN_ORIGIN (DRAM_ORIG + DRAMSIZE)