summaryrefslogtreecommitdiff
path: root/nand_spl/board/freescale/p1023rds/nand_boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'nand_spl/board/freescale/p1023rds/nand_boot.c')
-rw-r--r--nand_spl/board/freescale/p1023rds/nand_boot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nand_spl/board/freescale/p1023rds/nand_boot.c b/nand_spl/board/freescale/p1023rds/nand_boot.c
index 89e339d512..d6756fbf80 100644
--- a/nand_spl/board/freescale/p1023rds/nand_boot.c
+++ b/nand_spl/board/freescale/p1023rds/nand_boot.c
@@ -33,7 +33,7 @@ DECLARE_GLOBAL_DATA_PTR;
/* Fixed sdram init -- doesn't use serial presence detect. */
void sdram_init(void)
{
- ccsr_ddr_t *ddr = (ccsr_ddr_t *)CONFIG_SYS_MPC85xx_DDR_ADDR;
+ ccsr_ddr_t *ddr = (ccsr_ddr_t *)CONFIG_SYS_MPC8xxx_DDR_ADDR;
set_next_law(0, LAW_SIZE_2G, LAW_TRGT_IF_DDR_1);