Skip to content

Commit

Permalink
soc: xtensa: nxp_adsp: Enable cache management API for NXP SoCs
Browse files Browse the repository at this point in the history
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]: zephyrproject-rtos#50136

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
  • Loading branch information
LaurentiuM1234 authored and nordicjm committed May 18, 2023
1 parent d27e28d commit 9121cfd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions soc/xtensa/nxp_adsp/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
config SOC_FAMILY_NXP_ADSP
bool
select ARCH_HAS_COHERENCE
select CPU_HAS_DCACHE

if SOC_FAMILY_NXP_ADSP

Expand Down
3 changes: 3 additions & 0 deletions soc/xtensa/nxp_adsp/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
# SPDX-License-Identifier: Apache-2.0

source "soc/xtensa/nxp_adsp/*/Kconfig.defconfig.series"

config CACHE_MANAGEMENT
def_bool y

0 comments on commit 9121cfd

Please sign in to comment.