lmb: Remove lmb_reserve_flags()
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Wed, 18 Dec 2024 07:02:32 +0000 (09:02 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 30 Dec 2024 19:21:55 +0000 (13:21 -0600)
commit900a8951c3b6035c25632438ebc7240cbc77883c
tree92cc6937f3ecd135ef4022caa7288ac45db5feac
parent3d56c06551d7a54870cfdf8c639b3ff35521b87f
lmb: Remove lmb_reserve_flags()

lmb_reserve() is just calling lmb_reserve_flags() with LMB_NONE.
There's not much we gain from this abstraction.
So let's remove the latter, add the flags argument to lmb_reserve()
and make the code a bit easier to follow.

Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Tested-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
arch/powerpc/cpu/mpc85xx/mp.c
arch/powerpc/lib/misc.c
boot/bootm.c
boot/image-board.c
boot/image-fdt.c
cmd/booti.c
cmd/bootz.c
cmd/load.c
include/lmb.h
lib/lmb.c
test/lib/lmb.c