x86: Remove superfluous Kconfig dependencies

There is no need for any x86 Kconfig to have a dependency upon the following
Kconfig options as they are always true when building for ARCH=x86.
    X86_32
    ISA_IA32
    ARCH="x86"

Change-Id: I810e9712589199871953f043e8be746ab03230f8
Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
This commit is contained in:
Peter Mitsis 2015-07-29 14:37:10 -04:00 committed by Anas Nashif
commit 4d092e9510
2 changed files with 4 additions and 6 deletions

View file

@ -35,7 +35,7 @@ config X86_32
config ARCH_DEFCONFIG
string
default "arch/x86/defconfig" if X86_32
default "arch/x86/defconfig"
source "kernel/Kconfig"
@ -88,7 +88,7 @@ config CPU_MIGHT_SUPPORT_CLFLUSH
If a platform uses a processor that possibly implements CLFLUSH, change
the default in that platform's config file.
#FIXME This options is not being used in the current code base.
#FIXME This option is not being used in the current code base.
config CLFLUSH_INSTRUCTION_SUPPORTED
bool
prompt "CLFLUSH instruction supported" if CPU_MIGHT_SUPPORT_CLFLUSH
@ -144,8 +144,7 @@ menu "Specific CPU Capability Support"
config ISA_IA32
bool
default y if CPU_ATOM || CPU_MINUTEIA
default n
default y
help
This option signifies the use of a CPU based on the Intel IA-32
instruction set architecture.
@ -243,7 +242,7 @@ config SSE
config SSE_FP_MATH
bool
prompt "Compiler-generated SSEx instructions" if FP_SHARING
depends on SSE && ISA_IA32
depends on SSE
default n if FP_SHARING
default y if !FP_SHARING
help

View file

@ -31,7 +31,6 @@
#
menu "x86 Core Options"
depends on ARCH="x86"
config NO_ISRS
bool