sc520: Move RAM sizing code from asm to C

This commit is contained in:
Graeme Russ
2011-02-12 15:11:54 +11:00
parent ed4cba79d6
commit 96cd66426a
10 changed files with 611 additions and 767 deletions

View File

@@ -57,11 +57,6 @@ board_init16:
movl $CONFIG_SYS_SC520_LLIO_PAR, %eax
movl %eax, (%di)
/* Disable SDRAM write buffer */
movw $(SC520_DBCTL - SC520_MMCR_BASE), %di
xorw %ax, %ax
movb %al, (%di)
/* Disabe MMCR alias */
movw $0xfffc, %dx
movl $0x000000cb, %eax