summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/plugin.lds6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds
index 5dfaa6c86b..cc0be3abd5 100644
--- a/apps/plugins/plugin.lds
+++ b/apps/plugins/plugin.lds
@@ -77,9 +77,9 @@ OUTPUT_FORMAT(elf32-littlemips)
77#include "cpu.h" 77#include "cpu.h"
78#define DRAMSIZE (DRAM_SIZE - PLUGIN_BUFFER_SIZE - CODEC_SIZE - FRAME_SIZE - TTB_SIZE) 78#define DRAMSIZE (DRAM_SIZE - PLUGIN_BUFFER_SIZE - CODEC_SIZE - FRAME_SIZE - TTB_SIZE)
79#elif CONFIG_CPU==X1000 79#elif CONFIG_CPU==X1000
80#include "config.h" 80#include "cpu.h"
81#undef STUBOFFSET 81#undef STUBOFFSET
82#define STUBOFFSET 0x4000 82#define DRAMSIZE (X1000_DRAM_SIZE - PLUGIN_BUFFER_SIZE - CODEC_SIZE)
83#endif 83#endif
84 84
85 /* default to full RAM (minus codecs&plugins) unless specified otherwise */ 85 /* default to full RAM (minus codecs&plugins) unless specified otherwise */
@@ -179,7 +179,7 @@ OUTPUT_FORMAT(elf32-littlemips)
179/* The bit of IRAM that is available is used in the core */ 179/* The bit of IRAM that is available is used in the core */
180 180
181#elif CONFIG_CPU == X1000 181#elif CONFIG_CPU == X1000
182#define DRAMORIG (0x80000000 + STUBOFFSET) 182#define DRAMORIG X1000_DRAM_BASE
183#define IRAM DRAM 183#define IRAM DRAM
184#define IRAMSIZE 0 184#define IRAMSIZE 0
185 185