summaryrefslogtreecommitdiff
path: root/board/eric/eric.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/eric/eric.c')
-rw-r--r--board/eric/eric.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/eric/eric.c b/board/eric/eric.c
index 972d485b5a6..600b9d7a7ce 100644
--- a/board/eric/eric.c
+++ b/board/eric/eric.c
@@ -142,7 +142,7 @@ phys_size_t initdram (int board_type)
* so let init.S do the init job for SDRAM
* and simply return 32MByte here
*/
- return (CFG_SDRAM_SIZE * 1024 * 1024);
+ return (CONFIG_SYS_SDRAM_SIZE * 1024 * 1024);
#else
/* Read Serial Presence Detect Information */