common: Fix up malloc() comment in reserve_noncached()

The function name has changed, so update it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
Simon Glass
2024-10-21 10:19:25 +02:00
committed by Tom Rini
parent 2f204bba68
commit 09f5be613a

View File

@@ -501,9 +501,9 @@ static unsigned long reserve_stack_aligned(size_t size)
static int reserve_noncached(void) static int reserve_noncached(void)
{ {
/* /*
* The value of gd->start_addr_sp must match the value of malloc_start * The value of gd->start_addr_sp must match the value of
* calculated in board_r.c:initr_malloc(), which is passed to * mem_malloc_start calculated in board_r.c:initr_malloc(), which is
* dlmalloc.c:mem_malloc_init() and then used by * passed to dlmalloc.c:mem_malloc_init() and then used by
* cache.c:noncached_init() * cache.c:noncached_init()
* *
* These calculations must match the code in cache.c:noncached_init() * These calculations must match the code in cache.c:noncached_init()