memory: add kconfig fields for L1 DRAM

This patch adds fields in kconfig for L1 DRAM
memory support.

Signed-off-by: Marcin Rajwa <marcin.rajwa@linux.intel.com>
This commit is contained in:
Marcin Rajwa 2021-07-27 19:58:51 +02:00 committed by Liam Girdwood
parent c26dfff3bf
commit bbbdf5e00e
2 changed files with 26 additions and 0 deletions

View File

@ -6,3 +6,6 @@ CONFIG_INTEL_ALH=y
CONFIG_CORE_COUNT=2
CONFIG_LP_MEMORY_BANKS=1
CONFIG_HP_MEMORY_BANKS=30
CONFIG_L1_DRAM=y
CONFIG_L1_DRAM_MEMORY_BANKS=8
CONFIG_L1_DRAM_MEMORY_BANK_SIZE=8192

View File

@ -346,6 +346,29 @@ config LP_SRAM
help
Indicates that platform uses LPSRAM.
config L1_DRAM
bool "L1 DRAM memory support"
default n
help
Indicates that platform does support L1 DATA RAM.
config L1_DRAM_MEMORY_BANKS
int "L1 DRAM memory banks count"
depends on L1_DRAM
default 0
help
Available memory banks count for L1 DATA RAM.
It can be used to turn ON/OFF L1 DRAM bank/s.
Firmware will turn on only as many banks as specified.
config L1_DRAM_MEMORY_BANK_SIZE
int "L1 DRAM memory bank size"
depends on L1_DRAM
default 0
help
Specifies DRAM block size.
It can be used to calculate DRAM size.
config CAVS_LPS
bool "Intel cAVS Low Power Sequencer for Power Management"
depends on CAVS