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 | |
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')
-rw-r--r-- | arch/sh/Kconfig | 45 |
1 files changed, 17 insertions, 28 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index f645f8416f1c..538631ca10a6 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -21,8 +21,7 @@ config SUPERH64 | |||
21 | def_bool y if CPU_SH5 | 21 | def_bool y if CPU_SH5 |
22 | 22 | ||
23 | config RWSEM_GENERIC_SPINLOCK | 23 | config RWSEM_GENERIC_SPINLOCK |
24 | bool | 24 | def_bool y |
25 | default y | ||
26 | 25 | ||
27 | config RWSEM_XCHGADD_ALGORITHM | 26 | config RWSEM_XCHGADD_ALGORITHM |
28 | bool | 27 | bool |
@@ -32,24 +31,19 @@ config GENERIC_BUG | |||
32 | depends on BUG && SUPERH32 | 31 | depends on BUG && SUPERH32 |
33 | 32 | ||
34 | config GENERIC_FIND_NEXT_BIT | 33 | config GENERIC_FIND_NEXT_BIT |
35 | bool | 34 | def_bool y |
36 | default y | ||
37 | 35 | ||
38 | config GENERIC_HWEIGHT | 36 | config GENERIC_HWEIGHT |
39 | bool | 37 | def_bool y |
40 | default y | ||
41 | 38 | ||
42 | config GENERIC_HARDIRQS | 39 | config GENERIC_HARDIRQS |
43 | bool | 40 | def_bool y |
44 | default y | ||
45 | 41 | ||
46 | config GENERIC_IRQ_PROBE | 42 | config GENERIC_IRQ_PROBE |
47 | bool | 43 | def_bool y |
48 | default y | ||
49 | 44 | ||
50 | config GENERIC_CALIBRATE_DELAY | 45 | config GENERIC_CALIBRATE_DELAY |
51 | bool | 46 | def_bool y |
52 | default y | ||
53 | 47 | ||
54 | config GENERIC_IOMAP | 48 | config GENERIC_IOMAP |
55 | bool | 49 | bool |
@@ -80,20 +74,16 @@ config ARCH_MAY_HAVE_PC_FDC | |||
80 | bool | 74 | bool |
81 | 75 | ||
82 | config STACKTRACE_SUPPORT | 76 | config STACKTRACE_SUPPORT |
83 | bool | 77 | def_bool y |
84 | default y | ||
85 | 78 | ||
86 | config LOCKDEP_SUPPORT | 79 | config LOCKDEP_SUPPORT |
87 | bool | 80 | def_bool y |
88 | default y | ||
89 | 81 | ||
90 | config ARCH_HAS_ILOG2_U32 | 82 | config ARCH_HAS_ILOG2_U32 |
91 | bool | 83 | def_bool n |
92 | default n | ||
93 | 84 | ||
94 | config ARCH_HAS_ILOG2_U64 | 85 | config ARCH_HAS_ILOG2_U64 |
95 | bool | 86 | def_bool n |
96 | default n | ||
97 | 87 | ||
98 | config ARCH_NO_VIRT_TO_BUS | 88 | config ARCH_NO_VIRT_TO_BUS |
99 | def_bool y | 89 | def_bool y |
@@ -530,25 +520,25 @@ source "arch/sh/boards/magicpanelr2/Kconfig" | |||
530 | menu "Timer and clock configuration" | 520 | menu "Timer and clock configuration" |
531 | 521 | ||
532 | config SH_TMU | 522 | config SH_TMU |
533 | bool "TMU timer support" | 523 | def_bool y |
524 | prompt "TMU timer support" | ||
534 | depends on CPU_SH3 || CPU_SH4 | 525 | depends on CPU_SH3 || CPU_SH4 |
535 | select GENERIC_TIME | 526 | select GENERIC_TIME |
536 | select GENERIC_CLOCKEVENTS | 527 | select GENERIC_CLOCKEVENTS |
537 | default y | ||
538 | help | 528 | help |
539 | This enables the use of the TMU as the system timer. | 529 | This enables the use of the TMU as the system timer. |
540 | 530 | ||
541 | config SH_CMT | 531 | config SH_CMT |
542 | bool "CMT timer support" | 532 | def_bool y |
533 | prompt "CMT timer support" | ||
543 | depends on CPU_SH2 | 534 | depends on CPU_SH2 |
544 | default y | ||
545 | help | 535 | help |
546 | This enables the use of the CMT as the system timer. | 536 | This enables the use of the CMT as the system timer. |
547 | 537 | ||
548 | config SH_MTU2 | 538 | config SH_MTU2 |
549 | bool "MTU2 timer support" | 539 | def_bool n |
540 | prompt "MTU2 timer support" | ||
550 | depends on CPU_SH2A | 541 | depends on CPU_SH2A |
551 | default n | ||
552 | help | 542 | help |
553 | This enables the use of the MTU2 as the system timer. | 543 | This enables the use of the MTU2 as the system timer. |
554 | 544 | ||
@@ -612,9 +602,8 @@ source "arch/sh/drivers/Kconfig" | |||
612 | endmenu | 602 | endmenu |
613 | 603 | ||
614 | config ISA_DMA_API | 604 | config ISA_DMA_API |
615 | bool | 605 | def_bool y |
616 | depends on SH_MPC1211 | 606 | depends on SH_MPC1211 |
617 | default y | ||
618 | 607 | ||
619 | menu "Kernel features" | 608 | menu "Kernel features" |
620 | 609 | ||