sh: Use def_bool where possible.
Change occurances of:
bool
default X
to:
def_bool X
Change ocurances of:
bool "Foo"
default X
to:
def_bool X
prompt "Foo"
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
diff --git a/arch/sh/Kconfig.cpu b/arch/sh/Kconfig.cpu
index ef39853..d850184 100644
--- a/arch/sh/Kconfig.cpu
+++ b/arch/sh/Kconfig.cpu
@@ -16,9 +16,9 @@
endchoice
config SH_FPU
- bool "FPU support"
+ def_bool y
+ prompt "FPU support"
depends on CPU_HAS_FPU
- default y
help
Selecting this option will enable support for SH processors that
have FPU units (ie, SH77xx).
@@ -30,18 +30,18 @@
depends on SH_FPU && SUPERH64
config SH_FPU_EMU
- bool "FPU emulation support"
+ def_bool n
+ prompt "FPU emulation support"
depends on !SH_FPU && EXPERIMENTAL
- default n
help
Selecting this option will enable support for software FPU emulation.
Most SH-3 users will want to say Y here, whereas most SH-4 users will
want to say N.
config SH_DSP
- bool "DSP support"
+ def_bool y
+ prompt "DSP support"
depends on CPU_HAS_DSP
- default y
help
Selecting this option will enable support for SH processors that
have DSP units (ie, SH2-DSP, SH3-DSP, and SH4AL-DSP).
@@ -49,9 +49,9 @@
This option must be set in order to enable the DSP.
config SH_ADC
- bool "ADC support"
+ def_bool y
+ prompt "ADC support"
depends on CPU_SH3
- default y
help
Selecting this option will allow the Linux kernel to use SH3 on-chip
ADC module.
@@ -76,9 +76,9 @@
If unsure, say N.
config SH64_USER_MISALIGNED_FIXUP
- bool "Fixup misaligned loads/stores occurring in user mode"
+ def_bool y
+ prompt "Fixup misaligned loads/stores occurring in user mode"
depends on SUPERH64
- default y
config SH64_ID2815_WORKAROUND
bool "Include workaround for SH5-101 cut2 silicon defect ID2815"