mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-12-24 10:52:13 +01:00
lmb: staticise lmb_add_memory()
lmb_add_memory() is only called from the lmb module. Mark the function as static. Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
parent
6e4675b8e5
commit
3faffba6f1
@ -124,14 +124,6 @@ int lmb_alloc_mem(enum lmb_mem_type type, u64 align, phys_addr_t *addr,
|
||||
*/
|
||||
int lmb_init(void);
|
||||
|
||||
/**
|
||||
* lmb_add_memory() - Add memory range for LMB allocations.
|
||||
*
|
||||
* Add the entire available memory range to the pool of memory that
|
||||
* can be used by the LMB module for allocations.
|
||||
*/
|
||||
void lmb_add_memory(void);
|
||||
|
||||
long lmb_add(phys_addr_t base, phys_size_t size);
|
||||
|
||||
phys_size_t lmb_get_free_size(phys_addr_t addr);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user