soc: xtensa: nxp_adsp: Enable cache management API for NXP SoCs

Thanks to PR [1] which introduces support for cache management
operations on xtensa architecture NXP SoCs can now use the
Zephyr native cache management API.

This commit enables some configurations that will allow us
to use the native Zephyr cache management API.

[1]: https://github.com/zephyrproject-rtos/zephyr/pull/50136

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
This commit is contained in:
Laurentiu Mihalcea 2023-05-16 11:01:17 +03:00 committed by Anas Nashif
parent 796d111289
commit 58d1c6146c
2 changed files with 4 additions and 0 deletions

View file

@ -6,6 +6,7 @@
config SOC_FAMILY_NXP_ADSP
bool
select ARCH_HAS_COHERENCE
select CPU_HAS_DCACHE
if SOC_FAMILY_NXP_ADSP

View file

@ -4,3 +4,6 @@
# SPDX-License-Identifier: Apache-2.0
source "soc/xtensa/nxp_adsp/*/Kconfig.defconfig.series"
config CACHE_MANAGEMENT
def_bool y