diff options
author | Paul Burton <paul.burton@mips.com> | 2018-11-07 23:14:02 +0000 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2018-11-09 10:23:15 -0800 |
commit | c92e47e585a92cdd42147bf1d0675a4ab1c928ce (patch) | |
tree | 3bb29c33da7ba97357a22c989f0daf31bd6ddb89 /arch/mips/Kconfig | |
parent | 97f7dcbf279ada9a25f36666420a72ebbc0101df (diff) |
MIPS: Introduce CONFIG_MIPS_FP_SUPPORT
Introduce a Kconfig variable that will indicate whether to include
support for floating point in the kernel. For now this is always
enabled, and will be made configurable in a later patch.
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/21016/
Cc: linux-mips@linux-mips.org
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r-- | arch/mips/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index b3f36c2c759d..5ea3dc4770ed 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -2255,12 +2255,17 @@ config CPU_GENERIC_DUMP_TLB bool default y if !(CPU_R3000 || CPU_R8000 || CPU_TX39XX) +config MIPS_FP_SUPPORT + def_bool y + config CPU_R2300_FPU bool + depends on MIPS_FP_SUPPORT default y if CPU_R3000 || CPU_TX39XX config CPU_R4K_FPU bool + depends on MIPS_FP_SUPPORT default y if !CPU_R2300_FPU config CPU_R4K_CACHE_TLB @@ -2313,6 +2318,7 @@ config MIPS_MT_FPAFF config MIPSR2_TO_R6_EMULATOR bool "MIPS R2-to-R6 emulator" depends on CPU_MIPSR6 + depends on MIPS_FP_SUPPORT default y help Choose this option if you want to run non-R6 MIPS userland code. @@ -2460,6 +2466,7 @@ endchoice config CPU_HAS_MSA bool "Support for the MIPS SIMD Architecture" depends on CPU_SUPPORTS_MSA + depends on MIPS_FP_SUPPORT depends on 64BIT || MIPS_O32_FP64_SUPPORT help MIPS SIMD Architecture (MSA) introduces 128 bit wide vector registers |