summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/lmb.h11
-rw-r--r--lib/lmb.c5
2 files changed, 0 insertions, 16 deletions
diff --git a/include/lmb.h b/include/lmb.h
index 231b68b27d9..6c50d93e832 100644
--- a/include/lmb.h
+++ b/include/lmb.h
@@ -118,17 +118,6 @@ phys_addr_t lmb_alloc_addr(struct lmb *lmb, phys_addr_t base, phys_size_t size);
phys_size_t lmb_get_free_size(struct lmb *lmb, phys_addr_t addr);
/**
- * lmb_is_reserved() - test if address is in reserved region
- *
- * The function checks if a reserved region comprising @addr exists.
- *
- * @lmb: the logical memory block struct
- * @addr: address to be tested
- * Return: 1 if reservation exists, 0 otherwise
- */
-int lmb_is_reserved(struct lmb *lmb, phys_addr_t addr);
-
-/**
* lmb_is_reserved_flags() - test if address is in reserved region with flag bits set
*
* The function checks if a reserved region comprising @addr exists which has
diff --git a/lib/lmb.c b/lib/lmb.c
index 44f98205310..adc3abd5b46 100644
--- a/lib/lmb.c
+++ b/lib/lmb.c
@@ -565,11 +565,6 @@ int lmb_is_reserved_flags(struct lmb *lmb, phys_addr_t addr, int flags)
return 0;
}
-int lmb_is_reserved(struct lmb *lmb, phys_addr_t addr)
-{
- return lmb_is_reserved_flags(lmb, addr, LMB_NONE);
-}
-
__weak void board_lmb_reserve(struct lmb *lmb)
{
/* please define platform specific board_lmb_reserve() */