lmb: replace the lmb_alloc() and lmb_alloc_base() API's
authorSughosh Ganu <sughosh.ganu@linaro.org>
Tue, 17 Jun 2025 10:43:41 +0000 (16:13 +0530)
committerTom Rini <trini@konsulko.com>
Wed, 25 Jun 2025 15:50:37 +0000 (09:50 -0600)
commit6e4675b8e5d8d52d871042d6ac3429d6d1daf875
tree87a1997ba60d2b3aa87432a30029f90efcae6798
parent9d37a3d6e8b862071edfcb9ee95a0fbe45606918
lmb: replace the lmb_alloc() and lmb_alloc_base() API's

There currently are two API's for requesting memory from the LMB
module, lmb_alloc() and lmb_alloc_base(). The function which does the
actual allocation is the same. Use the earlier introduced API
lmb_alloc_mem() for both types of allocation requests.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
arch/arm/mach-apple/board.c
arch/arm/mach-snapdragon/board.c
boot/bootm.c
boot/image-board.c
boot/image-fdt.c
include/lmb.h
lib/efi_loader/efi_memory.c
lib/lmb.c
test/lib/lmb.c