Skip to content

Commit d6ebe26

Browse files
Test if L3 heap init makes a problem
Signed-off-by: Serhiy Katsyuba <serhiy.katsyuba@intel.com>
1 parent 12393f7 commit d6ebe26

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

zephyr/lib/alloc.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -557,9 +557,9 @@ static int heap_init(void)
557557
sys_heap_init(&sof_heap.heap, heapmem, HEAPMEM_SIZE);
558558

559559
#if CONFIG_L3_HEAP
560-
if (l3_heap_copy.heap.heap)
561-
l3_heap = l3_heap_copy;
562-
else
560+
/// if (l3_heap_copy.heap.heap)
561+
/// l3_heap = l3_heap_copy;
562+
/// else
563563
sys_heap_init(&l3_heap.heap, UINT_TO_POINTER(get_l3_heap_start()),
564564
get_l3_heap_size());
565565
#endif

0 commit comments

Comments
 (0)