alloc: writeback the whole memmap after init

Writebacks the whole memory map structure after
its initialization.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
This commit is contained in:
Tomasz Lauda 2019-04-30 05:16:05 +02:00 committed by Janusz Jankowski
parent b84291d549
commit e787f67209
1 changed files with 2 additions and 0 deletions

View File

@ -841,4 +841,6 @@ void init_heap(struct sof *sof)
write_pattern((struct mm_heap *)&memmap.runtime, PLATFORM_HEAP_RUNTIME,
DEBUG_BLOCK_FREE_VALUE);
#endif
dcache_writeback_invalidate_region(&memmap, sizeof(memmap));
}