Combine instrumentation menus in kernel/Kconfig.instrumentation
[linux-2.6-block.git] / arch / sh64 / Kconfig
CommitLineData
1da177e4
LT
1#
2# For a description of the syntax of this configuration file,
3# see Documentation/kbuild/config-language.txt.
4#
5
6mainmenu "Linux/SH64 Kernel Configuration"
7
8config SUPERH
9 bool
10 default y
11
12config SUPERH64
13 bool
14 default y
15
16config MMU
17 bool
18 default y
19
6c645ac7
PM
20config QUICKLIST
21 def_bool y
22
1da177e4
LT
23config RWSEM_GENERIC_SPINLOCK
24 bool
25 default y
26
62f1b246
AM
27config GENERIC_FIND_NEXT_BIT
28 bool
29 default y
30
31config GENERIC_HWEIGHT
32 bool
33 default y
34
1da177e4
LT
35config GENERIC_CALIBRATE_DELAY
36 bool
37 default y
38
8653fe49
PM
39config GENERIC_HARDIRQS
40 bool
41 default y
42
43config GENERIC_IRQ_PROBE
44 bool
45 default y
46
1da177e4
LT
47config RWSEM_XCHGADD_ALGORITHM
48 bool
49
f0d1b0b3
DH
50config ARCH_HAS_ILOG2_U32
51 bool
52 default n
53
54config ARCH_HAS_ILOG2_U64
55 bool
56 default n
57
75c46162
PM
58config ARCH_NO_VIRT_TO_BUS
59 def_bool y
60
1da177e4
LT
61source init/Kconfig
62
63menu "System type"
64
65choice
66 prompt "SuperH system type"
67 default SH_SIMULATOR
68
1da177e4
LT
69config SH_SIMULATOR
70 bool "Simulator"
71
72config SH_CAYMAN
73 bool "Cayman"
74
1da177e4
LT
75config SH_HARP
76 bool "ST50-Harp"
77
78endchoice
79
80choice
81 prompt "Processor family"
82 default CPU_SH5
83
84config CPU_SH5
85 bool "SH-5"
86
87endchoice
88
89choice
90 prompt "Processor type"
91
92config CPU_SUBTYPE_SH5_101
93 bool "SH5-101"
94 depends on CPU_SH5
95
96config CPU_SUBTYPE_SH5_103
97 bool "SH5-103"
98 depends on CPU_SH5
99
100endchoice
101
102choice
103 prompt "Endianness"
104 default LITTLE_ENDIAN
105
106config LITTLE_ENDIAN
107 bool "Little-Endian"
108
109config BIG_ENDIAN
110 bool "Big-Endian"
111
112endchoice
113
114config SH_FPU
115 bool "FPU support"
116 default y
117
118config SH64_FPU_DENORM_FLUSH
119 depends on SH_FPU
120 bool "Flush floating point denorms to zero"
121
122choice
123 prompt "Page table levels"
124 default SH64_PGTABLE_2_LEVEL
125
126config SH64_PGTABLE_2_LEVEL
127 bool "2"
128
129config SH64_PGTABLE_3_LEVEL
130 bool "3"
131
132endchoice
133
134choice
135 prompt "HugeTLB page size"
136 depends on HUGETLB_PAGE && MMU
137 default HUGETLB_PAGE_SIZE_64K
138
139config HUGETLB_PAGE_SIZE_64K
140 bool "64K"
141
142config HUGETLB_PAGE_SIZE_1MB
143 bool "1MB"
144
145config HUGETLB_PAGE_SIZE_512MB
146 bool "512MB"
147
148endchoice
149
150config SH64_USER_MISALIGNED_FIXUP
151 bool "Fixup misaligned loads/stores occurring in user mode"
152
153comment "Memory options"
154
155config CACHED_MEMORY_OFFSET
156 hex "Cached Area Offset"
1da177e4
LT
157 default "20000000"
158
159config MEMORY_START
160 hex "Physical memory start address"
1da177e4
LT
161 default "80000000"
162
163config MEMORY_SIZE_IN_MB
8653fe49 164 int "Memory size (in MB)"
1da177e4 165 default "8" if SH_SIMULATOR
8653fe49 166 default "64"
1da177e4
LT
167
168comment "Cache options"
169
1da177e4
LT
170choice
171 prompt "DCache mode"
8653fe49 172 default DCACHE_DISABLED if SH_SIMULATOR
1da177e4
LT
173 default DCACHE_WRITE_BACK
174
175config DCACHE_WRITE_BACK
176 bool "Write-back"
8653fe49 177 depends on !SH_SIMULATOR
1da177e4
LT
178
179config DCACHE_WRITE_THROUGH
180 bool "Write-through"
8653fe49
PM
181 depends on !SH_SIMULATOR
182
183config DCACHE_DISABLED
184 bool "Disabled"
1da177e4
LT
185
186endchoice
187
188config ICACHE_DISABLED
189 bool "ICache Disabling"
1da177e4
LT
190
191config PCIDEVICE_MEMORY_START
192 hex
1da177e4
LT
193 default "C0000000"
194
195config DEVICE_MEMORY_START
196 hex
1da177e4
LT
197 default "E0000000"
198
199config FLASH_MEMORY_START
200 hex "Flash memory/on-chip devices start address"
1da177e4
LT
201 default "00000000"
202
203config PCI_BLOCK_START
204 hex "PCI block start address"
1da177e4
LT
205 default "40000000"
206
207comment "CPU Subtype specific options"
208
209config SH64_ID2815_WORKAROUND
210 bool "Include workaround for SH5-101 cut2 silicon defect ID2815"
211
212comment "Misc options"
8653fe49 213
1da177e4
LT
214config HEARTBEAT
215 bool "Heartbeat LED"
8653fe49 216 depends on SH_CAYMAN
1da177e4
LT
217
218config HDSP253_LED
219 bool "Support for HDSP-253 LED"
220 depends on SH_CAYMAN
221
222config SH_DMA
223 tristate "DMA controller (DMAC) support"
224
225config PREEMPT
226 bool "Preemptible Kernel (EXPERIMENTAL)"
227 depends on EXPERIMENTAL
228
3f22ab27
DH
229source "mm/Kconfig"
230
1da177e4
LT
231endmenu
232
233menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
234
235config ISA
236 bool
237
238config SBUS
239 bool
240
241config PCI
242 bool "PCI support"
8653fe49 243 depends on SH_CAYMAN
1da177e4
LT
244 help
245 Find out whether you have a PCI motherboard. PCI is the name of a
246 bus system, i.e. the way the CPU talks to the other stuff inside
247 your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
248 VESA. If you have PCI, say Y, otherwise N.
249
250 The PCI-HOWTO, available from
251 <http://www.tldp.org/docs.html#howto>, contains valuable
252 information about which PCI hardware does work under Linux and which
253 doesn't.
254
255config SH_PCIDMA_NONCOHERENT
256 bool "Cache and PCI noncoherent"
257 depends on PCI
258 default y
259 help
260 Enable this option if your platform does not have a CPU cache which
261 remains coherent with PCI DMA. It is safest to say 'Y', although you
262 will see better performance if you can say 'N', because the PCI DMA
263 code will not have to flush the CPU's caches. If you have a PCI host
264 bridge integrated with your SH CPU, refer carefully to the chip specs
265 to see if you can say 'N' here. Otherwise, leave it as 'Y'.
266
267source "drivers/pci/Kconfig"
268
269source "drivers/pcmcia/Kconfig"
270
271source "drivers/pci/hotplug/Kconfig"
272
273endmenu
274
275menu "Executable file formats"
276
277source "fs/Kconfig.binfmt"
278
279endmenu
280
d5950b43
SR
281source "net/Kconfig"
282
1da177e4
LT
283source "drivers/Kconfig"
284
285source "fs/Kconfig"
286
09cadedb 287source "kernel/Kconfig.instrumentation"
1da177e4
LT
288
289source "arch/sh64/Kconfig.debug"
290
291source "security/Kconfig"
292
293source "crypto/Kconfig"
294
295source "lib/Kconfig"