diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2018-06-28 06:24:26 -0400 |
---|---|---|
committer | Michael Giacomelli <giac2000@hotmail.com> | 2018-07-28 10:56:31 -0400 |
commit | 0662793ca0050e823cd1207cc4689a1cba5068bd (patch) | |
tree | 08cd2ec59c9044c96b697b5bf8d0640841d044e0 /firmware/target/mips/ingenic_jz47xx/app.lds | |
parent | b3e2bd619b1b7ea94ef29d32db48e80b347a1990 (diff) | |
download | rockbox-0662793ca0050e823cd1207cc4689a1cba5068bd.tar.gz rockbox-0662793ca0050e823cd1207cc4689a1cba5068bd.zip |
Add cleaned-up xDuoo X3 support
Cleaned up, rebased, and forward-ported from the xvortex fork.
(original credit to vsoftster@gmail.com)
Change-Id: Ibcc023a0271ea81e901450a88317708c2683236d
Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx/app.lds')
-rw-r--r-- | firmware/target/mips/ingenic_jz47xx/app.lds | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/app.lds b/firmware/target/mips/ingenic_jz47xx/app.lds index a8ac6ff0bf..85c332b182 100644 --- a/firmware/target/mips/ingenic_jz47xx/app.lds +++ b/firmware/target/mips/ingenic_jz47xx/app.lds | |||
@@ -5,8 +5,10 @@ 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 | #define DRAMORIG 0x80004000 | 8 | #define STUBOFFSET 0x4000 |
9 | #define DRAMSIZE (MEMORYSIZE * 0x100000) | 9 | |
10 | #define DRAMORIG (0x80000000 + STUBOFFSET) | ||
11 | #define DRAMSIZE (MEMORYSIZE * 0x100000 - STUBOFFSET) | ||
10 | #define IRAMORIG 0x80000000 | 12 | #define IRAMORIG 0x80000000 |
11 | #define IRAMSIZE 16K | 13 | #define IRAMSIZE 16K |
12 | 14 | ||