[PATCH 6/6] arm: mach-k3: Move DRAM address of ATF for AM62/AM62a
Francesco Dolcini
francesco at dolcini.it
Thu Feb 15 09:06:53 CET 2024
Hello Andrew,
thanks for this series.
On Wed, Feb 14, 2024 at 10:30:09AM -0600, Andrew Davis wrote:
> 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.
Do you expect issue with system with exactly 512MB of RAM? We have such
a board available and this is something that was not on our radar.
The way we handle this is with `verdin-am62.c:board_get_usable_ram_top()`
There is also some other reserved memory just before the 512MB limit,
not just the TF-A.
Francesco
More information about the U-Boot
mailing list