diff options
Diffstat (limited to 'apps/plugins/plugin.lds')
-rw-r--r-- | apps/plugins/plugin.lds | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds index 831cb59b81..aea44e7d40 100644 --- a/apps/plugins/plugin.lds +++ b/apps/plugins/plugin.lds | |||
@@ -163,8 +163,14 @@ OUTPUT_FORMAT(elf32-littlemips) | |||
163 | #define IRAMORIG (0x00000000 + (56*1024)) | 163 | #define IRAMORIG (0x00000000 + (56*1024)) |
164 | #define IRAMSIZE (200*1024) | 164 | #define IRAMSIZE (200*1024) |
165 | 165 | ||
166 | #elif CONFIG_CPU == JZ4732 | 166 | #elif CONFIG_CPU == JZ4732 || CONFIG_CPU == JZ4760B |
167 | #define DRAMORIG 0x80004000 + STUBOFFSET | 167 | #undef STUBOFFSET |
168 | #ifdef DEBUG | ||
169 | #define STUBOFFSET 0x14000 | ||
170 | #else | ||
171 | #define STUBOFFSET 0x4000 | ||
172 | #endif | ||
173 | #define DRAMORIG 0x80000000 + STUBOFFSET | ||
168 | #define IRAM DRAM | 174 | #define IRAM DRAM |
169 | #define IRAMSIZE 0 | 175 | #define IRAMSIZE 0 |
170 | /* The bit of IRAM that is available is used in the core */ | 176 | /* The bit of IRAM that is available is used in the core */ |