Skip to content

Commit 8fb592d

Browse files
Flavio Ceolinnashif
authored andcommitted
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 <[email protected]>
1 parent b7b17fa commit 8fb592d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

soc/intel/intel_adsp/Kconfig.defconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,7 @@ choice CACHE_TYPE
4848
default ARCH_CACHE
4949
endchoice
5050

51+
config DCACHE_LINE_SIZE
52+
default 64
53+
5154
endif # SOC_FAMILY_INTEL_ADSP

0 commit comments

Comments
 (0)