x86: Fix selection of unsupported FLOAT/SSE Kconfig options
It makes more sense to have the x86 Kconfig options CPU_FLOAT_UNSUPPORTED and CPU_SSE_UNSUPPORTED to be selected by the CPU than have those options dependent upon the selected CPU. Change-Id: I862baabee6a81cc79206c37a50b8594354a40403 Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
This commit is contained in:
parent
4d092e9510
commit
9d5599af05
3 changed files with 5 additions and 4 deletions
|
@ -77,6 +77,7 @@ config CPU_ATOM
|
|||
|
||||
config CPU_MINUTEIA
|
||||
bool "Minute IA"
|
||||
select CPU_FLOAT_UNSUPPORTED
|
||||
help
|
||||
This option signifies the use of a CPU from the Minute IA family.
|
||||
endchoice
|
||||
|
@ -156,16 +157,14 @@ config CMOV
|
|||
the CMOV instruction.
|
||||
|
||||
config CPU_FLOAT_UNSUPPORTED
|
||||
def_bool y
|
||||
depends on CPU_MINUTEIA
|
||||
def_bool n
|
||||
select CPU_SSE_UNSUPPORTED
|
||||
help
|
||||
This option signifies the use of an Intel CPU that lacks support
|
||||
for floating point operations.
|
||||
|
||||
config CPU_SSE_UNSUPPORTED
|
||||
bool "CPU SSE unsupported"
|
||||
default n
|
||||
def_bool n
|
||||
help
|
||||
This option signifies the use of an Intel CPU that lacks support
|
||||
for SSEx instructions (i.e. those which pre-date Pentium III).
|
||||
|
|
|
@ -103,6 +103,7 @@ CONFIG_EOI_HANDLER_SUPPORTED=y
|
|||
#
|
||||
CONFIG_ISA_IA32=y
|
||||
CONFIG_CMOV=y
|
||||
# CONFIG_CPU_FLOAT_UNSUPPORTED is not set
|
||||
# CONFIG_CPU_SSE_UNSUPPORTED is not set
|
||||
CONFIG_CACHE_LINE_SIZE=64
|
||||
|
||||
|
|
|
@ -82,6 +82,7 @@ CONFIG_EOI_HANDLER_SUPPORTED=y
|
|||
#
|
||||
CONFIG_ISA_IA32=y
|
||||
CONFIG_CMOV=y
|
||||
# CONFIG_CPU_FLOAT_UNSUPPORTED is not set
|
||||
# CONFIG_CPU_SSE_UNSUPPORTED is not set
|
||||
CONFIG_CACHE_LINE_SIZE=64
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue