summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorSughosh Ganu <[email protected]>2024-08-26 17:29:25 +0530
committerTom Rini <[email protected]>2024-09-03 14:08:50 -0600
commitc7ce26cb368d12e88be3274ba1ed4cda58a15ad8 (patch)
treef3977dbf2137ca6e2985fe4d46f4332f353eb34d /fs
parentf4fb154f0a9bbb1d3c6b6e097ff6e3eb1b6216a0 (diff)
lmb: remove the lmb_init_and_reserve() function
With the changes to make the LMB reservations persistent, the common memory regions are being added during board init. Remove the now superfluous lmb_init_and_reserve() function. Signed-off-by: Sughosh Ganu <[email protected]> Reviewed-by: Simon Glass <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'fs')
-rw-r--r--fs/fs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/fs.c b/fs/fs.c
index 3fb00590be6..4bc28d1dffb 100644
--- a/fs/fs.c
+++ b/fs/fs.c
@@ -549,7 +549,6 @@ static int fs_read_lmb_check(const char *filename, ulong addr, loff_t offset,
if (len && len < read_len)
read_len = len;
- lmb_init_and_reserve(gd->bd, (void *)gd->fdt_blob);
lmb_dump_all();
if (lmb_alloc_addr(addr, read_len) == addr)