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 /apps/plugins/plugin.lds | |
| parent | b3e2bd619b1b7ea94ef29d32db48e80b347a1990 (diff) | |
| download | rockbox-0662793ca0050e823cd1207cc4689a1cba5068bd.zip rockbox-0662793ca0050e823cd1207cc4689a1cba5068bd.tar.gz rockbox-0662793ca0050e823cd1207cc4689a1cba5068bd.tar.bz2 rockbox-0662793ca0050e823cd1207cc4689a1cba5068bd.tar.xz | |
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 '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 831cb59..aea44e7 100644 --- a/apps/plugins/plugin.lds +++ b/apps/plugins/plugin.lds @@ -163,8 +163,14 @@ OUTPUT_FORMAT(elf32-littlemips) #define IRAMORIG (0x00000000 + (56*1024)) #define IRAMSIZE (200*1024) -#elif CONFIG_CPU == JZ4732 -#define DRAMORIG 0x80004000 + STUBOFFSET +#elif CONFIG_CPU == JZ4732 || CONFIG_CPU == JZ4760B +#undef STUBOFFSET +#ifdef DEBUG +#define STUBOFFSET 0x14000 +#else +#define STUBOFFSET 0x4000 +#endif +#define DRAMORIG 0x80000000 + STUBOFFSET #define IRAM DRAM #define IRAMSIZE 0 /* The bit of IRAM that is available is used in the core */ |