sc520: Fix minor DRAM Controller Setup bug
authorGraeme Russ <graeme.russ@gmail.com>
Fri, 23 Apr 2010 14:06:00 +0000 (00:06 +1000)
committerWolfgang Denk <wd@denx.de>
Wed, 5 May 2010 22:20:56 +0000 (00:20 +0200)
Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
arch/i386/cpu/sc520/sc520_asm.S

index abb03bf91923dd0d7b4005b8a69db54f7485834c..fff56c00b4f524eaa3d3ca05234fc080c64cb85e 100644 (file)
@@ -500,7 +500,7 @@ emptybank:
        /* just have your hardware desinger _GIVE_ you what you need here! */
        movl    $DRCTMCTL, %edi
        movb    $CONFIG_SYS_SDRAM_DRCTMCTL,%al
-       movb    (%edi), %al
+       movb    %al, (%edi)
 #else
 #if defined(CONFIG_SYS_SDRAM_CAS_LATENCY_2T) || defined(CONFIG_SYS_SDRAM_CAS_LATENCY_3T)
        /* set the CAS latency now since it is hard to do