[PATCH 1/6] common: Fix up malloc() comment in reserve_noncached()
Ilias Apalodimas
ilias.apalodimas at linaro.org
Wed Oct 9 12:29:18 CEST 2024
On Wed, 9 Oct 2024 at 04:50, Simon Glass <sjg at chromium.org> wrote:
>
> The function name has changed, so update it.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> common/board_f.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/common/board_f.c b/common/board_f.c
> index 154675d0e40..2e04a47b546 100644
> --- a/common/board_f.c
> +++ b/common/board_f.c
> @@ -501,9 +501,9 @@ static unsigned long reserve_stack_aligned(size_t size)
> static int reserve_noncached(void)
> {
> /*
> - * The value of gd->start_addr_sp must match the value of malloc_start
> - * calculated in board_r.c:initr_malloc(), which is passed to
> - * dlmalloc.c:mem_malloc_init() and then used by
> + * The value of gd->start_addr_sp must match the value of
> + * mem_malloc_start calculated in board_r.c:initr_malloc(), which is
> + * passed to dlmalloc.c:mem_malloc_init() and then used by
> * cache.c:noncached_init()
> *
> * These calculations must match the code in cache.c:noncached_init()
> --
> 2.43.0
>
Acked-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
More information about the U-Boot
mailing list