common: Fix up malloc() comment in reserve_noncached()
The function name has changed, so update it. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user