mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-14 07:32:35 -05:00
The new preprocessed version of this file allows us to use #defines
and macros, and we now take advantage of that to set DRAM size. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3346 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ae03eec5db
commit
a0086b61e1
1 changed files with 3 additions and 1 deletions
|
|
@ -2,9 +2,11 @@ ENTRY(start)
|
|||
OUTPUT_FORMAT(elf32-sh)
|
||||
INPUT(crt0.o)
|
||||
|
||||
#define DRAMSIZE (MEMORYSIZE * 0x100000)
|
||||
|
||||
MEMORY
|
||||
{
|
||||
DRAM : ORIGIN = 0x09000000, LENGTH = 0x200000
|
||||
DRAM : ORIGIN = 0x09000000, LENGTH = DRAMSIZE
|
||||
IRAM : ORIGIN = 0x0f000000, LENGTH = 0x1000
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue