diff options
author | Andrew Davis <afd@ti.com> | 2024-02-14 10:30:09 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-03-06 09:09:00 -0500 |
commit | cc0f759ddcc6cf09828845aec81586deeae7d45b (patch) | |
tree | 9e8cccfa98dbbfe251af0c4d12fd7cea94adf478 /drivers/firmware/psci.c | |
parent | 69a5085219b121a93913f9b0e42436444d5f65fc (diff) |
arm: mach-k3: Move DRAM address of ATF for AM62/AM62a
The current address of TF-A in DRAM is just below the 512MB address line.
This means if the DRAM in a system is 512MB then TF-A is right at the
end of memory which is often reused, for instance U-Boot relocates itself
here. If a system has less than 512MB then that system wouldn't work at
all as TF-A would fail to load.
To avoid the issues above, move TF-A to the start of DRAM, which doesn't
change from system to system.
As TF-A is position independent, this has no dependency on TF-A. We
also fixup DT as needed when TF-A address is moved, so this change also
has no dependency on Linux and is fully forward/backward compatible.
Signed-off-by: Andrew Davis <afd@ti.com>
Acked-by: Bryan Brattlof <bb@ti.com>
Diffstat (limited to 'drivers/firmware/psci.c')
0 files changed, 0 insertions, 0 deletions