as3525v2: init sdram
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24849 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
bb79c599d6
commit
b347245d7c
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue