mirror of
https://xff.cz/git/u-boot/
synced 2025-09-27 13:31:16 +02:00
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>
This commit is contained in:
@@ -107,8 +107,6 @@ long lmb_free(phys_addr_t base, phys_size_t size);
|
|||||||
void lmb_dump_all(void);
|
void lmb_dump_all(void);
|
||||||
void lmb_dump_all_force(void);
|
void lmb_dump_all_force(void);
|
||||||
|
|
||||||
void board_lmb_reserve(void);
|
|
||||||
|
|
||||||
struct lmb *lmb_get(void);
|
struct lmb *lmb_get(void);
|
||||||
int lmb_push(struct lmb *store);
|
int lmb_push(struct lmb *store);
|
||||||
void lmb_pop(struct lmb *store);
|
void lmb_pop(struct lmb *store);
|
||||||
|
@@ -222,7 +222,6 @@ static void lmb_reserve_uboot_region(void)
|
|||||||
|
|
||||||
static void lmb_reserve_common(void *fdt_blob)
|
static void lmb_reserve_common(void *fdt_blob)
|
||||||
{
|
{
|
||||||
board_lmb_reserve();
|
|
||||||
lmb_reserve_uboot_region();
|
lmb_reserve_uboot_region();
|
||||||
|
|
||||||
if (CONFIG_IS_ENABLED(OF_LIBFDT) && fdt_blob)
|
if (CONFIG_IS_ENABLED(OF_LIBFDT) && fdt_blob)
|
||||||
@@ -690,11 +689,6 @@ int lmb_is_reserved_flags(phys_addr_t addr, int flags)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
__weak void board_lmb_reserve(void)
|
|
||||||
{
|
|
||||||
/* please define platform specific board_lmb_reserve() */
|
|
||||||
}
|
|
||||||
|
|
||||||
static int lmb_setup(void)
|
static int lmb_setup(void)
|
||||||
{
|
{
|
||||||
bool ret;
|
bool ret;
|
||||||
|
Reference in New Issue
Block a user