git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
patch-2_6_7-vs1_9_1_12
[linux-2.6.git]
/
arch
/
cris
/
arch-v10
/
lib
/
dram_init.S
diff --git
a/arch/cris/arch-v10/lib/dram_init.S
b/arch/cris/arch-v10/lib/dram_init.S
index
4852709
..
2ef4ad5
100644
(file)
--- a/
arch/cris/arch-v10/lib/dram_init.S
+++ b/
arch/cris/arch-v10/lib/dram_init.S
@@
-1,4
+1,4
@@
-/* $Id: dram_init.S,v 1.
3 2003/03/31 09:38:37
starvik Exp $
+/* $Id: dram_init.S,v 1.
4 2003/09/22 09:21:59
starvik Exp $
*
* DRAM/SDRAM initialization - alter with care
* This file is intended to be included from other assembler files
*
* DRAM/SDRAM initialization - alter with care
* This file is intended to be included from other assembler files
@@
-11,6
+11,10
@@
* Authors: Mikael Starvik (starvik@axis.com)
*
* $Log: dram_init.S,v $
* Authors: Mikael Starvik (starvik@axis.com)
*
* $Log: dram_init.S,v $
+ * Revision 1.4 2003/09/22 09:21:59 starvik
+ * Decompresser is linked to 0x407xxxxx and sdram commands are at 0x000xxxxx
+ * so we need to mask off 12 bits.
+ *
* Revision 1.3 2003/03/31 09:38:37 starvik
* Corrected calculation of end of sdram init commands
*
* Revision 1.3 2003/03/31 09:38:37 starvik
* Corrected calculation of end of sdram init commands
*
@@
-152,9
+156,9
@@
_set_timing:
; Issue initialization command sequence
move.d _sdram_commands_start, $r2
; Issue initialization command sequence
move.d _sdram_commands_start, $r2
- and.d 0x00
f
fffff, $r2 ; Make sure commands are read from flash
+ and.d 0x00
0
fffff, $r2 ; Make sure commands are read from flash
move.d _sdram_commands_end, $r3
move.d _sdram_commands_end, $r3
- and.d 0x00
f
fffff, $r3
+ and.d 0x00
0
fffff, $r3
1: clear.d $r4
move.b [$r2+], $r4
lslq 9, $r4 ; Command starts at bit 9
1: clear.d $r4
move.b [$r2+], $r4
lslq 9, $r4 ; Command starts at bit 9