[PATCH v1 4/8] lmb: Rename free_mem to available_mem

Sam Protsenko semen.protsenko at linaro.org
Thu Dec 12 23:15:10 CET 2024


On Wed, Dec 11, 2024 at 4:55 AM Ilias Apalodimas
<ilias.apalodimas at linaro.org> wrote:
>
> free_mem is a misnomer. We never update it with the free memory for
> LMB. Instead, it describes all available memory and is checked against
> used_mem to decide whether an area is free or not.
>
> So let's rename this field to better match its usage.
>
> Signed-off-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
> ---

Reviewed-by: Sam Protsenko <semen.protsenko at linaro.org>

[snip]


More information about the U-Boot mailing list