ADSP / SOF: don't force uniprocessor mode
Allow SMP processing for SOF on ADSP. Note, that after this SOF will build with SMP support enabled on all cAVS versions, but secondary cores will remain disabled unless an SMP topology is loaded by the host. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
This commit is contained in:
parent
3509cffac6
commit
0a801aa1dd
5 changed files with 7 additions and 3 deletions
|
@ -1,7 +1,6 @@
|
|||
CONFIG_APOLLOLAKE=y
|
||||
CONFIG_INTEL_DMIC=y
|
||||
CONFIG_INTEL_SSP=y
|
||||
CONFIG_CORE_COUNT=1
|
||||
CONFIG_LP_MEMORY_BANKS=2
|
||||
CONFIG_HP_MEMORY_BANKS=8
|
||||
CONFIG_PERFORMANCE_COUNTERS=y
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
CONFIG_SOF=y
|
||||
CONFIG_SMP=n
|
||||
CONFIG_LOG=y
|
||||
CONFIG_MP_NUM_CPUS=1
|
||||
CONFIG_BUILD_OUTPUT_BIN=n
|
||||
|
||||
# Requires heap_info() be implemented, but no Zephyr wrapper
|
||||
CONFIG_DEBUG_MEMORY_USAGE_SCAN=n
|
||||
|
||||
CONFIG_SCHED_DEADLINE=y
|
||||
CONFIG_SCHED_CPU_MASK=y
|
||||
CONFIG_SMP_BOOT_DELAY=y
|
||||
|
|
|
@ -68,6 +68,7 @@ endif # LOG
|
|||
|
||||
if SMP
|
||||
|
||||
# FIXME: these DSPs can have more cores, but Zephyr only supports up to 2 cores on them
|
||||
config MP_NUM_CPUS
|
||||
default 2
|
||||
|
||||
|
|
|
@ -68,6 +68,7 @@ endif # LOG
|
|||
|
||||
if SMP
|
||||
|
||||
# FIXME: these DSPs can have more cores, but Zephyr only supports up to 2 cores on them
|
||||
config MP_NUM_CPUS
|
||||
default 2
|
||||
|
||||
|
|
|
@ -68,6 +68,7 @@ endif # LOG
|
|||
|
||||
if SMP
|
||||
|
||||
# FIXME: these DSPs can have more cores, but Zephyr only supports up to 2 cores on them
|
||||
config MP_NUM_CPUS
|
||||
default 2
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue