diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2007-12-10 23:49:35 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-01-27 23:19:00 -0500 |
commit | d7ef4fb3acd1c1b141202c728ab3a78140a44eb7 (patch) | |
tree | 5fe3e2364b9c9de10f1b44eb0d14adcffec3f203 /arch/sh/Kconfig.cpu | |
parent | 543d5afe5b425ef25a865656bfb76083515dc1cf (diff) |
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>
Diffstat (limited to 'arch/sh/Kconfig.cpu')
-rw-r--r-- | arch/sh/Kconfig.cpu | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/arch/sh/Kconfig.cpu b/arch/sh/Kconfig.cpu index ef398535caf8..d850184d0694 100644 --- a/arch/sh/Kconfig.cpu +++ b/arch/sh/Kconfig.cpu | |||
@@ -16,9 +16,9 @@ config CPU_BIG_ENDIAN | |||
16 | endchoice | 16 | endchoice |
17 | 17 | ||
18 | config SH_FPU | 18 | config SH_FPU |
19 | bool "FPU support" | 19 | def_bool y |
20 | prompt "FPU support" | ||
20 | depends on CPU_HAS_FPU | 21 | depends on CPU_HAS_FPU |
21 | default y | ||
22 | help | 22 | help |
23 | Selecting this option will enable support for SH processors that | 23 | Selecting this option will enable support for SH processors that |
24 | have FPU units (ie, SH77xx). | 24 | have FPU units (ie, SH77xx). |
@@ -30,18 +30,18 @@ config SH64_FPU_DENORM_FLUSH | |||
30 | depends on SH_FPU && SUPERH64 | 30 | depends on SH_FPU && SUPERH64 |
31 | 31 | ||
32 | config SH_FPU_EMU | 32 | config SH_FPU_EMU |
33 | bool "FPU emulation support" | 33 | def_bool n |
34 | prompt "FPU emulation support" | ||
34 | depends on !SH_FPU && EXPERIMENTAL | 35 | depends on !SH_FPU && EXPERIMENTAL |
35 | default n | ||
36 | help | 36 | help |
37 | Selecting this option will enable support for software FPU emulation. | 37 | Selecting this option will enable support for software FPU emulation. |
38 | Most SH-3 users will want to say Y here, whereas most SH-4 users will | 38 | Most SH-3 users will want to say Y here, whereas most SH-4 users will |
39 | want to say N. | 39 | want to say N. |
40 | 40 | ||
41 | config SH_DSP | 41 | config SH_DSP |
42 | bool "DSP support" | 42 | def_bool y |
43 | prompt "DSP support" | ||
43 | depends on CPU_HAS_DSP | 44 | depends on CPU_HAS_DSP |
44 | default y | ||
45 | help | 45 | help |
46 | Selecting this option will enable support for SH processors that | 46 | Selecting this option will enable support for SH processors that |
47 | have DSP units (ie, SH2-DSP, SH3-DSP, and SH4AL-DSP). | 47 | have DSP units (ie, SH2-DSP, SH3-DSP, and SH4AL-DSP). |
@@ -49,9 +49,9 @@ config SH_DSP | |||
49 | This option must be set in order to enable the DSP. | 49 | This option must be set in order to enable the DSP. |
50 | 50 | ||
51 | config SH_ADC | 51 | config SH_ADC |
52 | bool "ADC support" | 52 | def_bool y |
53 | prompt "ADC support" | ||
53 | depends on CPU_SH3 | 54 | depends on CPU_SH3 |
54 | default y | ||
55 | help | 55 | help |
56 | Selecting this option will allow the Linux kernel to use SH3 on-chip | 56 | Selecting this option will allow the Linux kernel to use SH3 on-chip |
57 | ADC module. | 57 | ADC module. |
@@ -76,9 +76,9 @@ config SPECULATIVE_EXECUTION | |||
76 | If unsure, say N. | 76 | If unsure, say N. |
77 | 77 | ||
78 | config SH64_USER_MISALIGNED_FIXUP | 78 | config SH64_USER_MISALIGNED_FIXUP |
79 | bool "Fixup misaligned loads/stores occurring in user mode" | 79 | def_bool y |
80 | prompt "Fixup misaligned loads/stores occurring in user mode" | ||
80 | depends on SUPERH64 | 81 | depends on SUPERH64 |
81 | default y | ||
82 | 82 | ||
83 | config SH64_ID2815_WORKAROUND | 83 | config SH64_ID2815_WORKAROUND |
84 | bool "Include workaround for SH5-101 cut2 silicon defect ID2815" | 84 | bool "Include workaround for SH5-101 cut2 silicon defect ID2815" |