lmb: Rename _lmb_alloc_addr() to lmb_alloc_addr_flags()

lmb_alloc_addr_flags() is a wrapper for _lmb_alloc_addr() and it's the
only function using it. Rename _lmb_alloc_addr() to lmb_alloc_addr_flags()
and remove the wrapper.

Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Tested-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
Ilias Apalodimas
2024-12-18 09:02:37 +02:00
committed by Tom Rini
parent 3075708017
commit 1a25191bc1
2 changed files with 2 additions and 7 deletions

View File

@@ -125,7 +125,7 @@ phys_addr_t lmb_alloc_base(phys_size_t size, ulong align, phys_addr_t max_addr,
*
* Return: Base address on success, 0 on error.
*/
phys_addr_t lmb_alloc_addr(phys_addr_t base, phys_size_t size, uint flags);
phys_addr_t lmb_alloc_addr(phys_addr_t base, phys_size_t size, u32 flags);
/**
* lmb_is_reserved_flags() - Test if address is in reserved region with flag