ppc4xx: Big cleanup of PPC4xx defines
[platform/kernel/u-boot.git] / cpu / ppc4xx / sdram.c
index 4365df9..5a3336e 100644 (file)
@@ -375,8 +375,8 @@ phys_size_t initdram(int board_type)
        /*
         * Soft-reset SDRAM controller.
         */
-       mtsdr(sdr_srst, SDR0_SRST_DMC);
-       mtsdr(sdr_srst, 0x00000000);
+       mtsdr(SDR0_SRST, SDR0_SRST_DMC);
+       mtsdr(SDR0_SRST, 0x00000000);
 #endif
 
        for (i=0; i<N_MB0CF; i++) {