mirror of https://github.com/thesofproject/sof.git
memory: increase hpsram buffer size for CNL
This patch increases HPSRAM buffer size. This additional space is needed for KWD functionality. Signed-off-by: Marcin Rajwa <marcin.rajwa@linux.intel.com>
This commit is contained in:
parent
33388bbe56
commit
ae14528327
|
@ -215,7 +215,11 @@
|
||||||
#define HP_SRAM_WIN3_SIZE SRAM_TRACE_SIZE
|
#define HP_SRAM_WIN3_SIZE SRAM_TRACE_SIZE
|
||||||
|
|
||||||
#define HEAP_HP_BUFFER_BASE (SRAM_TRACE_BASE + 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
|
#define HEAP_HP_BUFFER_SIZE 0x20000
|
||||||
|
#endif
|
||||||
#define HEAP_HP_BUFFER_BLOCK_SIZE 0x180
|
#define HEAP_HP_BUFFER_BLOCK_SIZE 0x180
|
||||||
#define HEAP_HP_BUFFER_COUNT \
|
#define HEAP_HP_BUFFER_COUNT \
|
||||||
(HEAP_HP_BUFFER_SIZE / HEAP_HP_BUFFER_BLOCK_SIZE)
|
(HEAP_HP_BUFFER_SIZE / HEAP_HP_BUFFER_BLOCK_SIZE)
|
||||||
|
|
Loading…
Reference in New Issue