summaryrefslogtreecommitdiff
path: root/post/drivers/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'post/drivers/memory.c')
-rw-r--r--post/drivers/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/post/drivers/memory.c b/post/drivers/memory.c
index d249942af0..8deac75ebb 100644
--- a/post/drivers/memory.c
+++ b/post/drivers/memory.c
@@ -467,7 +467,7 @@ int arch_memory_test_prepare(u32 *vstart, u32 *size, phys_addr_t *phys_offset)
{
struct bd_info *bd = gd->bd;
- *vstart = CONFIG_SYS_SDRAM_BASE;
+ *vstart = CFG_SYS_SDRAM_BASE;
*size = (gd->ram_size >= 256 << 20 ?
256 << 20 : gd->ram_size) - (1 << 20);