From: Michel Pollet Date: Tue, 20 Apr 2010 16:38:15 +0000 (+0100) Subject: MINI2440: Removed extra SDRAM probe X-Git-Url: https://repo.or.cz/w/u-boot-openmoko/mini2440.git/commitdiff_plain/97a6d79b0a08dda26b79a721907f5b27a9ba667b MINI2440: Removed extra SDRAM probe This seems to cause problems in some cases (vivi?) we'll have to find another way.. Signed-off-by: Michel Pollet --- diff --git a/board/mini2440/lowlevel_init.S b/board/mini2440/lowlevel_init.S index 40e0c30f..73819775 100644 --- a/board/mini2440/lowlevel_init.S +++ b/board/mini2440/lowlevel_init.S @@ -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