Skip to content

Commit 3cf2cc0

Browse files
TomasGalbickaNXPkartben
authored andcommitted
soc: RT700 DSP Hifi4 enable cache handling
This commit adds cache handling for Hifi4 core on RT700. Enable CACHE_MANAGEMENT and HAS_DCACHE. Signed-off-by: Tomas Galbicka <[email protected]>
1 parent ca359b1 commit 3cf2cc0

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

soc/nxp/imxrt/imxrt7xx/hifi4/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ config SOC_MIMXRT798S_HIFI4
99
select XTENSA_SMALL_VECTOR_TABLE_ENTRY
1010
select GEN_ISR_TABLES
1111
select CLOCK_CONTROL
12+
select CACHE_MANAGEMENT
13+
select CPU_HAS_DCACHE
1214
select SOC_EARLY_INIT_HOOK
1315
select NXP_INPUTMUX
1416
select HAS_MCUX

soc/nxp/imxrt/imxrt7xx/hifi4/Kconfig.defconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,8 @@ config NXP_IMXRT_BOOT_HEADER
2424
config I2S_HAS_PLL_SETTING
2525
default n
2626

27+
# Must match XCHAL_DCACHE_LINESIZE from core-isa.h
28+
config DCACHE_LINE_SIZE
29+
default 256
30+
2731
endif # SOC_MIMXRT798S_HIFI4

0 commit comments

Comments
 (0)