summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorGraeme Russ <graeme.russ@gmail.com>2011-02-12 15:11:54 +1100
committerGraeme Russ <graeme.russ@gmail.com>2011-02-12 15:11:54 +1100
commit96cd66426a6a615373f7f33fb2a8b7ee3925b1cf (patch)
tree4adf528d0ce2fb58f0c90933fd86c5b60a3be0fe /board
parented4cba79d640daa33806fa228c1a10c6bf9e2101 (diff)
downloadu-boot-imx-96cd66426a6a615373f7f33fb2a8b7ee3925b1cf.zip
u-boot-imx-96cd66426a6a615373f7f33fb2a8b7ee3925b1cf.tar.gz
u-boot-imx-96cd66426a6a615373f7f33fb2a8b7ee3925b1cf.tar.bz2
sc520: Move RAM sizing code from asm to C
Diffstat (limited to 'board')
-rw-r--r--board/eNET/eNET.c6
-rw-r--r--board/eNET/eNET_start16.S5
2 files changed, 0 insertions, 11 deletions
diff --git a/board/eNET/eNET.c b/board/eNET/eNET.c
index e64a395..dd0ce54 100644
--- a/board/eNET/eNET.c
+++ b/board/eNET/eNET.c
@@ -160,12 +160,6 @@ int board_early_init_r(void)
return 0;
}
-int dram_init(void)
-{
- init_sc520_dram();
- return 0;
-}
-
void show_boot_progress(int val)
{
uchar led_mask;
diff --git a/board/eNET/eNET_start16.S b/board/eNET/eNET_start16.S
index 4835936..77e5519 100644
--- a/board/eNET/eNET_start16.S
+++ b/board/eNET/eNET_start16.S
@@ -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