diff options
author | Tom Rini <trini@konsulko.com> | 2022-12-23 22:19:39 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-12-23 22:19:39 -0500 |
commit | 3e4cbe184a0f6537abb457d6afa61224396c4e46 (patch) | |
tree | d6e95e03385c33f5d99775cc44710fc6f540b094 /drivers/ddr/fsl/util.c | |
parent | 52d91e1c20b399ddab276e2c03e5788ed5e5fdd2 (diff) | |
parent | 90c7888c9d6b3223c32f068668f3bc5a81010f8e (diff) |
Merge branch '2022-12-23-complete-phase1-CONFIG-migration' into next
- Bring in the final series to complete the main portion of migrating
CONFIG symbols to either Kconfig or CFG namespace (or removing /
renaming entirely). With this, we have stricter CI tests as well now.
Diffstat (limited to 'drivers/ddr/fsl/util.c')
-rw-r--r-- | drivers/ddr/fsl/util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ddr/fsl/util.c b/drivers/ddr/fsl/util.c index e49cf6e8e3d..60051392e71 100644 --- a/drivers/ddr/fsl/util.c +++ b/drivers/ddr/fsl/util.c @@ -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, |