summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSughosh Ganu <[email protected]>2024-08-26 17:29:26 +0530
committerTom Rini <[email protected]>2024-09-03 14:08:50 -0600
commit30ffdd61ded011433bfbbd6a3d14fac24547ad54 (patch)
treea1461365237edeb4592161d20ef1bcc51a6fb319 /lib
parentc7ce26cb368d12e88be3274ba1ed4cda58a15ad8 (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 <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]> Reviewed-by: Tom Rini <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'lib')
-rw-r--r--lib/lmb.c8
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;