Blame view

arch/sh/Kconfig 20.4 KB
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1
2
3
4
5
6
7
8
  #
  # For a description of the syntax of this configuration file,
  # see Documentation/kbuild/kconfig-language.txt.
  #
  
  mainmenu "Linux/SuperH Kernel Configuration"
  
  config SUPERH
ea0e1a9a3   Paul Mundt   sh: Consolidate K...
9
  	def_bool y
7a440c950   Paul Mundt   sh: select CONFIG...
10
  	select EMBEDDED
9483a578d   David Brownell   add HAVE_CLK to K...
11
  	select HAVE_CLK
86e4dd5ad   Paul Mundt   sh: support for p...
12
  	select HAVE_IDE if HAS_IOPORT
95f72d1ed   Yinghai Lu   lmb: rename to me...
13
  	select HAVE_MEMBLOCK
42d4b839c   Mathieu Desnoyers   Add HAVE_OPROFILE
14
  	select HAVE_OPROFILE
9de90ac27   Dmitry Eremin-Solenikov   Sh: use generic p...
15
  	select HAVE_GENERIC_DMA_COHERENT
d7b01f78a   Paul Mundt   sh: Enable HAVE_A...
16
  	select HAVE_ARCH_TRACEHOOK
f802d969b   Paul Mundt   sh: Add support f...
17
  	select HAVE_DMA_API_DEBUG
73c926bee   Paul Mundt   sh: Convert to as...
18
  	select HAVE_DMA_ATTRS
cdd6c482c   Ingo Molnar   perf: Do the big ...
19
  	select HAVE_PERF_EVENTS
72f0c137a   Paul Mundt   sh: enable PERF_U...
20
  	select PERF_USE_VMALLOC
df8ce2595   Paul Mundt   sh: Tidy up gzip-...
21
  	select HAVE_KERNEL_GZIP
07e88e1bf   Paul Mundt   sh: bzip2/lzma zI...
22
23
  	select HAVE_KERNEL_BZIP2
  	select HAVE_KERNEL_LZMA
c7b16efb7   Paul Mundt   sh: Add support f...
24
  	select HAVE_KERNEL_LZO
a74f7e041   Paul Mundt   sh: Wire up HAVE_...
25
  	select HAVE_SYSCALL_TRACEPOINTS
6eac1af01   Paul Mundt   sh: Always select...
26
  	select RTC_LIB
f01789c68   Paul Mundt   sh: Use generic a...
27
  	select GENERIC_ATOMIC64
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
28
29
30
31
32
  	help
  	  The SuperH is a RISC processor targeted for use in embedded systems
  	  and consumer electronics; it was also used in the Sega Dreamcast
  	  gaming console.  The SuperH port has a home page at
  	  <http://www.linux-sh.org/>.
39d28a2db   Paul Mundt   sh: Add a SUPERH3...
33
  config SUPERH32
3cc000b58   Paul Mundt   sh: Plug in suppo...
34
  	def_bool ARCH = "sh"
d39f54501   Chris Smith   sh: Add kprobes s...
35
36
  	select HAVE_KPROBES
  	select HAVE_KRETPROBES
6d63e73d5   Paul Mundt   sh: Limit ioremap...
37
  	select HAVE_IOREMAP_PROT if MMU && !X2TLB
694f94f26   Paul Mundt   sh: FTRACE rename...
38
  	select HAVE_FUNCTION_TRACER
fad57feba   Matt Fleming   sh: dynamic ftrac...
39
40
  	select HAVE_FTRACE_MCOUNT_RECORD
  	select HAVE_DYNAMIC_FTRACE
c1340c053   Matt Fleming   sh: Define HAVE_F...
41
  	select HAVE_FUNCTION_TRACE_MCOUNT_TEST
e4b053d96   Paul Mundt   sh: ftrace: Make ...
42
  	select HAVE_FTRACE_NMI_ENTER if DYNAMIC_FTRACE
327933f5d   Matt Fleming   sh: Function grap...
43
  	select HAVE_FUNCTION_GRAPH_TRACER
ab6e570ba   Paul Mundt   sh: Generic kgdb ...
44
  	select HAVE_ARCH_KGDB
6fbfe8d7c   Paul Mundt   sh: select HAVE_H...
45
  	select HAVE_HW_BREAKPOINT
0102752e4   Frederic Weisbecker   hw-breakpoints: S...
46
  	select HAVE_MIXED_BREAKPOINTS_REGS
6c0ee6a4b   Paul Mundt   sh: hw-breakpoint...
47
  	select PERF_EVENTS if HAVE_HW_BREAKPOINT
8dafc3461   Paul Mundt   sh: Select ARCH_H...
48
  	select ARCH_HIBERNATION_POSSIBLE if MMU
ea0e1a9a3   Paul Mundt   sh: Consolidate K...
49
50
  
  config SUPERH64
3cc000b58   Paul Mundt   sh: Plug in suppo...
51
  	def_bool ARCH = "sh64"
39d28a2db   Paul Mundt   sh: Add a SUPERH3...
52

f42b7e3db   Paul Mundt   sh: Add ARCH_DEFC...
53
54
55
56
  config ARCH_DEFCONFIG
  	string
  	default "arch/sh/configs/shx3_defconfig" if SUPERH32
  	default "arch/sh/configs/cayman_defconfig" if SUPERH64
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
57
  config RWSEM_GENERIC_SPINLOCK
d7ef4fb3a   Harvey Harrison   sh: Use def_bool ...
58
  	def_bool y
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
59
60
61
  
  config RWSEM_XCHGADD_ALGORITHM
  	bool
fa6915117   Paul Mundt   sh: generic BUG()...
62
63
  config GENERIC_BUG
  	def_bool y
a82d53ec2   Paul Mundt   sh: Generic BUG o...
64
  	depends on BUG && SUPERH32
fa6915117   Paul Mundt   sh: generic BUG()...
65

3767f3f1e   Paul Mundt   sh: Convert sh64 ...
66
67
68
  config GENERIC_CSUM
  	def_bool y
  	depends on SUPERH64
e2268c712   Akinobu Mita   [PATCH] bitops: s...
69
  config GENERIC_FIND_NEXT_BIT
d7ef4fb3a   Harvey Harrison   sh: Use def_bool ...
70
  	def_bool y
e2268c712   Akinobu Mita   [PATCH] bitops: s...
71
72
  
  config GENERIC_HWEIGHT
d7ef4fb3a   Harvey Harrison   sh: Use def_bool ...
73
  	def_bool y
e2268c712   Akinobu Mita   [PATCH] bitops: s...
74

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
75
  config GENERIC_HARDIRQS
d7ef4fb3a   Harvey Harrison   sh: Use def_bool ...
76
  	def_bool y
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
77

5093c9a4e   Paul Mundt   sh: define GENERI...
78
79
  config GENERIC_HARDIRQS_NO__DO_IRQ
  	def_bool y
2eb2a4368   Paul Mundt   sh: SH7786 SMP su...
80
81
  config IRQ_PER_CPU
  	def_bool y
4b842c857   Paul Mundt   sh: enable sparse...
82
83
84
  config SPARSE_IRQ
  	def_bool y
  	depends on SUPERH32
2967dab1a   Magnus Damm   sh: GPIO and pinm...
85
86
  config GENERIC_GPIO
  	def_bool n
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
87
  config GENERIC_CALIBRATE_DELAY
cf204fa79   Paul Mundt   sh: Derive calibr...
88
  	bool
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
89

cad824484   Paul Mundt   [PATCH] sh: Move ...
90
91
  config GENERIC_IOMAP
  	bool
57be2b484   Paul Mundt   sh: clockevent/cl...
92
  config GENERIC_CLOCKEVENTS
938edae11   Paul Mundt   sh: select both G...
93
  	def_bool y
57be2b484   Paul Mundt   sh: clockevent/cl...
94

8c24594de   Paul Mundt   sh: generic clock...
95
96
  config GENERIC_CLOCKEVENTS_BROADCAST
  	bool
6d134b9e8   Paul Mundt   sh: Wire up GENER...
97
98
99
  config GENERIC_CMOS_UPDATE
  	def_bool y
  	depends on SH_SH03 || SH_DREAMCAST
bdcab87b1   Paul Mundt   sh: define GENERI...
100
101
102
  config GENERIC_LOCKBREAK
  	def_bool y
  	depends on SMP && PREEMPT
357d59469   Paul Mundt   sh: Tidy up depen...
103
104
  config SYS_SUPPORTS_PM
  	bool
af998a9a0   Magnus Damm   sh: allow CONFIG_PM
105
106
107
108
109
110
111
  	depends on !SMP
  
  config ARCH_SUSPEND_POSSIBLE
  	def_bool n
  
  config ARCH_HIBERNATION_POSSIBLE
  	def_bool n
357d59469   Paul Mundt   sh: Tidy up depen...
112

0a9b0db19   Paul Mundt   [APM] SH: Convert...
113
114
  config SYS_SUPPORTS_APM_EMULATION
  	bool
af998a9a0   Magnus Damm   sh: allow CONFIG_PM
115
  	select ARCH_SUSPEND_POSSIBLE
357d59469   Paul Mundt   sh: Tidy up depen...
116

ffb4a73d8   Paul Mundt   sh: Fix hugetlbfs...
117
118
  config SYS_SUPPORTS_HUGETLBFS
  	bool
357d59469   Paul Mundt   sh: Tidy up depen...
119
120
121
122
123
124
125
126
  config SYS_SUPPORTS_SMP
  	bool
  
  config SYS_SUPPORTS_NUMA
  	bool
  
  config SYS_SUPPORTS_PCI
  	bool
0a9b0db19   Paul Mundt   [APM] SH: Convert...
127

f5ad881b4   Paul Mundt   sh: Use SYS_SUPPO...
128
129
  config SYS_SUPPORTS_CMT
  	bool
d5ed4c2e5   Magnus Damm   clocksource: Supe...
130
131
  config SYS_SUPPORTS_MTU2
  	bool
9570ef204   Magnus Damm   clocksource: Supe...
132
133
  config SYS_SUPPORTS_TMU
  	bool
afbfb52e4   Paul Mundt   sh: stacktrace/lo...
134
  config STACKTRACE_SUPPORT
d7ef4fb3a   Harvey Harrison   sh: Use def_bool ...
135
  	def_bool y
afbfb52e4   Paul Mundt   sh: stacktrace/lo...
136
137
  
  config LOCKDEP_SUPPORT
d7ef4fb3a   Harvey Harrison   sh: Use def_bool ...
138
  	def_bool y
afbfb52e4   Paul Mundt   sh: stacktrace/lo...
139

5a89f1adb   Paul Mundt   sh: latencytop su...
140
141
  config HAVE_LATENCYTOP_SUPPORT
  	def_bool y
5a89f1adb   Paul Mundt   sh: latencytop su...
142

f0d1b0b30   David Howells   [PATCH] LOG2: Imp...
143
  config ARCH_HAS_ILOG2_U32
d7ef4fb3a   Harvey Harrison   sh: Use def_bool ...
144
  	def_bool n
f0d1b0b30   David Howells   [PATCH] LOG2: Imp...
145
146
  
  config ARCH_HAS_ILOG2_U64
d7ef4fb3a   Harvey Harrison   sh: Use def_bool ...
147
  	def_bool n
f0d1b0b30   David Howells   [PATCH] LOG2: Imp...
148

e257ad062   Paul Mundt   sh: Kill off virt...
149
150
  config ARCH_NO_VIRT_TO_BUS
  	def_bool y
e869a90ee   Paul Mundt   sh: Wire up ARCH_...
151
152
  config ARCH_HAS_DEFAULT_IDLE
  	def_bool y
2e046b948   Paul Mundt   sh: Provide cpu_i...
153
154
  config ARCH_HAS_CPU_IDLE_WAIT
  	def_bool y
86e4dd5ad   Paul Mundt   sh: support for p...
155
156
  config NO_IOPORT
  	bool
e7cc9a734   Magnus Damm   sh: trapped io su...
157
158
  config IO_TRAPPED
  	bool
01be5d63f   Paul Mundt   sh: Revamp PCI DM...
159
160
161
162
163
  config DMA_COHERENT
  	bool
  
  config DMA_NONCOHERENT
  	def_bool !DMA_COHERENT
5cabbb627   FUJITA Tomonori   pci-dma: sh: use ...
164
165
  config NEED_DMA_MAP_STATE
  	def_bool DMA_NONCOHERENT
18e98307d   FUJITA Tomonori   asm-generic: add ...
166
167
  config NEED_SG_DMA_LENGTH
  	def_bool y
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
168
  source "init/Kconfig"
dc52ddc0e   Matt Helsley   container freezer...
169
  source "kernel/Kconfig.freezer"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
170
  menu "System type"
b5f42db0a   Paul Mundt   sh: Move CPU subt...
171
172
173
174
175
176
177
178
179
180
181
182
183
184
  #
  # Processor families
  #
  config CPU_SH2
  	bool
  
  config CPU_SH2A
  	bool
  	select CPU_SH2
  
  config CPU_SH3
  	bool
  	select CPU_HAS_INTEVT
  	select CPU_HAS_SR_RB
4fa48e177   Paul Mundt   sh: Enable new TM...
185
  	select SYS_SUPPORTS_TMU
b5f42db0a   Paul Mundt   sh: Move CPU subt...
186
187
188
189
190
  
  config CPU_SH4
  	bool
  	select CPU_HAS_INTEVT
  	select CPU_HAS_SR_RB
b5f42db0a   Paul Mundt   sh: Move CPU subt...
191
  	select CPU_HAS_FPU if !CPU_SH4AL_DSP
4fa48e177   Paul Mundt   sh: Enable new TM...
192
  	select SYS_SUPPORTS_TMU
ffb4a73d8   Paul Mundt   sh: Fix hugetlbfs...
193
  	select SYS_SUPPORTS_HUGETLBFS if MMU
b5f42db0a   Paul Mundt   sh: Move CPU subt...
194
195
196
197
198
199
200
201
202
  
  config CPU_SH4A
  	bool
  	select CPU_SH4
  
  config CPU_SH4AL_DSP
  	bool
  	select CPU_SH4A
  	select CPU_HAS_DSP
ea0e1a9a3   Paul Mundt   sh: Consolidate K...
203
204
205
  config CPU_SH5
  	bool
  	select CPU_HAS_FPU
add47067a   Paul Mundt   sh: Finish the sh...
206
  	select SYS_SUPPORTS_TMU
ffb4a73d8   Paul Mundt   sh: Fix hugetlbfs...
207
  	select SYS_SUPPORTS_HUGETLBFS if MMU
ea0e1a9a3   Paul Mundt   sh: Consolidate K...
208

b5f42db0a   Paul Mundt   sh: Move CPU subt...
209
210
211
212
213
  config CPU_SHX2
  	bool
  
  config CPU_SHX3
  	bool
01be5d63f   Paul Mundt   sh: Revamp PCI DM...
214
  	select DMA_COHERENT
4b478ee2a   Paul Mundt   sh: All SH-X3 cor...
215
216
  	select SYS_SUPPORTS_SMP
  	select SYS_SUPPORTS_NUMA
b5f42db0a   Paul Mundt   sh: Move CPU subt...
217

dc65a977c   Paul Mundt   sh: Define ARCH_S...
218
219
  config ARCH_SHMOBILE
  	bool
775949127   Magnus Damm   sh: SuperH Mobile...
220
  	select ARCH_SUSPEND_POSSIBLE
ac2c596b5   Magnus Damm   sh: let ARCH_SHMO...
221
222
  	select PM
  	select PM_RUNTIME
dc65a977c   Paul Mundt   sh: Define ARCH_S...
223

86c8c0479   Matt Fleming   sh: oprofile: Use...
224
225
226
227
  config CPU_HAS_PMU
         depends on CPU_SH4 || CPU_SH4A
         default y
         bool
3cc000b58   Paul Mundt   sh: Plug in suppo...
228
  if SUPERH32
b5f42db0a   Paul Mundt   sh: Move CPU subt...
229
230
231
232
233
234
235
236
237
238
239
240
  choice
  	prompt "Processor sub-type selection"
  
  #
  # Processor subtypes
  #
  
  # SH-2 Processor Support
  
  config CPU_SUBTYPE_SH7619
  	bool "Support SH7619 processor"
  	select CPU_SH2
f5ad881b4   Paul Mundt   sh: Use SYS_SUPPO...
241
  	select SYS_SUPPORTS_CMT
b5f42db0a   Paul Mundt   sh: Move CPU subt...
242
243
  
  # SH-2A Processor Support
2825999e8   Peter Griffin   sh: Add support f...
244
245
246
247
  config CPU_SUBTYPE_SH7201
  	bool "Support SH7201 processor"
  	select CPU_SH2A
  	select CPU_HAS_FPU
da107c6ef   Magnus Damm   sh: sh2a MTU2 pla...
248
  	select SYS_SUPPORTS_MTU2
2825999e8   Peter Griffin   sh: Add support f...
249
   
6d01f5108   Paul Mundt   sh: Add SH7203 CP...
250
251
252
  config CPU_SUBTYPE_SH7203
  	bool "Support SH7203 processor"
  	select CPU_SH2A
74d99a5e2   Paul Mundt   sh: SH-2A FPU sup...
253
  	select CPU_HAS_FPU
f5ad881b4   Paul Mundt   sh: Use SYS_SUPPO...
254
  	select SYS_SUPPORTS_CMT
da107c6ef   Magnus Damm   sh: sh2a MTU2 pla...
255
  	select SYS_SUPPORTS_MTU2
6d01f5108   Paul Mundt   sh: Add SH7203 CP...
256

b5f42db0a   Paul Mundt   sh: Move CPU subt...
257
258
259
  config CPU_SUBTYPE_SH7206
  	bool "Support SH7206 processor"
  	select CPU_SH2A
f5ad881b4   Paul Mundt   sh: Use SYS_SUPPO...
260
  	select SYS_SUPPORTS_CMT
da107c6ef   Magnus Damm   sh: sh2a MTU2 pla...
261
  	select SYS_SUPPORTS_MTU2
b5f42db0a   Paul Mundt   sh: Move CPU subt...
262

a8f67f4b4   Paul Mundt   sh: Add SH7263 CP...
263
264
265
  config CPU_SUBTYPE_SH7263
  	bool "Support SH7263 processor"
  	select CPU_SH2A
74d99a5e2   Paul Mundt   sh: SH-2A FPU sup...
266
  	select CPU_HAS_FPU
f5ad881b4   Paul Mundt   sh: Use SYS_SUPPO...
267
  	select SYS_SUPPORTS_CMT
da107c6ef   Magnus Damm   sh: sh2a MTU2 pla...
268
  	select SYS_SUPPORTS_MTU2
a8f67f4b4   Paul Mundt   sh: Add SH7263 CP...
269

2ad699080   Paul Mundt   sh: Initial suppo...
270
271
272
  config CPU_SUBTYPE_MXG
  	bool "Support MX-G processor"
  	select CPU_SH2A
da107c6ef   Magnus Damm   sh: sh2a MTU2 pla...
273
  	select SYS_SUPPORTS_MTU2
2ad699080   Paul Mundt   sh: Initial suppo...
274
275
  	help
  	  Select MX-G if running on an R8A03022BG part.
b5f42db0a   Paul Mundt   sh: Move CPU subt...
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
  # SH-3 Processor Support
  
  config CPU_SUBTYPE_SH7705
  	bool "Support SH7705 processor"
  	select CPU_SH3
  
  config CPU_SUBTYPE_SH7706
  	bool "Support SH7706 processor"
  	select CPU_SH3
  	help
  	  Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
  
  config CPU_SUBTYPE_SH7707
  	bool "Support SH7707 processor"
  	select CPU_SH3
  	help
  	  Select SH7707 if you have a  60 Mhz SH-3 HD6417707 CPU.
  
  config CPU_SUBTYPE_SH7708
  	bool "Support SH7708 processor"
  	select CPU_SH3
  	help
  	  Select SH7708 if you have a  60 Mhz SH-3 HD6417708S or
  	  if you have a 100 Mhz SH-3 HD6417708R CPU.
  
  config CPU_SUBTYPE_SH7709
  	bool "Support SH7709 processor"
  	select CPU_SH3
  	help
  	  Select SH7709 if you have a  80 Mhz SH-3 HD6417709 CPU.
  
  config CPU_SUBTYPE_SH7710
  	bool "Support SH7710 processor"
  	select CPU_SH3
  	select CPU_HAS_DSP
  	help
  	  Select SH7710 if you have a SH3-DSP SH7710 CPU.
  
  config CPU_SUBTYPE_SH7712
  	bool "Support SH7712 processor"
  	select CPU_SH3
  	select CPU_HAS_DSP
  	help
  	  Select SH7712 if you have a SH3-DSP SH7712 CPU.
  
  config CPU_SUBTYPE_SH7720
  	bool "Support SH7720 processor"
  	select CPU_SH3
  	select CPU_HAS_DSP
2b23a8826   Magnus Damm   sh: CMT platform ...
325
  	select SYS_SUPPORTS_CMT
b5f42db0a   Paul Mundt   sh: Move CPU subt...
326
327
  	help
  	  Select SH7720 if you have a SH3-DSP SH7720 CPU.
31a49c4bf   Yoshihiro Shimoda   sh: Add support f...
328
329
330
331
  config CPU_SUBTYPE_SH7721
  	bool "Support SH7721 processor"
  	select CPU_SH3
  	select CPU_HAS_DSP
2b23a8826   Magnus Damm   sh: CMT platform ...
332
  	select SYS_SUPPORTS_CMT
31a49c4bf   Yoshihiro Shimoda   sh: Add support f...
333
334
  	help
  	  Select SH7721 if you have a SH3-DSP SH7721 CPU.
b5f42db0a   Paul Mundt   sh: Move CPU subt...
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
  # SH-4 Processor Support
  
  config CPU_SUBTYPE_SH7750
  	bool "Support SH7750 processor"
  	select CPU_SH4
  	help
  	  Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
  
  config CPU_SUBTYPE_SH7091
  	bool "Support SH7091 processor"
  	select CPU_SH4
  	help
  	  Select SH7091 if you have an SH-4 based Sega device (such as
  	  the Dreamcast, Naomi, and Naomi 2).
  
  config CPU_SUBTYPE_SH7750R
  	bool "Support SH7750R processor"
  	select CPU_SH4
  
  config CPU_SUBTYPE_SH7750S
  	bool "Support SH7750S processor"
  	select CPU_SH4
  
  config CPU_SUBTYPE_SH7751
  	bool "Support SH7751 processor"
  	select CPU_SH4
  	help
  	  Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
  	  or if you have a HD6417751R CPU.
  
  config CPU_SUBTYPE_SH7751R
  	bool "Support SH7751R processor"
  	select CPU_SH4
  
  config CPU_SUBTYPE_SH7760
  	bool "Support SH7760 processor"
  	select CPU_SH4
  
  config CPU_SUBTYPE_SH4_202
  	bool "Support SH4-202 processor"
  	select CPU_SH4
  
  # SH-4A Processor Support
178dd0cd2   Paul Mundt   sh: Add support f...
378
379
380
381
  config CPU_SUBTYPE_SH7723
  	bool "Support SH7723 processor"
  	select CPU_SH4A
  	select CPU_SHX2
dc65a977c   Paul Mundt   sh: Define ARCH_S...
382
  	select ARCH_SHMOBILE
178dd0cd2   Paul Mundt   sh: Add support f...
383
  	select ARCH_SPARSEMEM_ENABLE
f5ad881b4   Paul Mundt   sh: Use SYS_SUPPO...
384
  	select SYS_SUPPORTS_CMT
178dd0cd2   Paul Mundt   sh: Add support f...
385
386
  	help
  	  Select SH7723 if you have an SH-MobileR2 CPU.
0207a2efb   Kuninori Morimoto   sh: Add support f...
387
388
389
390
  config CPU_SUBTYPE_SH7724
  	bool "Support SH7724 processor"
  	select CPU_SH4A
  	select CPU_SHX2
59fe700dc   Paul Mundt   sh: Have SH7724 s...
391
  	select ARCH_SHMOBILE
0207a2efb   Kuninori Morimoto   sh: Add support f...
392
393
394
395
  	select ARCH_SPARSEMEM_ENABLE
  	select SYS_SUPPORTS_CMT
  	help
  	  Select SH7724 if you have an SH-MobileR2R CPU.
c01f0f1a4   Yoshihiro Shimoda   sh: Add initial s...
396
397
398
399
400
401
  config CPU_SUBTYPE_SH7757
  	bool "Support SH7757 processor"
  	select CPU_SH4A
  	select CPU_SHX2
  	help
  	  Select SH7757 if you have a SH4A SH7757 CPU.
7d740a066   Yoshihiro Shimoda   sh: Add support f...
402
403
404
405
406
  config CPU_SUBTYPE_SH7763
  	bool "Support SH7763 processor"
  	select CPU_SH4A
  	help
  	  Select SH7763 if you have a SH4A SH7763(R5S77631) CPU.
b5f42db0a   Paul Mundt   sh: Move CPU subt...
407
408
409
410
411
412
413
414
415
416
417
418
  config CPU_SUBTYPE_SH7770
  	bool "Support SH7770 processor"
  	select CPU_SH4A
  
  config CPU_SUBTYPE_SH7780
  	bool "Support SH7780 processor"
  	select CPU_SH4A
  
  config CPU_SUBTYPE_SH7785
  	bool "Support SH7785 processor"
  	select CPU_SH4A
  	select CPU_SHX2
55ba99eb2   Kuninori Morimoto   sh: Add support f...
419
420
421
422
423
424
  	select ARCH_SPARSEMEM_ENABLE
  	select SYS_SUPPORTS_NUMA
  
  config CPU_SUBTYPE_SH7786
  	bool "Support SH7786 processor"
  	select CPU_SH4A
37042fbd8   Paul Mundt   sh: SH7786 is an ...
425
  	select CPU_SHX3
8263a67e1   Paul Mundt   sh: Support for e...
426
  	select CPU_HAS_PTEAEX
2eb2a4368   Paul Mundt   sh: SH7786 SMP su...
427
  	select GENERIC_CLOCKEVENTS_BROADCAST if SMP
b5f42db0a   Paul Mundt   sh: Move CPU subt...
428
429
430
431
432
  
  config CPU_SUBTYPE_SHX3
  	bool "Support SH-X3 processor"
  	select CPU_SH4A
  	select CPU_SHX3
5840263ec   Paul Mundt   sh: Don't enable ...
433
  	select GENERIC_CLOCKEVENTS_BROADCAST if SMP
b5f42db0a   Paul Mundt   sh: Move CPU subt...
434
435
436
437
438
439
  
  # SH4AL-DSP Processor Support
  
  config CPU_SUBTYPE_SH7343
  	bool "Support SH7343 processor"
  	select CPU_SH4AL_DSP
dc65a977c   Paul Mundt   sh: Define ARCH_S...
440
  	select ARCH_SHMOBILE
f5ad881b4   Paul Mundt   sh: Use SYS_SUPPO...
441
  	select SYS_SUPPORTS_CMT
b5f42db0a   Paul Mundt   sh: Move CPU subt...
442
443
444
445
446
  
  config CPU_SUBTYPE_SH7722
  	bool "Support SH7722 processor"
  	select CPU_SH4AL_DSP
  	select CPU_SHX2
dc65a977c   Paul Mundt   sh: Define ARCH_S...
447
  	select ARCH_SHMOBILE
b5f42db0a   Paul Mundt   sh: Move CPU subt...
448
449
  	select ARCH_SPARSEMEM_ENABLE
  	select SYS_SUPPORTS_NUMA
f5ad881b4   Paul Mundt   sh: Use SYS_SUPPO...
450
  	select SYS_SUPPORTS_CMT
9109a30e5   Magnus Damm   sh: add support f...
451
452
453
454
455
  
  config CPU_SUBTYPE_SH7366
  	bool "Support SH7366 processor"
  	select CPU_SH4AL_DSP
  	select CPU_SHX2
dc65a977c   Paul Mundt   sh: Define ARCH_S...
456
  	select ARCH_SHMOBILE
9109a30e5   Magnus Damm   sh: add support f...
457
458
  	select ARCH_SPARSEMEM_ENABLE
  	select SYS_SUPPORTS_NUMA
f5ad881b4   Paul Mundt   sh: Use SYS_SUPPO...
459
  	select SYS_SUPPORTS_CMT
b5f42db0a   Paul Mundt   sh: Move CPU subt...
460

3cc000b58   Paul Mundt   sh: Plug in suppo...
461
462
463
464
465
466
467
468
  endchoice
  
  endif
  
  if SUPERH64
  
  choice
  	prompt "Processor sub-type selection"
ea0e1a9a3   Paul Mundt   sh: Consolidate K...
469
470
471
472
473
474
475
476
  # SH-5 Processor Support
  
  config CPU_SUBTYPE_SH5_101
  	bool "Support SH5-101 processor"
  	select CPU_SH5
  
  config CPU_SUBTYPE_SH5_103
  	bool "Support SH5-103 processor"
8ef97dd7a   Paul Mundt   sh: SH5-103 needs...
477
  	select CPU_SH5
ea0e1a9a3   Paul Mundt   sh: Consolidate K...
478

b5f42db0a   Paul Mundt   sh: Move CPU subt...
479
  endchoice
3cc000b58   Paul Mundt   sh: Plug in suppo...
480
  endif
f3d222985   Paul Mundt   sh: Rework CPU/bo...
481
  source "arch/sh/mm/Kconfig"
939a24a6d   Paul Mundt   sh: Move out the ...
482
   
4690bdc7c   Paul Mundt   sh: Consolidate C...
483
  source "arch/sh/Kconfig.cpu"
f3d222985   Paul Mundt   sh: Rework CPU/bo...
484

939a24a6d   Paul Mundt   sh: Move out the ...
485
  source "arch/sh/boards/Kconfig"
32351a28a   Paul Mundt   sh: Add SH7785 Hi...
486

32351a28a   Paul Mundt   sh: Add SH7785 Hi...
487
  menu "Timer and clock configuration"
9570ef204   Magnus Damm   clocksource: Supe...
488
489
  config SH_TIMER_TMU
  	bool "TMU timer driver"
f19900b2e   Magnus Damm   sh: remove old TM...
490
  	depends on SYS_SUPPORTS_TMU
9570ef204   Magnus Damm   clocksource: Supe...
491
  	default y
9570ef204   Magnus Damm   clocksource: Supe...
492
493
  	help
  	  This enables the build of the TMU timer driver.
f5ad881b4   Paul Mundt   sh: Use SYS_SUPPO...
494
  config SH_TIMER_CMT
f425752fc   Magnus Damm   sh: remove old CM...
495
496
497
  	bool "CMT timer driver"
  	depends on SYS_SUPPORTS_CMT
  	default y
f425752fc   Magnus Damm   sh: remove old CM...
498
499
  	help
  	  This enables build of the CMT timer driver.
f5ad881b4   Paul Mundt   sh: Use SYS_SUPPO...
500

d5ed4c2e5   Magnus Damm   clocksource: Supe...
501
502
  config SH_TIMER_MTU2
  	bool "MTU2 timer driver"
3280c8865   Magnus Damm   sh: remove old MT...
503
  	depends on SYS_SUPPORTS_MTU2
d5ed4c2e5   Magnus Damm   clocksource: Supe...
504
  	default y
d5ed4c2e5   Magnus Damm   clocksource: Supe...
505
506
  	help
  	  This enables build of the MTU2 timer driver.
cad824484   Paul Mundt   [PATCH] sh: Move ...
507
508
  config SH_PCLK_FREQ
  	int "Peripheral clock frequency (in Hz)"
8152a74bc   Paul Mundt   sh: Only provide ...
509
  	depends on SH_CLK_CPG_LEGACY
9d4436a6f   Yoshinori Sato   sh: Add support f...
510
  	default "31250000" if CPU_SUBTYPE_SH7619
8152a74bc   Paul Mundt   sh: Only provide ...
511
512
513
514
515
516
  	default "33333333" if CPU_SUBTYPE_SH7770 || \
  			      CPU_SUBTYPE_SH7760 || \
  			      CPU_SUBTYPE_SH7705 || \
  			      CPU_SUBTYPE_SH7203 || \
  			      CPU_SUBTYPE_SH7206 || \
  			      CPU_SUBTYPE_SH7263 || \
43a1839cb   Paul Mundt   sh: SH7786 clock ...
517
  			      CPU_SUBTYPE_MXG
05627486a   Paul Mundt   sh: Fix SH-4 CPU ...
518
  	default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
cad824484   Paul Mundt   [PATCH] sh: Move ...
519
  	default "66000000" if CPU_SUBTYPE_SH4_202
05627486a   Paul Mundt   sh: Fix SH-4 CPU ...
520
  	default "50000000"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
521
  	help
cad824484   Paul Mundt   [PATCH] sh: Move ...
522
523
524
  	  This option is used to specify the peripheral clock frequency.
  	  This is necessary for determining the reference clock value on
  	  platforms lacking an RTC.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
525

36aa1e32f   Paul Mundt   sh: clkfwk: Make ...
526
527
  config SH_CLK_CPG
  	def_bool y
253b0887b   Paul Mundt   sh: clkfwk: Rewor...
528
  config SH_CLK_CPG_LEGACY
36aa1e32f   Paul Mundt   sh: clkfwk: Make ...
529
  	depends on SH_CLK_CPG
43a1839cb   Paul Mundt   sh: SH7786 clock ...
530
531
  	def_bool y if !CPU_SUBTYPE_SH7785 && !ARCH_SHMOBILE && \
  		      !CPU_SUBTYPE_SH7786
253b0887b   Paul Mundt   sh: clkfwk: Rewor...
532

9d4436a6f   Yoshinori Sato   sh: Add support f...
533
534
  config SH_CLK_MD
  	int "CPU Mode Pin Setting"
6d01f5108   Paul Mundt   sh: Add SH7203 CP...
535
  	depends on CPU_SH2
357d59469   Paul Mundt   sh: Tidy up depen...
536
537
538
  	default 6 if CPU_SUBTYPE_SH7206
  	default 5 if CPU_SUBTYPE_SH7619
  	default 0
9d4436a6f   Yoshinori Sato   sh: Add support f...
539
  	help
11cbb70ea   Yoshinori Sato   sh: Trivial build...
540
  	  MD2 - MD0 pin setting.
9d4436a6f   Yoshinori Sato   sh: Add support f...
541

57be2b484   Paul Mundt   sh: clockevent/cl...
542
  source "kernel/time/Kconfig"
32351a28a   Paul Mundt   sh: Add SH7785 Hi...
543
  endmenu
cad824484   Paul Mundt   [PATCH] sh: Move ...
544
545
546
  menu "CPU Frequency scaling"
  
  source "drivers/cpufreq/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
547

cad824484   Paul Mundt   [PATCH] sh: Move ...
548
549
  config SH_CPU_FREQ
  	tristate "SuperH CPU Frequency driver"
cb5ec75b8   Paul Mundt   sh: cpufreq: cloc...
550
  	depends on CPU_FREQ
cad824484   Paul Mundt   [PATCH] sh: Move ...
551
  	select CPU_FREQ_TABLE
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
552
  	help
8a655053c   Paul Mundt   doc: Update sh cp...
553
554
555
556
557
558
  	  This adds the cpufreq driver for SuperH. Any CPU that supports
  	  clock rate rounding through the clock framework can use this
  	  driver. While it will make the kernel slightly larger, this is
  	  harmless for CPUs that don't support rate rounding. The driver
  	  will also generate a notice in the boot log before disabling
  	  itself if the CPU in question is not capable of rate rounding.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
559

cad824484   Paul Mundt   [PATCH] sh: Move ...
560
  	  For details, take a look at <file:Documentation/cpu-freq>.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
561
562
  
  	  If unsure, say N.
cad824484   Paul Mundt   [PATCH] sh: Move ...
563
  endmenu
9f5e8eee5   Paul Mundt   sh: generic push-...
564
  source "arch/sh/drivers/Kconfig"
cad824484   Paul Mundt   [PATCH] sh: Move ...
565
  endmenu
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
566

cad824484   Paul Mundt   [PATCH] sh: Move ...
567
  menu "Kernel features"
91b91d014   Paul Mundt   sh: SH7710VoIPGW ...
568
  source kernel/Kconfig.hz
cad824484   Paul Mundt   [PATCH] sh: Move ...
569
570
  config KEXEC
  	bool "kexec system call (EXPERIMENTAL)"
f36b59d1a   Nobuhiro Iwamatsu   sh: Add MMU depen...
571
  	depends on SUPERH32 && EXPERIMENTAL && MMU
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
572
  	help
cad824484   Paul Mundt   [PATCH] sh: Move ...
573
574
  	  kexec is a system call that implements the ability to shutdown your
  	  current kernel, and to start another kernel.  It is like a reboot
1f1332f72   Matt LaPlante   [PATCH] KConfig: ...
575
  	  but it is independent of the system firmware.  And like a reboot
cad824484   Paul Mundt   [PATCH] sh: Move ...
576
  	  you can start any kernel with it, not just Linux.
1f1332f72   Matt LaPlante   [PATCH] KConfig: ...
577
  	  The name comes from the similarity to the exec system call.
cad824484   Paul Mundt   [PATCH] sh: Move ...
578
579
580
581
582
583
  
  	  It is an ongoing process to be certain the hardware in a machine
  	  is properly shutdown, so do not be surprised if this code does not
  	  initially work for you.  It may help to enable device hotplugging
  	  support.  As of this writing the exact hardware interface is
  	  strongly in flux, so no good recommendation can be made.
4d5ade5b2   Paul Mundt   sh: kdump support.
584
585
  config CRASH_DUMP
  	bool "kernel crash dumps (EXPERIMENTAL)"
d523e1ae6   Paul Mundt   sh: flag kdump as...
586
  	depends on SUPERH32 && EXPERIMENTAL && BROKEN_ON_SMP
4d5ade5b2   Paul Mundt   sh: kdump support.
587
588
589
590
591
592
593
594
595
596
  	help
  	  Generate crash dump after being started by kexec.
  	  This should be normally only set in special crash dump kernels
  	  which are loaded in the main kernel with kexec-tools into
  	  a specially reserved region and then later executed after
  	  a crash by kdump/kexec. The crash dump kernel must be compiled
  	  to a memory address not used by the main kernel using
  	  MEMORY_START.
  
  	  For more details see Documentation/kdump/kdump.txt
b7cf6ddc1   Magnus Damm   sh: add kexec jum...
597
598
599
600
601
602
  config KEXEC_JUMP
  	bool "kexec jump (EXPERIMENTAL)"
  	depends on SUPERH32 && KEXEC && HIBERNATION && EXPERIMENTAL
  	help
  	  Jump between original kernel and kexeced kernel and invoke
  	  code via KEXEC
c4637d475   Paul Mundt   sh: seccomp support.
603
604
605
  config SECCOMP
  	bool "Enable seccomp to safely compute untrusted bytecode"
  	depends on PROC_FS
c4637d475   Paul Mundt   sh: seccomp support.
606
607
608
609
610
611
612
613
614
615
616
617
  	help
  	  This kernel feature is useful for number crunching applications
  	  that may need to compute untrusted bytecode during their
  	  execution. By using pipes or other transports made available to
  	  the process as file descriptors supporting the read/write
  	  syscalls, it's possible to isolate those applications in
  	  their own address space using seccomp. Once seccomp is
  	  enabled via prctl, it cannot be disabled and the task is only
  	  allowed to execute a few safe syscalls defined by each seccomp
  	  mode.
  
  	  If unsure, say N.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
618
619
  config SMP
  	bool "Symmetric multi-processing support"
357d59469   Paul Mundt   sh: Tidy up depen...
620
  	depends on SYS_SUPPORTS_SMP
490f5de52   Jens Axboe   sh: convert to ge...
621
  	select USE_GENERIC_SMP_HELPERS
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
622
623
624
625
626
627
628
629
630
631
632
633
634
  	---help---
  	  This enables support for systems with more than one CPU. If you have
  	  a system with only one CPU, like most personal computers, say N. If
  	  you have a system with more than one CPU, say Y.
  
  	  If you say N here, the kernel will run on single and multiprocessor
  	  machines, but will use only one CPU of a multiprocessor machine. If
  	  you say Y here, the kernel will run on many, but not all,
  	  singleprocessor machines. On a singleprocessor machine, the kernel
  	  will run faster if you say N here.
  
  	  People using multiprocessor machines who say Y here should also say
  	  Y to "Enhanced Real Time Clock Support", below.
03502faa2   Adrian Bunk   remove Documentat...
635
636
  	  See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
  	  available at <http://www.tldp.org/docs.html#howto>.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
637
638
639
640
641
642
643
  
  	  If you don't know what to do here, say N.
  
  config NR_CPUS
  	int "Maximum number of CPUs (2-32)"
  	range 2 32
  	depends on SMP
2eb2a4368   Paul Mundt   sh: SH7786 SMP su...
644
  	default "4" if CPU_SUBTYPE_SHX3
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
645
646
647
648
649
650
651
652
  	default "2"
  	help
  	  This allows you to specify the maximum number of CPUs which this
  	  kernel will support.  The maximum supported value is 32 and the
  	  minimum value which makes sense is 2.
  
  	  This is purely to save memory - each supported CPU adds
  	  approximately eight kilobytes to the kernel image.
763142d1e   Paul Mundt   sh: CPU hotplug s...
653
654
655
656
657
658
  config HOTPLUG_CPU
  	bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
  	depends on SMP && HOTPLUG && EXPERIMENTAL
  	help
  	  Say Y here to experiment with turning CPUs off and on.  CPUs
  	  can be controlled through /sys/devices/system/cpu.
91b91d014   Paul Mundt   sh: SH7710VoIPGW ...
659
  source "kernel/Kconfig.preempt"
836624619   Paul Mundt   sh: Conditionaliz...
660
661
  config GUSA
  	def_bool y
1efe4ce3c   Stuart Menefy   sh: GUSA atomic r...
662
  	depends on !SMP && SUPERH32
836624619   Paul Mundt   sh: Conditionaliz...
663
664
665
666
667
668
669
670
671
672
  	help
  	  This enables support for gUSA (general UserSpace Atomicity).
  	  This is the default implementation for both UP and non-ll/sc
  	  CPUs, and is used by the libc, amongst others.
  
  	  For additional information, design information can be found 
  	  in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
  
  	  This should only be disabled for special cases where alternate
  	  atomicity implementations exist.
1efe4ce3c   Stuart Menefy   sh: GUSA atomic r...
673
674
675
676
677
  config GUSA_RB
  	bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)"
  	depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A)
  	help
  	  Enabling this option will allow the kernel to implement some
692105b8a   Matt LaPlante   trivial: fix typo...
678
  	  atomic operations using a software implementation of load-locked/
1efe4ce3c   Stuart Menefy   sh: GUSA atomic r...
679
680
  	  store-conditional (LLSC). On machines which do not have hardware
  	  LLSC, this should be more efficient than the other alternative of
692105b8a   Matt LaPlante   trivial: fix typo...
681
  	  disabling interrupts around the atomic sequence.
1efe4ce3c   Stuart Menefy   sh: GUSA atomic r...
682

86c8c0479   Matt Fleming   sh: oprofile: Use...
683
684
685
686
687
688
689
  config HW_PERF_EVENTS
  	bool "Enable hardware performance counter support for perf events"
  	depends on PERF_EVENTS && CPU_HAS_PMU
  	default y
  	help
  	  Enable hardware performance counter support for perf events. If
  	  disabled, perf events will use software events only.
43b8774dc   Paul Mundt   sh: intc: userima...
690
  source "drivers/sh/Kconfig"
cad824484   Paul Mundt   [PATCH] sh: Move ...
691
  endmenu
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
692

cad824484   Paul Mundt   [PATCH] sh: Move ...
693
  menu "Boot options"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
694

cad824484   Paul Mundt   [PATCH] sh: Move ...
695
  config ZERO_PAGE_OFFSET
b412a49af   Paul Mundt   sh: Consolidate t...
696
697
698
699
  	hex
  	default "0x00010000" if PAGE_SIZE_64KB || SH_RTS7751R2D || \
  				SH_7751_SOLUTION_ENGINE
  	default "0x00004000" if PAGE_SIZE_16KB || SH_SH03
7a847f819   Paul Mundt   sh: More tidying ...
700
  	default "0x00002000" if PAGE_SIZE_8KB
cad824484   Paul Mundt   [PATCH] sh: Move ...
701
  	default "0x00001000"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
702
  	help
cad824484   Paul Mundt   [PATCH] sh: Move ...
703
  	  This sets the default offset of zero page.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
704

cad824484   Paul Mundt   [PATCH] sh: Move ...
705
  config BOOT_LINK_OFFSET
b412a49af   Paul Mundt   sh: Consolidate t...
706
707
  	hex
  	default "0x00210000" if SH_SHMIN
a2e76c80d   Paul Mundt   sh: Provide a tig...
708
  	default "0x00400000" if SH_CAYMAN
b412a49af   Paul Mundt   sh: Consolidate t...
709
710
711
712
  	default "0x00810000" if SH_7780_SOLUTION_ENGINE
  	default "0x009e0000" if SH_TITAN
  	default "0x01800000" if SH_SDK7780
  	default "0x02000000" if SH_EDOSK7760
cad824484   Paul Mundt   [PATCH] sh: Move ...
713
714
715
716
717
  	default "0x00800000"
  	help
  	  This option allows you to set the link address offset of the zImage.
  	  This can be useful if you are on a board which has a small amount of
  	  memory.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
718

b412a49af   Paul Mundt   sh: Consolidate t...
719
720
721
722
723
724
725
  config ENTRY_OFFSET
  	hex
  	default "0x00001000" if PAGE_SIZE_4KB
  	default "0x00002000" if PAGE_SIZE_8KB
  	default "0x00004000" if PAGE_SIZE_16KB
  	default "0x00010000" if PAGE_SIZE_64KB
  	default "0x00000000"
4705b2e80   Magnus Damm   sh: add romImage ...
726
727
728
729
730
731
732
733
734
735
  config ROMIMAGE_MMCIF
  	bool "Include MMCIF loader in romImage (EXPERIMENTAL)"
  	depends on CPU_SUBTYPE_SH7724 && EXPERIMENTAL
  	help
  	  Say Y here to include experimental MMCIF loading code in
  	  romImage. With this enabled it is possible to write the romImage
  	  kernel image to an MMC card and boot the kernel straight from
  	  the reset vector. At reset the processor Mask ROM will load the
  	  first part of the romImage which in turn loads the rest the kernel
  	  image to RAM using the MMCIF hardware block.
d724a9c9d   Pawel Moll   sh: Allow for ker...
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
  choice
  	prompt "Kernel command line"
  	optional
  	default CMDLINE_OVERWRITE
  	help
  	  Setting this option allows the kernel command line arguments
  	  to be set.
  
  config CMDLINE_OVERWRITE
  	bool "Overwrite bootloader kernel arguments"
  	help
  	  Given string will overwrite any arguments passed in by
  	  a bootloader.
  
  config CMDLINE_EXTEND
  	bool "Extend bootloader kernel arguments"
  	help
  	  Given string will be concatenated with arguments passed in
  	  by a bootloader.
  
  endchoice
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
757

cad824484   Paul Mundt   [PATCH] sh: Move ...
758
  config CMDLINE
d724a9c9d   Pawel Moll   sh: Allow for ker...
759
760
  	string "Kernel command line arguments string"
  	depends on CMDLINE_OVERWRITE || CMDLINE_EXTEND
cad824484   Paul Mundt   [PATCH] sh: Move ...
761
  	default "console=ttySC1,115200"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
762
763
  
  endmenu
cad824484   Paul Mundt   [PATCH] sh: Move ...
764
  menu "Bus options"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
765

cad824484   Paul Mundt   [PATCH] sh: Move ...
766
767
768
  config SUPERHYWAY
  	tristate "SuperHyway Bus support"
  	depends on CPU_SUBTYPE_SH4_202
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
769

17be2d2b1   Adrian McMenamin   sh: Add maple bus...
770
  config MAPLE
e16038aba   Paul Mundt   sh: Kill off obso...
771
772
773
774
775
776
777
778
779
  	bool "Maple Bus support"
  	depends on SH_DREAMCAST
  	help
  	 The Maple Bus is SEGA's serial communication bus for peripherals
  	 on the Dreamcast. Without this bus support you won't be able to
  	 get your Dreamcast keyboard etc to work, so most users
  	 probably want to say 'Y' here, unless you are only using the
  	 Dreamcast with a serial line terminal or a remote network
  	 connection.
17be2d2b1   Adrian McMenamin   sh: Add maple bus...
780

7693465d8   Paul Mundt   sh: Kill off supe...
781
782
783
  config PCI
  	bool "PCI support"
  	depends on SYS_SUPPORTS_PCI
320e68da5   Paul Mundt   sh: support PCI d...
784
  	select PCI_DOMAINS
7693465d8   Paul Mundt   sh: Kill off supe...
785
786
787
788
  	help
  	  Find out whether you have a PCI motherboard. PCI is the name of a
  	  bus system, i.e. the way the CPU talks to the other stuff inside
  	  your box. If you have PCI, say Y, otherwise N.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
789

320e68da5   Paul Mundt   sh: support PCI d...
790
791
  config PCI_DOMAINS
  	bool
e16038aba   Paul Mundt   sh: Kill off obso...
792
  source "drivers/pci/pcie/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
793
794
795
796
797
798
799
800
801
802
803
804
805
  source "drivers/pci/Kconfig"
  
  source "drivers/pcmcia/Kconfig"
  
  source "drivers/pci/hotplug/Kconfig"
  
  endmenu
  
  menu "Executable file formats"
  
  source "fs/Kconfig.binfmt"
  
  endmenu
3aa770e79   Andriy Skulysh   sh: APM/PM support.
806
  menu "Power management options (EXPERIMENTAL)"
af998a9a0   Magnus Damm   sh: allow CONFIG_PM
807
  depends on EXPERIMENTAL
f4cb57007   Johannes Berg   Suspend: Clean up...
808

c6f17cb22   Magnus Damm   sh: allow CONFIG_...
809
810
811
  source "kernel/power/Kconfig"
  
  source "drivers/cpuidle/Kconfig"
3aa770e79   Andriy Skulysh   sh: APM/PM support.
812

3aa770e79   Andriy Skulysh   sh: APM/PM support.
813
  endmenu
d5950b435   Sam Ravnborg   [NET]: add a top-...
814
  source "net/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
815
816
817
  source "drivers/Kconfig"
  
  source "fs/Kconfig"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
818
819
820
821
822
  source "arch/sh/Kconfig.debug"
  
  source "security/Kconfig"
  
  source "crypto/Kconfig"
5f737b39b   Magnus Damm   sh: add CONFIG_VI...
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
  menuconfig VIRTUALIZATION
  	bool "Virtualization"
  	default n
  	---help---
  	  Say Y here to get to see options for using your Linux host to run other
  	  operating systems inside virtual machines (guests).
  	  This option alone does not add any kernel code.
  
  	  If you say N, all options in this submenu will be skipped and disabled.
  
  if VIRTUALIZATION
  
  source drivers/virtio/Kconfig
  
  endif # VIRTUALIZATION
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
838
  source "lib/Kconfig"