diff options
author | Graeme Russ <graeme.russ@gmail.com> | 2011-02-12 04:11:54 (GMT) |
---|---|---|
committer | Graeme Russ <graeme.russ@gmail.com> | 2011-02-12 04:11:54 (GMT) |
commit | 96cd66426a6a615373f7f33fb2a8b7ee3925b1cf (patch) | |
tree | 4adf528d0ce2fb58f0c90933fd86c5b60a3be0fe /board | |
parent | ed4cba79d640daa33806fa228c1a10c6bf9e2101 (diff) | |
download | u-boot-fsl-qoriq-96cd66426a6a615373f7f33fb2a8b7ee3925b1cf.tar.xz |
sc520: Move RAM sizing code from asm to C
Diffstat (limited to 'board')
-rw-r--r-- | board/eNET/eNET.c | 6 | ||||
-rw-r--r-- | board/eNET/eNET_start16.S | 5 |
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 |