diff options
author | Amit Nagal <amit.nagal@amd.com> | 2023-11-03 13:24:56 +0530 |
---|---|---|
committer | Amit Nagal <amit.nagal@amd.com> | 2023-11-03 16:33:51 +0530 |
commit | 1a38aafbff93e478aa6f9e19af1ed76024062a73 (patch) | |
tree | 8ef8745b1d02dece8bc8576b744b03fe115112e0 /lib/psci/psci_suspend.c | |
parent | 93823fb6ec63a2d92cc2ca55fb3a8dbb5f9e8467 (diff) |
fix(xlat): set MAX_PHYS_ADDR to total mapped physical region
Currently some platforms set PLAT_XLAT_TABLES_DYNAMIC=0 and
define it unconditionally also in platform Makefiles.
Due to this when PLAT_XLAT_TABLES_DYNAMIC=0 the limits for
MAX_PHYS_ADDR is wrongly set to the whole physical address space size.
Instead of definition the value of PLAT_XLAT_TABLES_DYNAMIC is checked
to set MAX_PHYS_ADDR to total mapped physical region.
Reference: plat/nvidia/tegra/platform.mk
Change-Id: I7bd786aaa4b039951341d0337f694074345f717f
Signed-off-by: Amit Nagal <amit.nagal@amd.com>
Diffstat (limited to 'lib/psci/psci_suspend.c')
0 files changed, 0 insertions, 0 deletions