diff mbox series

[1/6] common: Fix up malloc() comment in reserve_noncached()

Message ID 20241009015020.25817-2-sjg@chromium.org
State Superseded
Delegated to: Tom Rini
Headers show
Series Allow showing the memory map | expand

Commit Message

Simon Glass Oct. 9, 2024, 1:50 a.m. UTC
The function name has changed, so update it.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 common/board_f.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Ilias Apalodimas Oct. 9, 2024, 10:29 a.m. UTC | #1
On Wed, 9 Oct 2024 at 04:50, Simon Glass <sjg@chromium.org> wrote:
>
> The function name has changed, so update it.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
>
>  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.43.0
>

Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
diff mbox series

Patch

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()