summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-10-21 10:19:25 +0200
committerTom Rini <trini@konsulko.com>2024-10-25 14:22:24 -0600
commit09f5be613a7cc812c9c5865eb384d311990f7d6d (patch)
tree41e2ff3876a5e8d2f223f414d23a2f1108725056
parent2f204bba68a0421099c661214175b7a1f443244e (diff)
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>
-rw-r--r--common/board_f.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/board_f.c b/common/board_f.c
index f1bd70fdd6c..a87411ee350 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()