From b347245d7cd7b4b3bf059772f880a92ab9b48e16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Mon, 22 Feb 2010 07:31:37 +0000 Subject: [PATCH] as3525v2: init sdram git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24849 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/as3525/system-as3525.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/firmware/target/arm/as3525/system-as3525.c b/firmware/target/arm/as3525/system-as3525.c index bd6069ea39..7e9ff31d23 100644 --- a/firmware/target/arm/as3525/system-as3525.c +++ b/firmware/target/arm/as3525/system-as3525.c @@ -161,7 +161,6 @@ void fiq_handler(void) ); } -#if (CONFIG_CPU == AS3525) /* not v2 */ #if defined(BOOTLOADER) static void sdram_delay(void) { @@ -255,7 +254,6 @@ void memory_init(void) enable_mmu(); } #endif /* BOOTLOADER */ -#endif /* CONFIG_CPU == AS3525 (not v2) */ void system_init(void) { @@ -314,12 +312,12 @@ void system_init(void) "mcr p15, 0, r0, c1, c0 \n" : : : "r0" ); +#endif /* CONFIG_CPU == AS3525v2 */ + #ifdef BOOTLOADER sdram_init(); #endif /* BOOTLOADER */ -#endif /* CONFIG_CPU == AS3525v2 */ - #if 0 /* the GPIO clock is already enabled by the dualboot function */ CGU_PERI |= CGU_GPIO_CLOCK_ENABLE; #endif