sof/zephyr/Kconfig

80 lines
2.5 KiB
Plaintext

if SOF
rsource "../Kconfig.sof"
config SOF_ZEPHYR_HEAP_CACHED
bool "Cached Zephyr heap for SOF memory non-shared zones"
default y if CAVS || ACE
default n
help
Enable cached heap by mapping cached SOF memory zones to different
Zephyr sys_heap objects and enable caching for non-shared zones.
config ZEPHYR_NATIVE_DRIVERS
bool "Use Zephyr native drivers"
default n
help
Enable Zephyr native api drivers for host and dai audio components
host-zephyr
dai-zephyr
will be used instead of legacy xtos version.
config DMA_DOMAIN
bool "Enable the usage of DMA domain."
default y if IMX8M
help
This enables the usage of the DMA domain in scheduling.
config DMA_DOMAIN_SEM_LIMIT
int "Number of resources the Zephyr's DMA domain can accumulate"
depends on DMA_DOMAIN
default 10
help
Set this value according to the load of the system. Please make sure
that SEM_LIMIT covers the maximum number of tasks your system will be
executing at some point (worst case).
config PIPELINE_2_0
bool "Enable pipeline 2.0 changes"
depends on IPC_MAJOR_4
default y if ACE
help
This flag enables changes to new pipeline structure, known as pipeline2_0
It is required for certain new features, like DP_SCHEDULER.
config ZEPHYR_DP_SCHEDULER
bool "use Zephyr thread based DP scheduler"
default y if ACE
default n
depends on IPC_MAJOR_4
depends on ZEPHYR_SOF_MODULE
depends on ACE
depends on PIPELINE_2_0
help
Enable Data Processing preemptive scheduler based on
Zephyr preemptive threads.
DP modules can be located in dieffrent cores than LL pipeline modules, may have
different tick (i.e. 300ms for speech reccognition, etc.)
config CROSS_CORE_STREAM
bool "Enable cross-core connected pipelines"
default y if IPC_MAJOR_4
help
Enables support for pipelines from different cores to be
connected together cross-core. So stream can travel from one
core to another. Note, this is different from "multicore"
support. In SOF "multicore" support means different streams
can be processed on different cores, however, each stream
is processed entirely on single core.
config SOF_BOOT_TEST
bool "enable SOF run-time testing"
depends on ZTEST
help
Run tests during boot. This enables an SOF boot-time self-test. When
enabled, the resulting image will run a number of self-tests when the
first global IPC command is received, i.e. when SOF is completely
initialized. After that SOF will continue running and be usable as
usual.
endif