[PATCH v2 1/7] common: Fix up malloc() comment in reserve_noncached()
Simon Glass
sjg at chromium.org
Fri Oct 11 23:40:25 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 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.34.1
More information about the U-Boot
mailing list