m68k: reorganize Kconfig options to improve mmu/non-mmu selections
[linux-2.6.git] / arch / m68k / Kconfig
1 config M68K
2         bool
3         default y
4         select HAVE_IDE
5         select HAVE_AOUT if MMU
6         select GENERIC_ATOMIC64 if MMU
7         select HAVE_GENERIC_HARDIRQS if !MMU
8         select GENERIC_IRQ_SHOW if !MMU
9         select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS
10
11 config RWSEM_GENERIC_SPINLOCK
12         bool
13         default y
14
15 config RWSEM_XCHGADD_ALGORITHM
16         bool
17
18 config ARCH_HAS_ILOG2_U32
19         bool
20
21 config ARCH_HAS_ILOG2_U64
22         bool
23
24 config GENERIC_CLOCKEVENTS
25         bool
26
27 config GENERIC_CMOS_UPDATE
28         def_bool !MMU
29
30 config GENERIC_GPIO
31         bool
32
33 config GENERIC_HWEIGHT
34         bool
35         default y
36
37 config GENERIC_CALIBRATE_DELAY
38         bool
39         default y
40
41 config GENERIC_IOMAP
42         def_bool MMU
43
44 config TIME_LOW_RES
45         bool
46         default y
47
48 config ARCH_USES_GETTIMEOFFSET
49         def_bool MMU
50
51 config NO_IOPORT
52         def_bool y
53
54 config NO_DMA
55         def_bool (MMU && SUN3) || (!MMU && !COLDFIRE)
56
57 config ZONE_DMA
58         bool
59         default y
60
61 config CPU_HAS_NO_BITFIELDS
62         bool
63
64 config HZ
65         int
66         default 1000 if CLEOPATRA
67         default 100
68
69 source "init/Kconfig"
70
71 source "kernel/Kconfig.freezer"
72
73 config MMU
74         bool "MMU-based Paged Memory Management Support"
75         default y
76         help
77           Select if you want MMU-based virtualised addressing space
78           support by paged memory management. If unsure, say 'Y'.
79
80 config MMU_MOTOROLA
81         bool
82
83 config MMU_SUN3
84         bool
85         depends on MMU && !MMU_MOTOROLA
86
87 menu "Platform setup"
88
89 source arch/m68k/Kconfig.cpu
90
91 source arch/m68k/Kconfig.machine
92
93 source arch/m68k/Kconfig.bus
94
95 endmenu
96
97 menu "Kernel Features"
98
99 if COLDFIRE
100 source "kernel/Kconfig.preempt"
101 endif
102
103 if !MMU || COLDFIRE
104 source "kernel/time/Kconfig"
105 endif
106
107 source "mm/Kconfig"
108
109 endmenu
110
111 menu "Executable file formats"
112
113 source "fs/Kconfig.binfmt"
114
115 endmenu
116
117 if !MMU
118 menu "Power management options"
119
120 config PM
121         bool "Power Management support"
122         help
123           Support processor power management modes
124
125 endmenu
126 endif
127
128 source "net/Kconfig"
129
130 source "drivers/Kconfig"
131
132 source "arch/m68k/Kconfig.devices"
133
134 source "fs/Kconfig"
135
136 source "arch/m68k/Kconfig.debug"
137
138 source "security/Kconfig"
139
140 source "crypto/Kconfig"
141
142 source "lib/Kconfig"