
19 Dec
2024
19 Dec
'24
10:43 p.m.
On Wed, 18 Dec 2024 11:00:06 +0200, Ilias Apalodimas wrote:
commit e27bddff4b97 ("imx8m: Restrict usable memory to space below 4G boundary") tried to adjust the usable memory limits on a 4GB boundary.
ram_top is described as 'top address of RAM used by U-Boot' and we want to preserve that. This is defined as a phys_addr_t and unfortunately its size differs across architectures. This has lead us to a weird state where 32bit boards define it 'SZ_4GB - 1' and 64bit boards as 'SZ_4GB' unless it was otherwise defined.
[...]
Applied to u-boot/master, thanks!
--
Tom