lmb: remove the unused board_lmb_reserve() function
The board_lmb_reserve() function is not being used, and currently
there is only an empty weak function defined. Remove this unused
function.
Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
diff --git a/include/lmb.h b/include/lmb.h
index fb1a6db..fc2daaa 100644
--- a/include/lmb.h
+++ b/include/lmb.h
@@ -107,8 +107,6 @@
void lmb_dump_all(void);
void lmb_dump_all_force(void);
-void board_lmb_reserve(void);
-
struct lmb *lmb_get(void);
int lmb_push(struct lmb *store);
void lmb_pop(struct lmb *store);
diff --git a/lib/lmb.c b/lib/lmb.c
index dbbc19e..9f1bb5e 100644
--- a/lib/lmb.c
+++ b/lib/lmb.c
@@ -222,7 +222,6 @@
static void lmb_reserve_common(void *fdt_blob)
{
- board_lmb_reserve();
lmb_reserve_uboot_region();
if (CONFIG_IS_ENABLED(OF_LIBFDT) && fdt_blob)
@@ -690,11 +689,6 @@
return 0;
}
-__weak void board_lmb_reserve(void)
-{
- /* please define platform specific board_lmb_reserve() */
-}
-
static int lmb_setup(void)
{
bool ret;