aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/Kconfig
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2012-01-29 20:58:21 -0500
committerGreg Ungerer <gerg@uclinux.org>2012-03-04 18:43:05 -0500
commit9657a87205a367bddd802cbf439531697597fd8b (patch)
treef3ec0099089044d9146168d9b74ac60aebb539c2 /arch/m68k/Kconfig
parent43dec91f4dbf4adbd2ffc9a86e34fa76ab1f5a05 (diff)
m68k: make support for FPU hardware configurable
The classic m68k code has always supported an FPU (although it may have been a software emulated one). The non-MMU m68k code has never supported FPU hardware. To help in merging common code create a configation setting that signifies if we are builing in FPU support or not. This switch, CONFIG_FPU, is set as per the current use cases. So it is always enabled if CONFIG_MMU is set, and disabled otherwise. With a little extra code it will be possible to disable it on the classic m68k platforms as well, and to enable it on non-MMU platforms that do have hardware FPU. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/Kconfig')
-rw-r--r--arch/m68k/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig
index 6f823dcc0d70..d318c606c888 100644
--- a/arch/m68k/Kconfig
+++ b/arch/m68k/Kconfig
@@ -7,6 +7,7 @@ config M68K
7 select GENERIC_IRQ_SHOW 7 select GENERIC_IRQ_SHOW
8 select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS 8 select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS
9 select GENERIC_CPU_DEVICES 9 select GENERIC_CPU_DEVICES
10 select FPU if MMU
10 11
11config RWSEM_GENERIC_SPINLOCK 12config RWSEM_GENERIC_SPINLOCK
12 bool 13 bool
@@ -64,6 +65,9 @@ config CPU_HAS_NO_MULDIV64
64config CPU_HAS_ADDRESS_SPACES 65config CPU_HAS_ADDRESS_SPACES
65 bool 66 bool
66 67
68config FPU
69 bool
70
67config HZ 71config HZ
68 int 72 int
69 default 1000 if CLEOPATRA 73 default 1000 if CLEOPATRA