Explorar el Código

sc520: Fix minor DRAM Controller Setup bug

Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
Graeme Russ hace 15 años
padre
commit
1f9f3cf6cc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      arch/i386/cpu/sc520/sc520_asm.S

+ 1 - 1
arch/i386/cpu/sc520/sc520_asm.S

@@ -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