patch-2.4.22 linux-2.4.22/arch/cris/lib/dram_init.S
Next file: linux-2.4.22/arch/cris/lib/hw_settings.S
Previous file: linux-2.4.22/arch/cris/lib/dmacopy.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
2003-08-25 04:44:39.000000000 -0700
- Orig file:
linux-2.4.21/arch/cris/lib/dram_init.S
- Orig date:
2003-06-13 07:51:29.000000000 -0700
diff -urN linux-2.4.21/arch/cris/lib/dram_init.S linux-2.4.22/arch/cris/lib/dram_init.S
@@ -1,4 +1,4 @@
-/* $Id: dram_init.S,v 1.13 2002/10/30 07:42:28 starvik Exp $
+/* $Id: dram_init.S,v 1.14 2003/03/31 07:07:08 starvik Exp $
*
* DRAM/SDRAM initialization - alter with care
* This file is intended to be included from other assembler files
@@ -11,6 +11,9 @@
* Authors: Mikael Starvik (starvik@axis.com)
*
* $Log: dram_init.S,v $
+ * Revision 1.14 2003/03/31 07:07:08 starvik
+ * Corrected calculation of end of sdram init commands
+ *
* Revision 1.13 2002/10/30 07:42:28 starvik
* Always read SDRAM command sequence from flash
*
@@ -148,7 +151,7 @@
move.d _sdram_commands_start, $r2
and.d 0x00ffffff, $r2 ; Make sure commands are read from flash
move.d _sdram_commands_end, $r3
- and.d 0x00ffffff, $r2
+ and.d 0x00ffffff, $r3
1: clear.d $r4
move.b [$r2+], $r4
lslq 9, $r4 ; Command starts at bit 9
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)