2019-11-19 18:33:35 +08:00
|
|
|
# Xtensa board configuration
|
|
|
|
|
|
|
|
# Copyright (c) 2017 Intel Corporation
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
if SOC_INTEL_APL_ADSP
|
|
|
|
|
|
|
|
config SOC
|
|
|
|
string
|
|
|
|
default "intel_apl_adsp"
|
|
|
|
|
2020-02-27 10:12:11 +08:00
|
|
|
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
|
|
|
default 400000000 if XTENSA_TIMER
|
|
|
|
default 19200000 if CAVS_TIMER
|
|
|
|
|
2019-11-19 18:33:35 +08:00
|
|
|
config IRQ_OFFLOAD_INTNUM
|
|
|
|
default 0
|
|
|
|
|
|
|
|
# S1000 does not have MISC0.
|
|
|
|
# Since EXCSAVE2 is unused by Zephyr, use it instead.
|
|
|
|
config XTENSA_KERNEL_CPU_PTR_SR
|
|
|
|
default "EXCSAVE2"
|
|
|
|
|
|
|
|
config KERNEL_ENTRY
|
|
|
|
default "_MainEntry"
|
|
|
|
|
|
|
|
config MULTI_LEVEL_INTERRUPTS
|
|
|
|
default y
|
|
|
|
|
|
|
|
config 2ND_LEVEL_INTERRUPTS
|
|
|
|
default y
|
|
|
|
|
|
|
|
config DYNAMIC_INTERRUPTS
|
|
|
|
default y
|
|
|
|
|
|
|
|
config LOG
|
|
|
|
default y
|
|
|
|
|
|
|
|
# To prevent test uses TEST_LOGGING_MINIMAL
|
|
|
|
config TEST_LOGGING_DEFAULTS
|
|
|
|
default n
|
2020-02-10 11:18:50 +08:00
|
|
|
depends on TEST
|
2019-11-19 18:33:35 +08:00
|
|
|
|
|
|
|
if LOG
|
|
|
|
|
|
|
|
config LOG_PRINTK
|
|
|
|
default y
|
|
|
|
|
2020-02-10 19:47:06 +08:00
|
|
|
config LOG_BACKEND_RB
|
2019-11-19 18:33:35 +08:00
|
|
|
default y
|
|
|
|
|
2020-02-10 19:47:06 +08:00
|
|
|
config LOG_BACKEND_RB_MEM_BASE
|
2020-02-12 19:04:16 +08:00
|
|
|
default 0xBE008000
|
2019-11-19 18:33:35 +08:00
|
|
|
|
2020-02-10 19:47:06 +08:00
|
|
|
config LOG_BACKEND_RB_MEM_SIZE
|
2020-02-12 19:04:16 +08:00
|
|
|
default 8192
|
2019-11-19 18:33:35 +08:00
|
|
|
|
|
|
|
endif # LOG
|
|
|
|
|
2020-02-27 10:12:11 +08:00
|
|
|
|
|
|
|
if SMP
|
|
|
|
|
|
|
|
config MP_NUM_CPUS
|
|
|
|
default 2
|
|
|
|
|
|
|
|
config XTENSA_TIMER
|
|
|
|
default n
|
|
|
|
|
|
|
|
config CAVS_TIMER
|
|
|
|
default y
|
|
|
|
|
|
|
|
config IPM
|
|
|
|
default y
|
|
|
|
|
|
|
|
config IPM_CAVS_IDC
|
|
|
|
default y if IPM
|
|
|
|
|
|
|
|
config SCHED_IPI_SUPPORTED
|
|
|
|
default y if IPM_CAVS_IDC
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2019-11-19 18:33:35 +08:00
|
|
|
endif
|