zephyr/soc/intel/intel_adsp/Kconfig.defconfig
Flavio Ceolin 8fb592dfff soc: intel_adsp: DCACHE_LINE_SIZE was not defined
The symbol DCACHE_LINE_SIZE was not being defined in Intel ADSP
targets.

It fixes the following problem:

/zephyr/soc/intel/intel_adsp/ace/power.c:30:29: error:
'CONFIG_DCACHE_LINE_SIZE' undeclared here (not in a function); did you
mean 'XCHAL_DCACHE_LINESIZE'?  30 | uint8_t
adsp_pending_buffer[CONFIG_DCACHE_LINE_SIZE]
__aligned(CONFIG_DCACHE_LINE_SIZE);

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
2024-08-20 19:43:37 -04:00

55 lines
915 B
Plaintext

# Intel CAVS SoC family default configuration options
#
# Copyright (c) 2020-2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
if SOC_FAMILY_INTEL_ADSP
rsource "*/Kconfig.defconfig.series"
# A workaround for HWMv2 to recover SOF arch/xtensa defaults overridden by arch/host.
if SOF
config CORE_COUNT
int
default MP_MAX_NUM_CPUS
endif
config XTENSA_RPO_CACHE
def_bool y
# console can't handle the amount of data coming from many tests, so introduce
# a delay beween testcases.
if ZTEST
config ZTEST_TEST_DELAY_MS
default 100
endif
if XTENSA_RPO_CACHE
config XTENSA_CACHED_REGION
default 5
config XTENSA_UNCACHED_REGION
default 4
endif # XTENSA_RPO_CACHE
config CONSOLE
def_bool y
if CONSOLE
config WINSTREAM_CONSOLE
def_bool y
endif
config CACHE_MANAGEMENT
def_bool y
choice CACHE_TYPE
default ARCH_CACHE
endchoice
config DCACHE_LINE_SIZE
default 64
endif # SOC_FAMILY_INTEL_ADSP