diff options
author | Sughosh Ganu <sughosh.ganu@linaro.org> | 2024-08-26 17:29:26 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-09-03 14:08:50 -0600 |
commit | 30ffdd61ded011433bfbbd6a3d14fac24547ad54 (patch) | |
tree | a1461365237edeb4592161d20ef1bcc51a6fb319 /lib/lmb.c | |
parent | c7ce26cb368d12e88be3274ba1ed4cda58a15ad8 (diff) |
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>
Diffstat (limited to 'lib/lmb.c')
-rw-r--r-- | lib/lmb.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/lmb.c b/lib/lmb.c index de4d0d18032..686988e34f9 100644 --- a/lib/lmb.c +++ b/lib/lmb.c @@ -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; |