soc/intel_adsp: Move KERNEL_COHERENCE to cavs15

Only the CAVS 1.5 linker script has full support for the coherence
features, don't advertise it on the other SoC's yet.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
This commit is contained in:
Andy Ross 2021-02-10 21:19:54 -08:00 committed by Anas Nashif
commit 746c65acb7
3 changed files with 2 additions and 2 deletions

View file

@ -66,7 +66,7 @@ static inline void arch_switch(void *switch_to, void **switched_from)
/* FIXME: we don't have a framework for including this from the SoC /* FIXME: we don't have a framework for including this from the SoC
* layer, so we define it in the arch code here. * layer, so we define it in the arch code here.
*/ */
#ifdef CONFIG_SOC_FAMILY_INTEL_ADSP #if defined(CONFIG_SOC_FAMILY_INTEL_ADSP) && defined(CONFIG_KERNEL_COHERENCE)
static inline bool arch_mem_coherent(void *ptr) static inline bool arch_mem_coherent(void *ptr)
{ {
size_t addr = (size_t) ptr; size_t addr = (size_t) ptr;

View file

@ -5,7 +5,6 @@
config SOC_FAMILY_INTEL_ADSP config SOC_FAMILY_INTEL_ADSP
bool bool
select ARCH_HAS_COHERENCE
if SOC_FAMILY_INTEL_ADSP if SOC_FAMILY_INTEL_ADSP

View file

@ -9,5 +9,6 @@ config SOC_SERIES_INTEL_CAVS_V15
select XTENSA_RESET_VECTOR select XTENSA_RESET_VECTOR
select XTENSA_USE_CORE_CRT1 select XTENSA_USE_CORE_CRT1
select ATOMIC_OPERATIONS_BUILTIN select ATOMIC_OPERATIONS_BUILTIN
select ARCH_HAS_COHERENCE
help help
Intel CAVS v1.5 Intel CAVS v1.5