[PATCH] boot: fdt: Turn all addresses and sizes into u64

Tom Rini trini at konsulko.com
Fri Apr 19 03:57:59 CEST 2024


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




More information about the U-Boot mailing list