mirror of
https://xff.cz/git/u-boot/
synced 2025-09-29 22:41:17 +02:00
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>
This commit is contained in:
@@ -139,10 +139,10 @@ __fsl_ddr_set_lawbar(const common_timing_params_t *memctl_common_params,
|
||||
}
|
||||
|
||||
#if !defined(CONFIG_PHYS_64BIT)
|
||||
if (base >= CONFIG_MAX_MEM_MAPPED)
|
||||
if (base >= CFG_MAX_MEM_MAPPED)
|
||||
return;
|
||||
if ((base + size) >= CONFIG_MAX_MEM_MAPPED)
|
||||
size = CONFIG_MAX_MEM_MAPPED - base;
|
||||
if ((base + size) >= CFG_MAX_MEM_MAPPED)
|
||||
size = CFG_MAX_MEM_MAPPED - base;
|
||||
#endif
|
||||
if (set_ddr_laws(base, size, law_memctl) < 0) {
|
||||
printf("%s: ERROR (ctrl #%d, TRGT ID=%x)\n", __func__, ctrl_num,
|
||||
|
Reference in New Issue
Block a user