summaryrefslogtreecommitdiff
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nand_spl/board/amcc/canyonlands/ddr2_fixed.c b/nand_spl/board/amcc/canyonlands/ddr2_fixed.c
index 29d7d3f819..371bbb3945 100644
--- a/nand_spl/board/amcc/canyonlands/ddr2_fixed.c
+++ b/nand_spl/board/amcc/canyonlands/ddr2_fixed.c
@@ -94,5 +94,5 @@ phys_size_t initdram(int board_type)
mtsdram(SDRAM_RQDC, 0x80000038);
mtsdram(SDRAM_RFDC, 0x00000257);
- return CFG_MBYTES_SDRAM << 20;
+ return CONFIG_SYS_MBYTES_SDRAM << 20;
}