Sansa AMS: do not init memory for AS3525v2

(#ifdef rule was broken)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24549 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2010-02-07 18:37:15 +00:00
parent 20412a3bb4
commit bd0b7363ca

View file

@ -161,7 +161,8 @@ void fiq_handler(void)
); );
} }
#if defined(BOOTLOADER) && (CONFIG_CPU == AS3525) /* not v2 */ #if (CONFIG_CPU == AS3525) /* not v2 */
#if defined(BOOTLOADER)
static void sdram_delay(void) static void sdram_delay(void)
{ {
int delay = 1024; /* arbitrary */ int delay = 1024; /* arbitrary */
@ -233,7 +234,7 @@ static void sdram_init(void)
MPMC_DYNAMIC_CONFIG_0 |= (1<<19); /* buffer enable */ MPMC_DYNAMIC_CONFIG_0 |= (1<<19); /* buffer enable */
} }
#else #else /* !BOOTLOADER */
void memory_init(void) void memory_init(void)
{ {
ttb_init(); ttb_init();
@ -253,7 +254,8 @@ void memory_init(void)
enable_mmu(); enable_mmu();
} }
#endif #endif /* BOOTLOADER */
#endif /* CONFIG_CPU == AS3525 (not v2) */
void system_init(void) void system_init(void)
{ {