lmb: Remove lmb_alloc_base_flags()
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Wed, 18 Dec 2024 07:02:36 +0000 (09:02 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 30 Dec 2024 19:21:55 +0000 (13:21 -0600)
commit3075708017dc2d1b735ed7c9556da6ff5070f14f
treec5dc6997a16545ae73033f3cacb19e6fd61e7152
parent15e0c5e390ffac7682193b7e1a615898b569deb1
lmb: Remove lmb_alloc_base_flags()

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

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>
boot/image-board.c
boot/image-fdt.c
include/lmb.h
lib/efi_loader/efi_memory.c
lib/lmb.c
test/lib/lmb.c