summaryrefslogtreecommitdiff
path: root/board/socrates/sdram.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/socrates/sdram.c')
-rw-r--r--board/socrates/sdram.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/socrates/sdram.c b/board/socrates/sdram.c
index 313efae90f..356e8e82e7 100644
--- a/board/socrates/sdram.c
+++ b/board/socrates/sdram.c
@@ -8,7 +8,7 @@
#include <common.h>
#include <asm/processor.h>
#include <asm/immap_85xx.h>
-#include <asm/fsl_ddr_sdram.h>
+#include <fsl_ddr_sdram.h>
#include <asm/processor.h>
#include <asm/mmu.h>
#include <spd_sdram.h>
@@ -24,7 +24,7 @@
*/
phys_size_t fixed_sdram(void)
{
- volatile ccsr_ddr_t *ddr = (void *)(CONFIG_SYS_MPC8xxx_DDR_ADDR);
+ volatile ccsr_ddr_t *ddr = (void *)(CONFIG_SYS_FSL_DDR_ADDR);
/*
* Disable memory controller.