From fd715fa95cc6bdd57f558cdbfc43bc768ec9645b Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Fri, 18 Jun 2010 17:33:51 +0000 Subject: 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 --- bootloader/sansa_as3525.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bootloader/sansa_as3525.c') diff --git a/bootloader/sansa_as3525.c b/bootloader/sansa_as3525.c index 9906991bb4..3eb6159800 100644 --- a/bootloader/sansa_as3525.c +++ b/bootloader/sansa_as3525.c @@ -122,11 +122,10 @@ void main(void) if(ret < 0) error(EBOOTFILE, ret); - disable_irq(); /* disable irq until we have copied the new vectors */ - if (ret == EOK) { kernel_entry = (void*) loadbuffer; + cpucache_invalidate(); printf("Executing"); kernel_entry(); printf("ERR: Failed to boot"); -- cgit v1.2.3