diff options
author | Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> | 2019-01-21 20:29:55 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-01-26 08:13:57 -0500 |
commit | 65304aade8041c03859d0f7b210f2e2a4d46bec0 (patch) | |
tree | 3867662969ccc30a58009523f6261779fb423841 /net | |
parent | eba0c26f07efc0f6e163537c4cce75468be61027 (diff) | |
download | u-boot-65304aade8041c03859d0f7b210f2e2a4d46bec0.tar.gz u-boot-65304aade8041c03859d0f7b210f2e2a4d46bec0.tar.bz2 u-boot-65304aade8041c03859d0f7b210f2e2a4d46bec0.zip |
lib: lmb: rename lmb_get_unreserved_size to lmb_get_free_size
As a follow-up, change the name of the newly introduced function
'lmb_get_unreserved_size' to 'lmb_get_free_size', which is more
appropriate.
Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
[trini: Fix test/lib/lmb.c]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/tftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tftp.c b/net/tftp.c index 8fab6d2650..eca801aa19 100644 --- a/net/tftp.c +++ b/net/tftp.c @@ -609,7 +609,7 @@ static int tftp_init_load_addr(void) lmb_init_and_reserve(&lmb, gd->bd->bi_dram[0].start, gd->bd->bi_dram[0].size, (void *)gd->fdt_blob); - max_size = lmb_get_unreserved_size(&lmb, load_addr); + max_size = lmb_get_free_size(&lmb, load_addr); if (!max_size) return -1; |