diff options
author | Ian Campbell <ijc@hellion.org.uk> | 2011-04-08 02:42:29 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2011-04-08 16:01:25 -0400 |
commit | ce9c99af8d4b3b0b9463654fd252d8640d804dc3 (patch) | |
tree | b5754ba3e8bf1022c58467992435d7670112aa52 /arch | |
parent | 6221f222c0ebf1acdf7abcf927178f40e1a65e2a (diff) |
x86, cpu: Move AMD Elan Kconfig under "Processor family"
Currently the option resides under X86_EXTENDED_PLATFORM due to historical
nonstandard A20M# handling. However that is no longer the case and so Elan can
be treated as part of the standard processor choice Kconfig option.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Link: http://lkml.kernel.org/r/1302245177.31620.47.camel@localhost.localdomain
Cc: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/Kconfig | 11 | ||||
-rw-r--r-- | arch/x86/Kconfig.cpu | 16 | ||||
-rw-r--r-- | arch/x86/Makefile_32.cpu | 2 | ||||
-rw-r--r-- | arch/x86/include/asm/module.h | 2 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/cpufreq/Kconfig | 4 |
5 files changed, 14 insertions, 21 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index cc6c53a95bfd..f00a3f377cc0 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -365,17 +365,6 @@ config X86_UV | |||
365 | # Following is an alphabetically sorted list of 32 bit extended platforms | 365 | # Following is an alphabetically sorted list of 32 bit extended platforms |
366 | # Please maintain the alphabetic order if and when there are additions | 366 | # Please maintain the alphabetic order if and when there are additions |
367 | 367 | ||
368 | config X86_ELAN | ||
369 | bool "AMD Elan" | ||
370 | depends on X86_32 | ||
371 | depends on X86_EXTENDED_PLATFORM | ||
372 | ---help--- | ||
373 | Select this for an AMD Elan processor. | ||
374 | |||
375 | Do not use this option for K6/Athlon/Opteron processors! | ||
376 | |||
377 | If unsure, choose "PC-compatible" instead. | ||
378 | |||
379 | config X86_INTEL_CE | 368 | config X86_INTEL_CE |
380 | bool "CE4100 TV platform" | 369 | bool "CE4100 TV platform" |
381 | depends on PCI | 370 | depends on PCI |
diff --git a/arch/x86/Kconfig.cpu b/arch/x86/Kconfig.cpu index d161e939df62..6a7cfdf8ff69 100644 --- a/arch/x86/Kconfig.cpu +++ b/arch/x86/Kconfig.cpu | |||
@@ -1,6 +1,4 @@ | |||
1 | # Put here option for CPU selection and depending optimization | 1 | # Put here option for CPU selection and depending optimization |
2 | if !X86_ELAN | ||
3 | |||
4 | choice | 2 | choice |
5 | prompt "Processor family" | 3 | prompt "Processor family" |
6 | default M686 if X86_32 | 4 | default M686 if X86_32 |
@@ -203,6 +201,14 @@ config MWINCHIP3D | |||
203 | stores for this CPU, which can increase performance of some | 201 | stores for this CPU, which can increase performance of some |
204 | operations. | 202 | operations. |
205 | 203 | ||
204 | config MELAN | ||
205 | bool "AMD Elan" | ||
206 | depends on X86_32 | ||
207 | ---help--- | ||
208 | Select this for an AMD Elan processor. | ||
209 | |||
210 | Do not use this option for K6/Athlon/Opteron processors! | ||
211 | |||
206 | config MGEODEGX1 | 212 | config MGEODEGX1 |
207 | bool "GeodeGX1" | 213 | bool "GeodeGX1" |
208 | depends on X86_32 | 214 | depends on X86_32 |
@@ -292,8 +298,6 @@ config X86_GENERIC | |||
292 | This is really intended for distributors who need more | 298 | This is really intended for distributors who need more |
293 | generic optimizations. | 299 | generic optimizations. |
294 | 300 | ||
295 | endif | ||
296 | |||
297 | # | 301 | # |
298 | # Define implied options from the CPU selection here | 302 | # Define implied options from the CPU selection here |
299 | config X86_INTERNODE_CACHE_SHIFT | 303 | config X86_INTERNODE_CACHE_SHIFT |
@@ -312,7 +316,7 @@ config X86_L1_CACHE_SHIFT | |||
312 | int | 316 | int |
313 | default "7" if MPENTIUM4 || MPSC | 317 | default "7" if MPENTIUM4 || MPSC |
314 | default "6" if MK7 || MK8 || MPENTIUMM || MCORE2 || MATOM || MVIAC7 || X86_GENERIC || GENERIC_CPU | 318 | default "6" if MK7 || MK8 || MPENTIUMM || MCORE2 || MATOM || MVIAC7 || X86_GENERIC || GENERIC_CPU |
315 | default "4" if X86_ELAN || M486 || M386 || MGEODEGX1 | 319 | default "4" if MELAN || M486 || M386 || MGEODEGX1 |
316 | default "5" if MWINCHIP3D || MWINCHIPC6 || MCRUSOE || MEFFICEON || MCYRIXIII || MK6 || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || M586TSC || M586 || MVIAC3_2 || MGEODE_LX | 320 | default "5" if MWINCHIP3D || MWINCHIPC6 || MCRUSOE || MEFFICEON || MCYRIXIII || MK6 || MPENTIUMIII || MPENTIUMII || M686 || M586MMX || M586TSC || M586 || MVIAC3_2 || MGEODE_LX |
317 | 321 | ||
318 | config X86_XADD | 322 | config X86_XADD |
@@ -358,7 +362,7 @@ config X86_POPAD_OK | |||
358 | 362 | ||
359 | config X86_ALIGNMENT_16 | 363 | config X86_ALIGNMENT_16 |
360 | def_bool y | 364 | def_bool y |
361 | depends on MWINCHIP3D || MWINCHIPC6 || MCYRIXIII || X86_ELAN || MK6 || M586MMX || M586TSC || M586 || M486 || MVIAC3_2 || MGEODEGX1 | 365 | depends on MWINCHIP3D || MWINCHIPC6 || MCYRIXIII || MELAN || MK6 || M586MMX || M586TSC || M586 || M486 || MVIAC3_2 || MGEODEGX1 |
362 | 366 | ||
363 | config X86_INTEL_USERCOPY | 367 | config X86_INTEL_USERCOPY |
364 | def_bool y | 368 | def_bool y |
diff --git a/arch/x86/Makefile_32.cpu b/arch/x86/Makefile_32.cpu index f2ee1abb1df9..86cee7b749e1 100644 --- a/arch/x86/Makefile_32.cpu +++ b/arch/x86/Makefile_32.cpu | |||
@@ -37,7 +37,7 @@ cflags-$(CONFIG_MATOM) += $(call cc-option,-march=atom,$(call cc-option,-march= | |||
37 | $(call cc-option,-mtune=atom,$(call cc-option,-mtune=generic)) | 37 | $(call cc-option,-mtune=atom,$(call cc-option,-mtune=generic)) |
38 | 38 | ||
39 | # AMD Elan support | 39 | # AMD Elan support |
40 | cflags-$(CONFIG_X86_ELAN) += -march=i486 | 40 | cflags-$(CONFIG_MELAN) += -march=i486 |
41 | 41 | ||
42 | # Geode GX1 support | 42 | # Geode GX1 support |
43 | cflags-$(CONFIG_MGEODEGX1) += -march=pentium-mmx | 43 | cflags-$(CONFIG_MGEODEGX1) += -march=pentium-mmx |
diff --git a/arch/x86/include/asm/module.h b/arch/x86/include/asm/module.h index 67763c5d8b4e..9eae7752ae9b 100644 --- a/arch/x86/include/asm/module.h +++ b/arch/x86/include/asm/module.h | |||
@@ -35,7 +35,7 @@ | |||
35 | #define MODULE_PROC_FAMILY "K7 " | 35 | #define MODULE_PROC_FAMILY "K7 " |
36 | #elif defined CONFIG_MK8 | 36 | #elif defined CONFIG_MK8 |
37 | #define MODULE_PROC_FAMILY "K8 " | 37 | #define MODULE_PROC_FAMILY "K8 " |
38 | #elif defined CONFIG_X86_ELAN | 38 | #elif defined CONFIG_MELAN |
39 | #define MODULE_PROC_FAMILY "ELAN " | 39 | #define MODULE_PROC_FAMILY "ELAN " |
40 | #elif defined CONFIG_MCRUSOE | 40 | #elif defined CONFIG_MCRUSOE |
41 | #define MODULE_PROC_FAMILY "CRUSOE " | 41 | #define MODULE_PROC_FAMILY "CRUSOE " |
diff --git a/arch/x86/kernel/cpu/cpufreq/Kconfig b/arch/x86/kernel/cpu/cpufreq/Kconfig index 870e6cc6ad28..0ab9b22557c4 100644 --- a/arch/x86/kernel/cpu/cpufreq/Kconfig +++ b/arch/x86/kernel/cpu/cpufreq/Kconfig | |||
@@ -43,7 +43,7 @@ config X86_ACPI_CPUFREQ | |||
43 | config ELAN_CPUFREQ | 43 | config ELAN_CPUFREQ |
44 | tristate "AMD Elan SC400 and SC410" | 44 | tristate "AMD Elan SC400 and SC410" |
45 | select CPU_FREQ_TABLE | 45 | select CPU_FREQ_TABLE |
46 | depends on X86_ELAN | 46 | depends on MELAN |
47 | ---help--- | 47 | ---help--- |
48 | This adds the CPUFreq driver for AMD Elan SC400 and SC410 | 48 | This adds the CPUFreq driver for AMD Elan SC400 and SC410 |
49 | processors. | 49 | processors. |
@@ -59,7 +59,7 @@ config ELAN_CPUFREQ | |||
59 | config SC520_CPUFREQ | 59 | config SC520_CPUFREQ |
60 | tristate "AMD Elan SC520" | 60 | tristate "AMD Elan SC520" |
61 | select CPU_FREQ_TABLE | 61 | select CPU_FREQ_TABLE |
62 | depends on X86_ELAN | 62 | depends on MELAN |
63 | ---help--- | 63 | ---help--- |
64 | This adds the CPUFreq driver for AMD Elan SC520 processor. | 64 | This adds the CPUFreq driver for AMD Elan SC520 processor. |
65 | 65 | ||