Re: [PATCH v4 1/6] boot: fdt: Change type of env_get_bootm_low() to phys_addr_t

2024-04-11 Thread Tom Rini
On Tue, 26 Mar 2024 23:13:11 +0100, Marek Vasut wrote: > Change type of ulong env_get_bootm_low() to phys_addr_t env_get_bootm_low(). > The PPC/LS systems already treat env_get_bootm_low() result as phys_addr_t, > while the function itself still returns ulong. This is potentially dangerous > on

[PATCH v4 1/6] boot: fdt: Change type of env_get_bootm_low() to phys_addr_t

2024-03-26 Thread Marek Vasut
Change type of ulong env_get_bootm_low() to phys_addr_t env_get_bootm_low(). The PPC/LS systems already treat env_get_bootm_low() result as phys_addr_t, while the function itself still returns ulong. This is potentially dangerous on 64bit systems, where ulong might not be large enough to hold the