1
0
Fork 0
forked from len0rd/rockbox

as3525*: enable MMU in bootloader

Reserve 1MB of DRAM for loading rockbox and use the rest as BSS
Write sdram setup in assembler and move it to a separate file, together
with MMU init code

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26926 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2010-06-18 17:33:51 +00:00
parent 6e5330f663
commit fd715fa95c
12 changed files with 200 additions and 198 deletions

View file

@ -31,7 +31,6 @@
#endif
/* Virtual addresses */
/* Do not apply to the bootloader, which uses physical addresses (no MMU) */
#define DRAM_ORIG 0x30000000
#define IRAM_ORIG (DRAM_ORIG + DRAM_SIZE) /* IRAM is mapped just next to DRAM */