diff options
Diffstat (limited to 'apps/plugins/plugin.lds')
-rw-r--r-- | apps/plugins/plugin.lds | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds index 25ff4a461b..5931b6b0a5 100644 --- a/apps/plugins/plugin.lds +++ b/apps/plugins/plugin.lds | |||
@@ -76,6 +76,10 @@ OUTPUT_FORMAT(elf32-littlemips) | |||
76 | #elif CONFIG_CPU==IMX233 | 76 | #elif CONFIG_CPU==IMX233 |
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 | ||
80 | #include "config.h" | ||
81 | #undef STUBOFFSET | ||
82 | #define STUBOFFSET 0x4000 | ||
79 | #endif | 83 | #endif |
80 | 84 | ||
81 | /* default to full RAM (minus codecs&plugins) unless specified otherwise */ | 85 | /* default to full RAM (minus codecs&plugins) unless specified otherwise */ |
@@ -174,6 +178,11 @@ OUTPUT_FORMAT(elf32-littlemips) | |||
174 | #define IRAMSIZE 0 | 178 | #define IRAMSIZE 0 |
175 | /* 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 */ |
176 | 180 | ||
181 | #elif CONFIG_CPU == X1000 | ||
182 | #define DRAMORIG (0x80000000 + STUBOFFSET) | ||
183 | #define IRAM DRAM | ||
184 | #define IRAMSIZE 0 | ||
185 | |||
177 | #elif CONFIG_CPU == RK27XX | 186 | #elif CONFIG_CPU == RK27XX |
178 | #define DRAMORIG 0x60000000 | 187 | #define DRAMORIG 0x60000000 |
179 | #define IRAM DRAM | 188 | #define IRAM DRAM |