From daf42fe77aa6f4e1ca9d11397ced131a5ab7f60e Mon Sep 17 00:00:00 2001 From: Tomasz Bursztyka Date: Mon, 27 Nov 2023 20:08:58 +0100 Subject: [PATCH] arch/x86: CPUs expose an unimplemented feature Instruction cache related functions (see include/zephyr/arch/cache.h) are not implemented in x86, thus let's not set CONFIG_CPU_HAS_ICACHE which may end up in build failure if one sets CONFIG_ICACHE. Signed-off-by: Tomasz Bursztyka --- arch/x86/Kconfig | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 7f852742fb8..13030d26a1d 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -23,7 +23,6 @@ config CPU_ATOM select X86_CPU_HAS_SSE2 select X86_CPU_HAS_SSE3 select CPU_HAS_DCACHE - select CPU_HAS_ICACHE help This option signifies the use of a CPU from the Atom family. @@ -41,7 +40,6 @@ config CPU_APOLLO_LAKE select X86_CPU_HAS_SSE41 select X86_CPU_HAS_SSE42 select CPU_HAS_DCACHE - select CPU_HAS_ICACHE help This option signifies the use of a CPU from the Apollo Lake family. @@ -56,7 +54,6 @@ config CPU_LAKEMONT select X86_CPU_HAS_SSE3 select X86_CPU_HAS_SSSE3 select CPU_HAS_DCACHE - select CPU_HAS_ICACHE help This option signifies the use of a CPU from the Lakemont family.