diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-02-22 07:31:37 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-02-22 07:31:37 +0000 |
commit | b347245d7cd7b4b3bf059772f880a92ab9b48e16 (patch) | |
tree | b302098ad23fbaf56e09f12962edd49c8d3f8191 /firmware/target/arm | |
parent | bb79c599d63173e0748ec035a4b43bed8e35012d (diff) |
as3525v2: init sdram
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24849 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm')
-rw-r--r-- | firmware/target/arm/as3525/system-as3525.c | 6 |
1 files 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 |