aboutsummaryrefslogtreecommitdiff
path: root/nand_spl/board/amcc/canyonlands/ddr2_fixed.c
diff options
context:
space:
mode:
Diffstat (limited to 'nand_spl/board/amcc/canyonlands/ddr2_fixed.c')
-rw-r--r--nand_spl/board/amcc/canyonlands/ddr2_fixed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nand_spl/board/amcc/canyonlands/ddr2_fixed.c b/nand_spl/board/amcc/canyonlands/ddr2_fixed.c
index ed1888ceb..f71ecfb93 100644
--- a/nand_spl/board/amcc/canyonlands/ddr2_fixed.c
+++ b/nand_spl/board/amcc/canyonlands/ddr2_fixed.c
@@ -22,7 +22,7 @@
*/
#include <common.h>
-#include <ppc4xx.h>
+#include <asm/ppc4xx.h>
#include <asm/io.h>
#include <asm/processor.h>
@@ -57,7 +57,7 @@ static void ddr_init_common(void)
/*
* Reset the DDR-SDRAM controller.
*/
- mtsdr(SDR0_SRST, (0x80000000 >> 10));
+ mtsdr(SDR0_SRST, SDR0_SRST0_DMC);
mtsdr(SDR0_SRST, 0x00000000);
/*