diff options
Diffstat (limited to 'common/memsize.c')
-rw-r--r-- | common/memsize.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/memsize.c b/common/memsize.c index 54a6416717..66d5be6a1f 100644 --- a/common/memsize.c +++ b/common/memsize.c @@ -108,11 +108,11 @@ phys_size_t __weak get_effective_memsize(void) ram_size = ((phys_size_t)~0xfffULL) - gd->ram_base; #endif -#ifndef CONFIG_MAX_MEM_MAPPED +#ifndef CFG_MAX_MEM_MAPPED return ram_size; #else /* limit stack to what we can reasonable map */ - return ((ram_size > CONFIG_MAX_MEM_MAPPED) ? - CONFIG_MAX_MEM_MAPPED : ram_size); + return ((ram_size > CFG_MAX_MEM_MAPPED) ? + CFG_MAX_MEM_MAPPED : ram_size); #endif } |