soc: xtensa: Add SoC definition for Audio DSP on Intel Apollolake

Create an SoC definition for the Audio DSP on Intel Apollolake

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
Johan Hedberg 2019-11-19 12:33:35 +02:00 committed by Anas Nashif
commit 31706c874e
18 changed files with 2224 additions and 0 deletions

View file

@ -0,0 +1,62 @@
# 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"
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
if TEST
# To prevent test uses TEST_LOGGING_MINIMAL
config TEST_LOGGING_DEFAULTS
default n
endif # TEST
if LOG
config LOG_PRINTK
default y
config LOG_IMMEDIATE
default y
config LOG_BACKEND_ADSP
default y
config LOG_BACKEND_ADSP_RINGBUF_BASE
default "0xBE008000"
config LOG_BACKEND_ADSP_RINGBUF_SIZE
default "0x2000"
endif # LOG
endif