summaryrefslogtreecommitdiff
path: root/arch/openrisc/Kconfig
diff options
context:
space:
mode:
authorStafford Horne <shorne@gmail.com>2024-03-30 17:54:51 +0300
committerStafford Horne <shorne@gmail.com>2024-04-15 17:20:39 +0300
commit1f33446d0efb101eafad92daf08f711f60daae1a (patch)
tree07e64552d54db09d4402e54e5ea81a6bd94b3e0e /arch/openrisc/Kconfig
parentc88cfb5cea5f8f9868ef02cc9ce9183a26dcf20f (diff)
downloadlinux-1f33446d0efb101eafad92daf08f711f60daae1a.tar.xz
openrisc: Add FPU config
Allow disabling FPU related code sequences to save space. Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'arch/openrisc/Kconfig')
-rw-r--r--arch/openrisc/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig
index 3586cda55bde..69c0258700b2 100644
--- a/arch/openrisc/Kconfig
+++ b/arch/openrisc/Kconfig
@@ -188,6 +188,15 @@ config SMP
If you don't know what to do here, say N.
+config FPU
+ bool "FPU support"
+ default y
+ help
+ Say N here if you want to disable all floating-point related procedures
+ in the kernel and reduce binary size.
+
+ If you don't know what to do here, say Y.
+
source "kernel/Kconfig.hz"
config OPENRISC_NO_SPR_SR_DSX