diff options
author | Thomas Martitz <kugel@rockbox.org> | 2009-05-20 21:09:53 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2009-05-20 21:09:53 +0000 |
commit | 4633446517c002ed81cdbbc6acb9b8ffd9becc85 (patch) | |
tree | aa2e1dc82908bd4568e885a37545f94f07579a2a /bootloader/sansa_as3525.c | |
parent | fba4be213f399f19933aadcce25498ea1fb0c176 (diff) |
Sansa AMS: Centralise mapping of RAM and IRAM in as3525.h via #defines. This will hopefully make ongoing mmu work easier as less places need to be changed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21000 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader/sansa_as3525.c')
-rw-r--r-- | bootloader/sansa_as3525.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bootloader/sansa_as3525.c b/bootloader/sansa_as3525.c index 4705e2b915..dbe6218d48 100644 --- a/bootloader/sansa_as3525.c +++ b/bootloader/sansa_as3525.c @@ -93,8 +93,8 @@ void main(void) printf("Loading firmware"); - loadbuffer = (unsigned char*)0x30000000; /* DRAM */ - buffer_size = (int)(loadbuffer + (MEM * 0x100000)); + loadbuffer = (unsigned char*)DRAM_ORIG; /* DRAM */ + buffer_size = (int)(loadbuffer + (DRAM_SIZE) - TTB_SIZE); ret = load_firmware(loadbuffer, BOOTFILE, buffer_size); if(ret < 0) |