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 <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
Tomasz Bursztyka 2023-11-27 20:08:58 +01:00 committed by Carles Cufí
parent b1cc7312cf
commit daf42fe77a

View File

@ -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.