diff --git a/src/platform/cannonlake/include/platform/lib/memory.h b/src/platform/cannonlake/include/platform/lib/memory.h index 7e5c21b03..bd1033377 100644 --- a/src/platform/cannonlake/include/platform/lib/memory.h +++ b/src/platform/cannonlake/include/platform/lib/memory.h @@ -215,7 +215,11 @@ #define HP_SRAM_WIN3_SIZE SRAM_TRACE_SIZE #define HEAP_HP_BUFFER_BASE (SRAM_TRACE_BASE + SRAM_TRACE_SIZE) +#if CONFIG_COMP_KPB +#define HEAP_HP_BUFFER_SIZE 0x40000 +#else #define HEAP_HP_BUFFER_SIZE 0x20000 +#endif #define HEAP_HP_BUFFER_BLOCK_SIZE 0x180 #define HEAP_HP_BUFFER_COUNT \ (HEAP_HP_BUFFER_SIZE / HEAP_HP_BUFFER_BLOCK_SIZE)