diff options
author | Tom Rini | 2022-12-04 10:04:50 -0500 |
---|---|---|
committer | Tom Rini | 2022-12-23 10:14:51 -0500 |
commit | 1d457dbb9151f50176f7548d00ed37e13dc81e00 (patch) | |
tree | 8474cd282db65dc7735f6631effd84dbbc143581 /common/memsize.c | |
parent | dd5b58c49129016a02e41d6fda2213888d13c115 (diff) |
global: Migrate CONFIG_MAX_MEM_MAPPED to CFG
Perform a simple rename of CONFIG_MAX_MEM_MAPPED to CFG_MAX_MEM_MAPPED
Signed-off-by: Tom Rini <trini@konsulko.com>
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 3c80ad2c834..ad9ddf67ac5 100644 --- a/common/memsize.c +++ b/common/memsize.c @@ -106,11 +106,11 @@ phys_size_t __weak get_effective_memsize(void) if (gd->ram_base + ram_size < gd->ram_base) ram_size = ((phys_size_t)~0xfffULL) - gd->ram_base; -#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 } |