forked from len0rd/rockbox
D2: Editing config.h wasn't enough to fully disable IRAM - also disable it in *.lds for a crash fix and further 100% increase in codec performance.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17779 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
38fb1aa5cb
commit
ed95be983c
2 changed files with 10 additions and 5 deletions
|
|
@ -82,8 +82,10 @@ OUTPUT_FORMAT(elf32-sh)
|
|||
#define IRAM DRAM
|
||||
#elif defined(CPU_TCC780X)
|
||||
#define DRAMORIG 0x20000000
|
||||
#define IRAMORIG 0x1000c000
|
||||
#define IRAMSIZE 0xc000
|
||||
/*#define IRAMORIG 0x1000c000
|
||||
#define IRAMSIZE 0xc000*/
|
||||
#define IRAM DRAM
|
||||
#define IRAMSIZE 0
|
||||
#else
|
||||
#define DRAMORIG 0x09000000 + STUBOFFSET
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -115,7 +115,8 @@ SECTIONS
|
|||
*(.icode)
|
||||
. = ALIGN(0x4);
|
||||
_iramend = .;
|
||||
} > SRAM AT> DRAM
|
||||
/* } > SRAM AT> DRAM */
|
||||
} > DRAM
|
||||
|
||||
_iramcopy = LOADADDR(.iram);
|
||||
|
||||
|
|
@ -125,7 +126,8 @@ SECTIONS
|
|||
*(.ibss)
|
||||
. = ALIGN(0x4);
|
||||
_iend = .;
|
||||
} > SRAM
|
||||
/* } > SRAM */
|
||||
} > DRAM
|
||||
|
||||
.stack :
|
||||
{
|
||||
|
|
@ -133,7 +135,8 @@ SECTIONS
|
|||
stackbegin = .;
|
||||
. += 0x2000;
|
||||
stackend = .;
|
||||
} > SRAM
|
||||
/* } > SRAM */
|
||||
} > DRAM
|
||||
|
||||
.bss :
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue