[PATCH v3 1/7] common: Fix up malloc() comment in reserve_noncached()
Simon Glass
sjg at chromium.org
Tue Oct 15 15:32:58 CEST 2024
The function name has changed, so update it.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
(no changes since v1)
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 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()
--
2.34.1
More information about the U-Boot
mailing list