diff options
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx')
-rw-r--r-- | firmware/target/mips/ingenic_jz47xx/app.lds | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/app.lds b/firmware/target/mips/ingenic_jz47xx/app.lds index 9b457041b6..6221a787c9 100644 --- a/firmware/target/mips/ingenic_jz47xx/app.lds +++ b/firmware/target/mips/ingenic_jz47xx/app.lds | |||
@@ -5,15 +5,8 @@ OUTPUT_ARCH(MIPS) | |||
5 | ENTRY(_start) | 5 | ENTRY(_start) |
6 | STARTUP(target/mips/ingenic_jz47xx/crt0.o) | 6 | STARTUP(target/mips/ingenic_jz47xx/crt0.o) |
7 | 7 | ||
8 | #ifdef DEBUG | 8 | #define DRAMORIG 0x80004000 |
9 | #define STUBOFFSET 0x10000 | 9 | #define DRAMSIZE (MEMORYSIZE * 0x100000) |
10 | #else | ||
11 | #define STUBOFFSET 0 | ||
12 | #endif | ||
13 | |||
14 | |||
15 | #define DRAMORIG 0x80004000 + STUBOFFSET | ||
16 | #define DRAMSIZE (MEMORYSIZE * 0x100000 - STUBOFFSET) | ||
17 | #define IRAMORIG 0x80000000 | 10 | #define IRAMORIG 0x80000000 |
18 | #define IRAMSIZE 16K | 11 | #define IRAMSIZE 16K |
19 | 12 | ||