summaryrefslogtreecommitdiff
path: root/firmware/target/arm
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm')
-rw-r--r--firmware/target/arm/as3525/system-as3525.c6
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