
19 Apr
2024
19 Apr
'24
3:57 a.m.
On Sun, 14 Apr 2024 20:37:20 +0200, Marek Vasut wrote:
In case of systems where DRAM bank ends at the edge of 32bit boundary, start + size calculations would overflow. This happens on STM32MP15xx with 1 DRAM bank starting at 0xc0000000 and 1 GiB of DRAM. This is a usual 32bit system DRAM size overflow, fix it by doing all DRAM size and offset calculations using u64 types. This also covers a case where a 32bit PAE system might be able to address up to 36bits of DRAM.
[...]
Applied to u-boot/master, thanks!
--
Tom