aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/memsize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/memsize.c b/common/memsize.c
index d5d13d51bf1..31884acca0d 100644
--- a/common/memsize.c
+++ b/common/memsize.c
@@ -94,7 +94,7 @@ long get_ram_size(long *base, long maxsize)
phys_size_t __weak get_effective_memsize(void)
{
-#ifndef CONFIG_VERY_BIG_RAM
+#ifndef CONFIG_MAX_MEM_MAPPED
return gd->ram_size;
#else
/* limit stack to what we can reasonable map */