memory: add heap_buf_alignment define for cavs platforms

This value will determine alignment for heap buffers

Signed-off-by: Adrian Bonislawski <adrian.bonislawski@linux.intel.com>
This commit is contained in:
Adrian Bonislawski 2019-06-17 12:39:48 +02:00 committed by Liam Girdwood
parent cc22442d38
commit 7ca0f3f6b3
1 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,8 @@
#define LPSRAM_SIZE (PLATFORM_LPSRAM_EBB_COUNT * SRAM_BANK_SIZE) #define LPSRAM_SIZE (PLATFORM_LPSRAM_EBB_COUNT * SRAM_BANK_SIZE)
#define HEAP_BUF_ALIGNMENT XCHAL_DCACHE_LINESIZE
#if !defined(__ASSEMBLER__) && !defined(LINKER) #if !defined(__ASSEMBLER__) && !defined(LINKER)
void platform_init_memmap(void); void platform_init_memmap(void);
#endif #endif