1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-11-01 19:05:51 +01:00

lmb: remove lmb_init_and_reserve_range() function

With the move to make the LMB allocations persistent and the common
memory regions being reserved during board init, there is no need for
an explicit reservation of a memory range. Remove the
lmb_init_and_reserve_range() function.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Sughosh Ganu
2024-08-26 17:29:26 +05:30
committed by Tom Rini
parent c7ce26cb36
commit 30ffdd61de
3 changed files with 1 additions and 25 deletions

View File

@@ -227,14 +227,6 @@ static void lmb_reserve_common(void *fdt_blob)
efi_lmb_reserve();
}
/* Initialize the struct, add memory and call arch/board reserve functions */
void lmb_init_and_reserve_range(phys_addr_t base, phys_size_t size,
void *fdt_blob)
{
lmb_add(base, size);
lmb_reserve_common(fdt_blob);
}
static __maybe_unused void lmb_reserve_common_spl(void)
{
phys_addr_t rsv_start;