summaryrefslogtreecommitdiffstats
path: root/arch/sh/Kconfig
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-09-11 11:10:23 +0200
committerPaul Mundt <lethal@linux-sh.org>2007-09-21 04:57:53 +0200
commit1db4e9bb5682fd3fd3f37f7fe9c322e7c5bb7578 (patch)
tree6daaa0ceb4e8d6dd710a3286d25ec43109dfcfd0 /arch/sh/Kconfig
parentsh: dma: Fix CONFIG_SYSFS=n build. (diff)
downloadlinux-1db4e9bb5682fd3fd3f37f7fe9c322e7c5bb7578.tar.xz
linux-1db4e9bb5682fd3fd3f37f7fe9c322e7c5bb7578.zip
sh: Don't enable FPU for SH4AL-DSP.
This leads to invalid configurations where both FPU and DSP support can be enabled in the same kernel, resulting in build failure. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r--arch/sh/Kconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index c1214ccea009..f6d6ac308f69 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -118,7 +118,7 @@ endchoice
config SH_FPU
bool "FPU support"
- depends on CPU_SH4
+ depends on CPU_HAS_FPU
default y
help
Selecting this option will enable support for SH processors that
@@ -199,6 +199,9 @@ config CPU_HAS_PTEA
config CPU_HAS_DSP
bool
+config CPU_HAS_FPU
+ bool
+
endmenu
menu "Board support"