]> git.sur5r.net Git - u-boot/commitdiff
Disable memory controller before setting first values.
authorstroese <stroese>
Fri, 12 Sep 2003 08:49:58 +0000 (08:49 +0000)
committerstroese <stroese>
Fri, 12 Sep 2003 08:49:58 +0000 (08:49 +0000)
cpu/ppc4xx/sdram.c

index d4552a16176d89cc45aa96043e1d674319ce3d28..7c931f03988ac6c1dd7bf61d052e240e6aa2cd6c 100644 (file)
@@ -80,6 +80,11 @@ void sdram_init(void)
                rtr = 0x05f00000;
        }
 
+       /*
+        * Disable memory controller.
+        */
+       mtsdram0(mem_mcopt1, 0x00000000);
+
        /*
         * Set MB0CF for bank 0. (0-128MB) Address Mode 3 since 13x10(4)
         */