Skip to content

Commit 10506f8

Browse files
nashifkartben
authored andcommitted
x86: lakemont: split lakemont into families
Define multiple lakemont cpu families: value and performance. Signed-off-by: Anas Nashif <[email protected]>
1 parent 91cc371 commit 10506f8

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

arch/x86/Kconfig

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,16 @@ config CPU_APOLLO_LAKE
4343
help
4444
This option signifies the use of a CPU from the Apollo Lake family.
4545

46-
config CPU_LAKEMONT
46+
config CPU_LAKEMONT_VALUE
47+
bool
48+
select CPU_HAS_FPU
49+
select ARCH_HAS_STACK_PROTECTION if X86_MMU
50+
select ARCH_HAS_USERSPACE if X86_MMU
51+
select CPU_HAS_DCACHE
52+
help
53+
This option signifies the use of a CPU from the Lakemont Value family.
54+
55+
config CPU_LAKEMONT_PERF
4756
bool
4857
select CPU_HAS_FPU
4958
select ARCH_HAS_STACK_PROTECTION if X86_MMU
@@ -55,7 +64,7 @@ config CPU_LAKEMONT
5564
select X86_CPU_HAS_SSSE3
5665
select CPU_HAS_DCACHE
5766
help
58-
This option signifies the use of a CPU from the Lakemont family.
67+
This option signifies the use of a CPU from the Lakemont Performance family.
5968

6069
#
6170
# Configuration common to both IA32 and Intel64 sub-architectures.

soc/intel/lakemont/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
config SOC_LAKEMONT
66
select X86
7-
select CPU_LAKEMONT
7+
select CPU_LAKEMONT_PERF
88
select X86_MMU if FPU
99
select X86_SSE if FPU
1010
select X86_SSE2 if FPU

0 commit comments

Comments
 (0)