m68k: make support for FPU hardware configurable
authorGreg Ungerer <gerg@uclinux.org>
Mon, 30 Jan 2012 01:58:21 +0000 (11:58 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Sun, 4 Mar 2012 23:43:05 +0000 (09:43 +1000)
commit9657a87205a367bddd802cbf439531697597fd8b
treef3ec0099089044d9146168d9b74ac60aebb539c2
parent43dec91f4dbf4adbd2ffc9a86e34fa76ab1f5a05
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>
arch/m68k/Kconfig