From 02f5a01441ecd356b73b491c99d635c67b2ba207 Mon Sep 17 00:00:00 2001
From: Tom Rini <trini@konsulko.com>
Date: Fri, 28 Oct 2022 20:27:09 -0400
Subject: [PATCH] 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>
---
 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 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()
-- 
2.39.5