MINI2440: Removed extra SDRAM probe
authorMichel Pollet <buserror@gmail.com>
Tue, 20 Apr 2010 16:38:15 +0000 (20 17:38 +0100)
committerMichel Pollet <buserror@gmail.com>
Tue, 20 Apr 2010 16:38:15 +0000 (20 17:38 +0100)
This seems to cause problems in some cases (vivi?)
we'll have to find another way..

Signed-off-by: Michel Pollet <buserror@gmail.com>
board/mini2440/lowlevel_init.S

index 40e0c30..7381977 100644 (file)
@@ -162,13 +162,14 @@ lowlevel_init:
           SDRAM comfigured for 128MB, lets try if it works, otherwise,
           restart it with the smaller scan lines for 64MB
         */
+#if 0
        ldr     r1, =0x34000000         /* just outside 64MB RAM space */
        ldr     r0, =0xdeadbeef
        str     r0, [r1]
        ldr     r2, [r1]
-       cmp     r2, r1
+       cmp     r2, r0
        beq     return  
-
+#endif
        ldr     r1, =BWSCON+(7*4)
        ldr     r0, =SDRAM_64MB
        str     r0, [r1], #4