forked from len0rd/rockbox
H110 adjustments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7071 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8b6c133bb1
commit
2d25122431
2 changed files with 13 additions and 5 deletions
|
|
@ -14,14 +14,18 @@ OUTPUT_FORMAT(elf32-sh)
|
|||
#define STUBOFFSET 0
|
||||
#endif
|
||||
|
||||
#if defined(IRIVER_H120) || defined(IRIVER_H300)
|
||||
#if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300)
|
||||
#define ARCH_IRIVER
|
||||
#endif
|
||||
|
||||
#ifdef ARCH_IRIVER
|
||||
#if defined(IRIVER_H120) || defined(IRIVER_H300)
|
||||
#define DRAMORIG 0x31000000
|
||||
#define IRAMORIG 0x10010000
|
||||
#define IRAMSIZE 0x8000
|
||||
#elif defined(IRIVER_H100)
|
||||
#define DRAMORIG 0x30000000
|
||||
#define IRAMORIG 0x10010000
|
||||
#define IRAMSIZE 0x8000
|
||||
#else
|
||||
#define DRAMORIG 0x09000000 + STUBOFFSET
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -113,10 +113,14 @@ _pluginbuf = 0;
|
|||
|
||||
#define DRAMSIZE (MEMORYSIZE * 0x100000) - PLUGINSIZE - STUBOFFSET - CODECSIZE
|
||||
|
||||
#if CONFIG_CPU == MCF5249
|
||||
#define DRAMORIG 0x31000000 + STUBOFFSET
|
||||
#define IRAMORIG 0x10000000
|
||||
#ifdef IRIVER_H100_SERIES
|
||||
#define IRAMSIZE 0x10000
|
||||
#define IRAMORIG 0x10000000
|
||||
#ifdef IRIVER_H100
|
||||
#define DRAMORIG 0x30000000 + STUBOFFSET
|
||||
#else /* H120/H140 */
|
||||
#define DRAMORIG 0x31000000 + STUBOFFSET
|
||||
#endif
|
||||
#else
|
||||
#define DRAMORIG 0x09000000 + STUBOFFSET
|
||||
#define IRAMORIG 0x0f000000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue