From: Tom Rini <trini@konsulko.com>
Date: Sat, 29 Oct 2022 00:27:09 +0000 (-0400)
Subject: SYS_NONCACHED_MEMORY: Correct comment in common/board_f.c
X-Git-Tag: v2025.01-rc5-pxa1908~1214^2~5
X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/%7B%7B?a=commitdiff_plain;h=02f5a01441ecd356b73b491c99d635c67b2ba207;p=u-boot.git

SYS_NONCACHED_MEMORY: Correct comment in common/board_f.c

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@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
---

diff --git a/common/board_f.c b/common/board_f.c
index 7c26e235fc..e6117a7ba5 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -475,8 +475,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()