Commit d7ef4fb3 authored by Harvey Harrison's avatar Harvey Harrison Committed by Paul Mundt

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: default avatarHarvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 543d5afe
......@@ -21,8 +21,7 @@ config SUPERH64
def_bool y if CPU_SH5
config RWSEM_GENERIC_SPINLOCK
bool
default y
def_bool y
config RWSEM_XCHGADD_ALGORITHM
bool
......@@ -32,24 +31,19 @@ config GENERIC_BUG
depends on BUG && SUPERH32
config GENERIC_FIND_NEXT_BIT
bool
default y
def_bool y
config GENERIC_HWEIGHT
bool
default y
def_bool y
config GENERIC_HARDIRQS
bool
default y
def_bool y
config GENERIC_IRQ_PROBE
bool
default y
def_bool y
config GENERIC_CALIBRATE_DELAY
bool
default y
def_bool y
config GENERIC_IOMAP
bool
......@@ -80,20 +74,16 @@ config ARCH_MAY_HAVE_PC_FDC
bool
config STACKTRACE_SUPPORT
bool
default y
def_bool y
config LOCKDEP_SUPPORT
bool
default y
def_bool y
config ARCH_HAS_ILOG2_U32
bool
default n
def_bool n
config ARCH_HAS_ILOG2_U64
bool
default n
def_bool n
config ARCH_NO_VIRT_TO_BUS
def_bool y
......@@ -530,25 +520,25 @@ source "arch/sh/boards/magicpanelr2/Kconfig"
menu "Timer and clock configuration"
config SH_TMU
bool "TMU timer support"
def_bool y
prompt "TMU timer support"
depends on CPU_SH3 || CPU_SH4
select GENERIC_TIME
select GENERIC_CLOCKEVENTS
default y
help
This enables the use of the TMU as the system timer.
config SH_CMT
bool "CMT timer support"
def_bool y
prompt "CMT timer support"
depends on CPU_SH2
default y
help
This enables the use of the CMT as the system timer.
config SH_MTU2
bool "MTU2 timer support"
def_bool n
prompt "MTU2 timer support"
depends on CPU_SH2A
default n
help
This enables the use of the MTU2 as the system timer.
......@@ -612,9 +602,8 @@ source "arch/sh/drivers/Kconfig"
endmenu
config ISA_DMA_API
bool
def_bool y
depends on SH_MPC1211
default y
menu "Kernel features"
......
......@@ -16,9 +16,9 @@ config CPU_BIG_ENDIAN
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 @@ config SH64_FPU_DENORM_FLUSH
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 @@ config SH_DSP
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 @@ config SPECULATIVE_EXECUTION
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"
......
menu "Kernel hacking"
config TRACE_IRQFLAGS_SUPPORT
bool
default y
def_bool y
source "lib/Kconfig.debug"
......@@ -120,19 +119,19 @@ config COMPILE_OPTIONS
depends on MORE_COMPILE_OPTIONS
config KGDB_NMI
bool "Enter KGDB on NMI"
default n
def_bool n
prompt "Enter KGDB on NMI"
config SH_KGDB_CONSOLE
bool "Console messages through GDB"
def_bool n
prompt "Console messages through GDB"
depends on !SERIAL_SH_SCI_CONSOLE && SERIAL_SH_SCI=y
select SERIAL_CORE_CONSOLE
default n
config KGDB_SYSRQ
bool "Allow SysRq 'G' to enter KGDB"
def_bool y
prompt "Allow SysRq 'G' to enter KGDB"
depends on MAGIC_SYSRQ
default y
comment "Serial port setup"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment