Files
u-boot/test
Ilias Apalodimas 67be24906f lmb: change the return code on lmb_alloc_addr()
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.

Reported-by: Ben Schneider <ben@bens.haus>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Tested-by: Ben Schneider <ben@bens.haus>
Reviewed-by: Sughosh Ganu <sughosh.ganu@linaro.org>
2025-03-24 11:12:33 -06:00
..
2024-10-11 11:44:48 -06:00
2025-01-26 11:06:56 +01:00
2024-10-14 17:58:52 -06:00
2024-11-13 11:56:02 -06:00
2023-04-03 06:53:53 +12:00
2025-01-24 14:34:41 -06:00