[PATCH 16/21] SYS_NONCACHED_MEMORY: Correct comment in common/board_f.c

Tom Rini trini at konsulko.com
Sat Oct 29 02:27:09 CEST 2022


The comment block in reserve_noncached has a typo in one filename and
an incorrect filename in another function reference. Correct both of
these.

Signed-off-by: Tom Rini <trini at konsulko.com>
---
 common/board_f.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/board_f.c b/common/board_f.c
index 4355d1c82d4b..3cbf675e63c8 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -480,8 +480,8 @@ static int reserve_noncached(void)
 {
 	/*
 	 * The value of gd->start_addr_sp must match the value of malloc_start
-	 * calculated in boatrd_f.c:initr_malloc(), which is passed to
-	 * board_r.c:mem_malloc_init() and then used by
+	 * 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.25.1



More information about the U-Boot mailing list