[PATCH] lmb: change the return code on lmb_alloc_addr()
Tom Rini
trini at konsulko.com
Mon Mar 24 19:37:16 CET 2025
On Fri, 14 Mar 2025 12:57:02 +0200, Ilias Apalodimas wrote:
> Ben reports a failure to boot the kernel on hardware that starts its
> physical memory from 0x0.
> The reason is that lmb_alloc_addr(), which is supposed to reserve a
> specific address, takes the address as the first argument, but then also
> returns the address for success or failure and treats 0 as a failure.
>
> Since we already know the address change the prototype to return an int.
>
> [...]
Applied to u-boot/master, thanks!
[1/1] lmb: change the return code on lmb_alloc_addr()
commit: 67be24906feb6efecce70cd5bfdc2ba8f06d3d5b
--
Tom
More information about the U-Boot
mailing list