remove Documentation/smp.txt
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / sh / Kconfig
CommitLineData
1da177e4
LT
1#
2# For a description of the syntax of this configuration file,
3# see Documentation/kbuild/kconfig-language.txt.
4#
5
6mainmenu "Linux/SuperH Kernel Configuration"
7
8config SUPERH
ea0e1a9a 9 def_bool y
7a440c95 10 select EMBEDDED
1da177e4
LT
11 help
12 The SuperH is a RISC processor targeted for use in embedded systems
13 and consumer electronics; it was also used in the Sega Dreamcast
14 gaming console. The SuperH port has a home page at
15 <http://www.linux-sh.org/>.
16
39d28a2d 17config SUPERH32
ea0e1a9a
PM
18 def_bool !SUPERH64
19
20config SUPERH64
21 def_bool y if CPU_SH5
39d28a2d 22
1da177e4 23config RWSEM_GENERIC_SPINLOCK
d7ef4fb3 24 def_bool y
1da177e4
LT
25
26config RWSEM_XCHGADD_ALGORITHM
27 bool
28
fa691511
PM
29config GENERIC_BUG
30 def_bool y
a82d53ec 31 depends on BUG && SUPERH32
fa691511 32
e2268c71 33config GENERIC_FIND_NEXT_BIT
d7ef4fb3 34 def_bool y
e2268c71
AM
35
36config GENERIC_HWEIGHT
d7ef4fb3 37 def_bool y
e2268c71 38
1da177e4 39config GENERIC_HARDIRQS
d7ef4fb3 40 def_bool y
1da177e4
LT
41
42config GENERIC_IRQ_PROBE
d7ef4fb3 43 def_bool y
1da177e4
LT
44
45config GENERIC_CALIBRATE_DELAY
d7ef4fb3 46 def_bool y
1da177e4 47
cad82448
PM
48config GENERIC_IOMAP
49 bool
50
45882145
PM
51config GENERIC_TIME
52 def_bool n
53
57be2b48
PM
54config GENERIC_CLOCKEVENTS
55 def_bool n
56
357d5946
PM
57config SYS_SUPPORTS_PM
58 bool
59
0a9b0db1
PM
60config SYS_SUPPORTS_APM_EMULATION
61 bool
357d5946
PM
62 select SYS_SUPPORTS_PM
63
64config SYS_SUPPORTS_SMP
65 bool
66
67config SYS_SUPPORTS_NUMA
68 bool
69
70config SYS_SUPPORTS_PCI
71 bool
0a9b0db1 72
a08b6b79
AV
73config ARCH_MAY_HAVE_PC_FDC
74 bool
a08b6b79 75
afbfb52e 76config STACKTRACE_SUPPORT
d7ef4fb3 77 def_bool y
afbfb52e
PM
78
79config LOCKDEP_SUPPORT
d7ef4fb3 80 def_bool y
afbfb52e 81
f0d1b0b3 82config ARCH_HAS_ILOG2_U32
d7ef4fb3 83 def_bool n
f0d1b0b3
DH
84
85config ARCH_HAS_ILOG2_U64
d7ef4fb3 86 def_bool n
f0d1b0b3 87
e257ad06
PM
88config ARCH_NO_VIRT_TO_BUS
89 def_bool y
90
1da177e4
LT
91source "init/Kconfig"
92
93menu "System type"
94
b5f42db0
PM
95#
96# Processor families
97#
98config CPU_SH2
99 bool
100
101config CPU_SH2A
102 bool
103 select CPU_SH2
104
105config CPU_SH3
106 bool
107 select CPU_HAS_INTEVT
108 select CPU_HAS_SR_RB
109
110config CPU_SH4
111 bool
112 select CPU_HAS_INTEVT
113 select CPU_HAS_SR_RB
114 select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2
115 select CPU_HAS_FPU if !CPU_SH4AL_DSP
116
117config CPU_SH4A
118 bool
119 select CPU_SH4
120
121config CPU_SH4AL_DSP
122 bool
123 select CPU_SH4A
124 select CPU_HAS_DSP
125
ea0e1a9a
PM
126config CPU_SH5
127 bool
128 select CPU_HAS_FPU
129
b5f42db0
PM
130config CPU_SHX2
131 bool
132
133config CPU_SHX3
134 bool
135
136choice
137 prompt "Processor sub-type selection"
138
139#
140# Processor subtypes
141#
142
143# SH-2 Processor Support
144
145config CPU_SUBTYPE_SH7619
146 bool "Support SH7619 processor"
147 select CPU_SH2
148
149# SH-2A Processor Support
150
6d01f510
PM
151config CPU_SUBTYPE_SH7203
152 bool "Support SH7203 processor"
153 select CPU_SH2A
74d99a5e 154 select CPU_HAS_FPU
6d01f510 155
b5f42db0
PM
156config CPU_SUBTYPE_SH7206
157 bool "Support SH7206 processor"
158 select CPU_SH2A
159
a8f67f4b
PM
160config CPU_SUBTYPE_SH7263
161 bool "Support SH7263 processor"
162 select CPU_SH2A
74d99a5e 163 select CPU_HAS_FPU
a8f67f4b 164
b5f42db0
PM
165# SH-3 Processor Support
166
167config CPU_SUBTYPE_SH7705
168 bool "Support SH7705 processor"
169 select CPU_SH3
170
171config CPU_SUBTYPE_SH7706
172 bool "Support SH7706 processor"
173 select CPU_SH3
174 help
175 Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
176
177config CPU_SUBTYPE_SH7707
178 bool "Support SH7707 processor"
179 select CPU_SH3
180 help
181 Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU.
182
183config CPU_SUBTYPE_SH7708
184 bool "Support SH7708 processor"
185 select CPU_SH3
186 help
187 Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or
188 if you have a 100 Mhz SH-3 HD6417708R CPU.
189
190config CPU_SUBTYPE_SH7709
191 bool "Support SH7709 processor"
192 select CPU_SH3
193 help
194 Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU.
195
196config CPU_SUBTYPE_SH7710
197 bool "Support SH7710 processor"
198 select CPU_SH3
199 select CPU_HAS_DSP
200 help
201 Select SH7710 if you have a SH3-DSP SH7710 CPU.
202
203config CPU_SUBTYPE_SH7712
204 bool "Support SH7712 processor"
205 select CPU_SH3
206 select CPU_HAS_DSP
207 help
208 Select SH7712 if you have a SH3-DSP SH7712 CPU.
209
210config CPU_SUBTYPE_SH7720
211 bool "Support SH7720 processor"
212 select CPU_SH3
213 select CPU_HAS_DSP
214 help
215 Select SH7720 if you have a SH3-DSP SH7720 CPU.
216
31a49c4b
YS
217config CPU_SUBTYPE_SH7721
218 bool "Support SH7721 processor"
219 select CPU_SH3
220 select CPU_HAS_DSP
221 help
222 Select SH7721 if you have a SH3-DSP SH7721 CPU.
223
b5f42db0
PM
224# SH-4 Processor Support
225
226config CPU_SUBTYPE_SH7750
227 bool "Support SH7750 processor"
228 select CPU_SH4
229 help
230 Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
231
232config CPU_SUBTYPE_SH7091
233 bool "Support SH7091 processor"
234 select CPU_SH4
235 help
236 Select SH7091 if you have an SH-4 based Sega device (such as
237 the Dreamcast, Naomi, and Naomi 2).
238
239config CPU_SUBTYPE_SH7750R
240 bool "Support SH7750R processor"
241 select CPU_SH4
242
243config CPU_SUBTYPE_SH7750S
244 bool "Support SH7750S processor"
245 select CPU_SH4
246
247config CPU_SUBTYPE_SH7751
248 bool "Support SH7751 processor"
249 select CPU_SH4
250 help
251 Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
252 or if you have a HD6417751R CPU.
253
254config CPU_SUBTYPE_SH7751R
255 bool "Support SH7751R processor"
256 select CPU_SH4
257
258config CPU_SUBTYPE_SH7760
259 bool "Support SH7760 processor"
260 select CPU_SH4
261
262config CPU_SUBTYPE_SH4_202
263 bool "Support SH4-202 processor"
264 select CPU_SH4
265
266# SH-4A Processor Support
267
7d740a06
YS
268config CPU_SUBTYPE_SH7763
269 bool "Support SH7763 processor"
270 select CPU_SH4A
271 help
272 Select SH7763 if you have a SH4A SH7763(R5S77631) CPU.
273
b5f42db0
PM
274config CPU_SUBTYPE_SH7770
275 bool "Support SH7770 processor"
276 select CPU_SH4A
277
278config CPU_SUBTYPE_SH7780
279 bool "Support SH7780 processor"
280 select CPU_SH4A
281
282config CPU_SUBTYPE_SH7785
283 bool "Support SH7785 processor"
284 select CPU_SH4A
285 select CPU_SHX2
286 select ARCH_SPARSEMEM_ENABLE
287 select SYS_SUPPORTS_NUMA
288
289config CPU_SUBTYPE_SHX3
290 bool "Support SH-X3 processor"
291 select CPU_SH4A
292 select CPU_SHX3
293 select ARCH_SPARSEMEM_ENABLE
294 select SYS_SUPPORTS_NUMA
295 select SYS_SUPPORTS_SMP
296
297# SH4AL-DSP Processor Support
298
299config CPU_SUBTYPE_SH7343
300 bool "Support SH7343 processor"
301 select CPU_SH4AL_DSP
302
303config CPU_SUBTYPE_SH7722
304 bool "Support SH7722 processor"
305 select CPU_SH4AL_DSP
306 select CPU_SHX2
307 select ARCH_SPARSEMEM_ENABLE
308 select SYS_SUPPORTS_NUMA
309
ea0e1a9a
PM
310# SH-5 Processor Support
311
312config CPU_SUBTYPE_SH5_101
313 bool "Support SH5-101 processor"
314 select CPU_SH5
315
316config CPU_SUBTYPE_SH5_103
317 bool "Support SH5-103 processor"
318
b5f42db0
PM
319endchoice
320
f3d22298 321source "arch/sh/mm/Kconfig"
4690bdc7 322source "arch/sh/Kconfig.cpu"
f3d22298
PM
323
324menu "Board support"
325
326config SOLUTION_ENGINE
327 bool
1da177e4
LT
328
329config SH_SOLUTION_ENGINE
330 bool "SolutionEngine"
bc8fb5d0 331 select SOLUTION_ENGINE
56386f64 332 select CPU_HAS_IPR_IRQ
a8199071
NI
333 depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \
334 CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \
335 CPU_SUBTYPE_SH7750R
1da177e4 336 help
a8199071
NI
337 Select SolutionEngine if configuring for a Hitachi SH7705, SH7709,
338 SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board.
1da177e4 339
f3d22298
PM
340config SH_7206_SOLUTION_ENGINE
341 bool "SolutionEngine7206"
342 select SOLUTION_ENGINE
343 depends on CPU_SUBTYPE_SH7206
344 help
345 Select 7206 SolutionEngine if configuring for a Hitachi SH7206
346 evaluation board.
347
348config SH_7619_SOLUTION_ENGINE
349 bool "SolutionEngine7619"
350 select SOLUTION_ENGINE
351 depends on CPU_SUBTYPE_SH7619
352 help
353 Select 7619 SolutionEngine if configuring for a Hitachi SH7619
354 evaluation board.
355
6865f0ea
RS
356config SH_7722_SOLUTION_ENGINE
357 bool "SolutionEngine7722"
358 select SOLUTION_ENGINE
f3d22298 359 depends on CPU_SUBTYPE_SH7722
6865f0ea
RS
360 help
361 Select 7722 SolutionEngine if configuring for a Hitachi SH772
362 evaluation board.
363
1da177e4
LT
364config SH_7751_SOLUTION_ENGINE
365 bool "SolutionEngine7751"
bc8fb5d0 366 select SOLUTION_ENGINE
56386f64 367 select CPU_HAS_IPR_IRQ
f3d22298 368 depends on CPU_SUBTYPE_SH7751
1da177e4
LT
369 help
370 Select 7751 SolutionEngine if configuring for a Hitachi SH7751
371 evaluation board.
b7576230
NI
372
373config SH_7780_SOLUTION_ENGINE
374 bool "SolutionEngine7780"
375 select SOLUTION_ENGINE
357d5946 376 select SYS_SUPPORTS_PCI
f3d22298 377 depends on CPU_SUBTYPE_SH7780
b7576230
NI
378 help
379 Select 7780 SolutionEngine if configuring for a Renesas SH7780
380 evaluation board.
1da177e4 381
bc8fb5d0
PM
382config SH_7343_SOLUTION_ENGINE
383 bool "SolutionEngine7343"
384 select SOLUTION_ENGINE
f3d22298 385 depends on CPU_SUBTYPE_SH7343
bc8fb5d0
PM
386 help
387 Select 7343 SolutionEngine if configuring for a Hitachi
388 SH7343 (SH-Mobile 3AS) evaluation board.
1da177e4 389
1da177e4
LT
390config SH_7751_SYSTEMH
391 bool "SystemH7751R"
f3d22298 392 depends on CPU_SUBTYPE_SH7751R
1da177e4
LT
393 help
394 Select SystemH if you are configuring for a Renesas SystemH
395 7751R evaluation board.
396
cad82448
PM
397config SH_HP6XX
398 bool "HP6XX"
0a9b0db1 399 select SYS_SUPPORTS_APM_EMULATION
357d5946 400 select HD6446X_SERIES
f3d22298 401 depends on CPU_SUBTYPE_SH7709
1da177e4 402 help
cad82448 403 Select HP6XX if configuring for a HP jornada HP6xx.
1da177e4
LT
404 More information (hardware only) at
405 <http://www.hp.com/jornada/>.
406
1da177e4
LT
407config SH_DREAMCAST
408 bool "Dreamcast"
357d5946 409 select SYS_SUPPORTS_PCI
f3d22298 410 depends on CPU_SUBTYPE_SH7091
1da177e4
LT
411 help
412 Select Dreamcast if configuring for a SEGA Dreamcast.
ad07b100 413 More information at <http://www.linux-sh.org>
1da177e4 414
1da177e4 415config SH_MPC1211
cad82448 416 bool "Interface MPC1211"
f3d22298 417 depends on CPU_SUBTYPE_SH7751 && BROKEN
cad82448
PM
418 help
419 CTP/PCI-SH02 is a CPU module computer that is produced
420 by Interface Corporation.
421 More information at <http://www.interface.co.jp>
1da177e4
LT
422
423config SH_SH03
cad82448 424 bool "Interface CTP/PCI-SH03"
d59645d6 425 depends on CPU_SUBTYPE_SH7751
56386f64 426 select CPU_HAS_IPR_IRQ
357d5946 427 select SYS_SUPPORTS_PCI
1da177e4 428 help
cad82448 429 CTP/PCI-SH03 is a CPU module computer that is produced
1da177e4 430 by Interface Corporation.
1da177e4
LT
431 More information at <http://www.interface.co.jp>
432
433config SH_SECUREEDGE5410
434 bool "SecureEdge5410"
f3d22298 435 depends on CPU_SUBTYPE_SH7751R
56386f64 436 select CPU_HAS_IPR_IRQ
357d5946 437 select SYS_SUPPORTS_PCI
1da177e4
LT
438 help
439 Select SecureEdge5410 if configuring for a SnapGear SH board.
440 This includes both the OEM SecureEdge products as well as the
441 SME product line.
442
91b91d01
PM
443config SH_7710VOIPGW
444 bool "SH7710-VOIP-GW"
f3d22298 445 depends on CPU_SUBTYPE_SH7710
91b91d01
PM
446 help
447 Select this option to build a kernel for the SH7710 based
448 VOIP GW.
449
1da177e4
LT
450config SH_RTS7751R2D
451 bool "RTS7751R2D"
f3d22298 452 depends on CPU_SUBTYPE_SH7751R
357d5946 453 select SYS_SUPPORTS_PCI
1da177e4
LT
454 help
455 Select RTS7751R2D if configuring for a Renesas Technology
456 Sales SH-Graphics board.
457
4862ec07
NB
458config SH_SDK7780
459 bool "SDK7780R3"
460 depends on CPU_SUBTYPE_SH7780
461 select SYS_SUPPORTS_PCI
462 help
463 Select SDK7780 if configuring for a Renesas SH7780 SDK7780R3
464 evaluation board.
465
32351a28
PM
466config SH_HIGHLANDER
467 bool "Highlander"
f3d22298 468 depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
357d5946 469 select SYS_SUPPORTS_PCI
cad82448 470
1da177e4
LT
471config SH_EDOSK7705
472 bool "EDOSK7705"
f3d22298 473 depends on CPU_SUBTYPE_SH7705
1da177e4
LT
474
475config SH_SH4202_MICRODEV
476 bool "SH4-202 MicroDev"
f3d22298 477 depends on CPU_SUBTYPE_SH4_202
1da177e4
LT
478 help
479 Select SH4-202 MicroDev if configuring for a SuperH MicroDev board
480 with an SH4-202 CPU.
481
cad82448
PM
482config SH_LANDISK
483 bool "LANDISK"
f3d22298 484 depends on CPU_SUBTYPE_SH7751R
357d5946 485 select SYS_SUPPORTS_PCI
cad82448
PM
486 help
487 I-O DATA DEVICE, INC. "LANDISK Series" support.
488
489config SH_TITAN
490 bool "TITAN"
f3d22298 491 depends on CPU_SUBTYPE_SH7751R
56386f64 492 select CPU_HAS_IPR_IRQ
357d5946 493 select SYS_SUPPORTS_PCI
cad82448
PM
494 help
495 Select Titan if you are configuring for a Nimble Microsystems
496 NetEngine NP51R.
497
51e22e7a
TY
498config SH_SHMIN
499 bool "SHMIN"
f3d22298 500 depends on CPU_SUBTYPE_SH7706
56386f64 501 select CPU_HAS_IPR_IRQ
51e22e7a 502 help
3cb2fccc 503 Select SHMIN if configuring for the SHMIN board.
51e22e7a 504
c86c5a91
NI
505config SH_LBOX_RE2
506 bool "L-BOX RE2"
f3d22298 507 depends on CPU_SUBTYPE_SH7751R
357d5946 508 select SYS_SUPPORTS_PCI
c86c5a91
NI
509 help
510 Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2.
9d4436a6 511
94807a33
PM
512config SH_X3PROTO
513 bool "SH-X3 Prototype board"
514 depends on CPU_SUBTYPE_SHX3
515
ded5431f
MB
516config SH_MAGIC_PANEL_R2
517 bool "Magic Panel R2"
518 depends on CPU_SUBTYPE_SH7720
519 help
520 Select Magic Panel R2 if configuring for Magic Panel R2.
521
ea0e1a9a
PM
522config SH_CAYMAN
523 bool "Hitachi Cayman"
524 depends on CPU_SUBTYPE_SH5_101 || CPU_SUBTYPE_SH5_103
b6d7b666 525 select SYS_SUPPORTS_PCI
ea0e1a9a 526
f3d22298 527endmenu
1da177e4 528
32351a28
PM
529source "arch/sh/boards/renesas/rts7751r2d/Kconfig"
530source "arch/sh/boards/renesas/r7780rp/Kconfig"
4862ec07 531source "arch/sh/boards/renesas/sdk7780/Kconfig"
ded5431f 532source "arch/sh/boards/magicpanelr2/Kconfig"
32351a28 533
32351a28
PM
534menu "Timer and clock configuration"
535
cad82448 536config SH_TMU
d7ef4fb3
HH
537 def_bool y
538 prompt "TMU timer support"
9d4436a6 539 depends on CPU_SH3 || CPU_SH4
57be2b48
PM
540 select GENERIC_TIME
541 select GENERIC_CLOCKEVENTS
1da177e4 542 help
cad82448 543 This enables the use of the TMU as the system timer.
1da177e4 544
9d4436a6 545config SH_CMT
d7ef4fb3
HH
546 def_bool y
547 prompt "CMT timer support"
9d4436a6 548 depends on CPU_SH2
9d4436a6
YS
549 help
550 This enables the use of the CMT as the system timer.
551
552config SH_MTU2
d7ef4fb3
HH
553 def_bool n
554 prompt "MTU2 timer support"
9d4436a6 555 depends on CPU_SH2A
9d4436a6
YS
556 help
557 This enables the use of the MTU2 as the system timer.
558
417528a2
PM
559config SH_TIMER_IRQ
560 int
7d740a06
YS
561 default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || \
562 CPU_SUBTYPE_SH7763
417528a2
PM
563 default "86" if CPU_SUBTYPE_SH7619
564 default "140" if CPU_SUBTYPE_SH7206
565 default "16"
566
cad82448
PM
567config SH_PCLK_FREQ
568 int "Peripheral clock frequency (in Hz)"
870e8a24 569 default "27000000" if CPU_SUBTYPE_SH7343
9d4436a6 570 default "31250000" if CPU_SUBTYPE_SH7619
05627486 571 default "32000000" if CPU_SUBTYPE_SH7722
d89ddd1c 572 default "33333333" if CPU_SUBTYPE_SH7770 || \
9d4436a6 573 CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
a8f67f4b
PM
574 CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \
575 CPU_SUBTYPE_SH7263
05627486 576 default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
cad82448 577 default "66000000" if CPU_SUBTYPE_SH4_202
05627486 578 default "50000000"
1da177e4 579 help
cad82448
PM
580 This option is used to specify the peripheral clock frequency.
581 This is necessary for determining the reference clock value on
582 platforms lacking an RTC.
1da177e4 583
9d4436a6
YS
584config SH_CLK_MD
585 int "CPU Mode Pin Setting"
6d01f510 586 depends on CPU_SH2
357d5946
PM
587 default 6 if CPU_SUBTYPE_SH7206
588 default 5 if CPU_SUBTYPE_SH7619
589 default 0
9d4436a6 590 help
11cbb70e 591 MD2 - MD0 pin setting.
9d4436a6 592
57be2b48
PM
593source "kernel/time/Kconfig"
594
32351a28
PM
595endmenu
596
cad82448
PM
597menu "CPU Frequency scaling"
598
599source "drivers/cpufreq/Kconfig"
1da177e4 600
cad82448
PM
601config SH_CPU_FREQ
602 tristate "SuperH CPU Frequency driver"
cb5ec75b 603 depends on CPU_FREQ
cad82448 604 select CPU_FREQ_TABLE
1da177e4 605 help
cad82448
PM
606 This adds the cpufreq driver for SuperH. At present, only
607 the SH-4 is supported.
1da177e4 608
cad82448 609 For details, take a look at <file:Documentation/cpu-freq>.
1da177e4
LT
610
611 If unsure, say N.
612
cad82448
PM
613endmenu
614
9f5e8eee
PM
615source "arch/sh/drivers/Kconfig"
616
cad82448 617endmenu
1da177e4 618
cad82448 619config ISA_DMA_API
d7ef4fb3 620 def_bool y
05efc67d 621 depends on SH_MPC1211
1da177e4 622
cad82448
PM
623menu "Kernel features"
624
91b91d01
PM
625source kernel/Kconfig.hz
626
cad82448
PM
627config KEXEC
628 bool "kexec system call (EXPERIMENTAL)"
629 depends on EXPERIMENTAL
1da177e4 630 help
cad82448
PM
631 kexec is a system call that implements the ability to shutdown your
632 current kernel, and to start another kernel. It is like a reboot
1f1332f7 633 but it is independent of the system firmware. And like a reboot
cad82448
PM
634 you can start any kernel with it, not just Linux.
635
1f1332f7 636 The name comes from the similarity to the exec system call.
cad82448
PM
637
638 It is an ongoing process to be certain the hardware in a machine
639 is properly shutdown, so do not be surprised if this code does not
640 initially work for you. It may help to enable device hotplugging
641 support. As of this writing the exact hardware interface is
642 strongly in flux, so no good recommendation can be made.
643
4d5ade5b
PM
644config CRASH_DUMP
645 bool "kernel crash dumps (EXPERIMENTAL)"
646 depends on EXPERIMENTAL
647 help
648 Generate crash dump after being started by kexec.
649 This should be normally only set in special crash dump kernels
650 which are loaded in the main kernel with kexec-tools into
651 a specially reserved region and then later executed after
652 a crash by kdump/kexec. The crash dump kernel must be compiled
653 to a memory address not used by the main kernel using
654 MEMORY_START.
655
656 For more details see Documentation/kdump/kdump.txt
657
1da177e4
LT
658config SMP
659 bool "Symmetric multi-processing support"
357d5946 660 depends on SYS_SUPPORTS_SMP
1da177e4
LT
661 ---help---
662 This enables support for systems with more than one CPU. If you have
663 a system with only one CPU, like most personal computers, say N. If
664 you have a system with more than one CPU, say Y.
665
666 If you say N here, the kernel will run on single and multiprocessor
667 machines, but will use only one CPU of a multiprocessor machine. If
668 you say Y here, the kernel will run on many, but not all,
669 singleprocessor machines. On a singleprocessor machine, the kernel
670 will run faster if you say N here.
671
672 People using multiprocessor machines who say Y here should also say
673 Y to "Enhanced Real Time Clock Support", below.
674
03502faa
AB
675 See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
676 available at <http://www.tldp.org/docs.html#howto>.
1da177e4
LT
677
678 If you don't know what to do here, say N.
679
680config NR_CPUS
681 int "Maximum number of CPUs (2-32)"
682 range 2 32
683 depends on SMP
2b1bd1ac 684 default "4" if CPU_SHX3
1da177e4
LT
685 default "2"
686 help
687 This allows you to specify the maximum number of CPUs which this
688 kernel will support. The maximum supported value is 32 and the
689 minimum value which makes sense is 2.
690
691 This is purely to save memory - each supported CPU adds
692 approximately eight kilobytes to the kernel image.
693
91b91d01
PM
694source "kernel/Kconfig.preempt"
695
83662461
PM
696config GUSA
697 def_bool y
1efe4ce3 698 depends on !SMP && SUPERH32
83662461
PM
699 help
700 This enables support for gUSA (general UserSpace Atomicity).
701 This is the default implementation for both UP and non-ll/sc
702 CPUs, and is used by the libc, amongst others.
703
704 For additional information, design information can be found
705 in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
706
707 This should only be disabled for special cases where alternate
708 atomicity implementations exist.
709
1efe4ce3
SM
710config GUSA_RB
711 bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)"
712 depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A)
713 help
714 Enabling this option will allow the kernel to implement some
715 atomic operations using a software implemention of load-locked/
716 store-conditional (LLSC). On machines which do not have hardware
717 LLSC, this should be more efficient than the other alternative of
718 disabling insterrupts around the atomic sequence.
719
cad82448 720endmenu
1da177e4 721
cad82448 722menu "Boot options"
1da177e4 723
cad82448
PM
724config ZERO_PAGE_OFFSET
725 hex "Zero page offset"
726 default "0x00004000" if SH_MPC1211 || SH_SH03
7a847f81
PM
727 default "0x00010000" if PAGE_SIZE_64KB
728 default "0x00002000" if PAGE_SIZE_8KB
cad82448 729 default "0x00001000"
1da177e4 730 help
cad82448 731 This sets the default offset of zero page.
1da177e4 732
cad82448
PM
733config BOOT_LINK_OFFSET
734 hex "Link address offset for booting"
735 default "0x00800000"
736 help
737 This option allows you to set the link address offset of the zImage.
738 This can be useful if you are on a board which has a small amount of
739 memory.
1da177e4 740
cad82448
PM
741config UBC_WAKEUP
742 bool "Wakeup UBC on startup"
0e3a9aab 743 depends on CPU_SH4 && !CPU_SH4A
cad82448
PM
744 help
745 Selecting this option will wakeup the User Break Controller (UBC) on
746 startup. Although the UBC is left in an awake state when the processor
747 comes up, some boot loaders misbehave by putting the UBC to sleep in a
748 power saving state, which causes issues with things like ptrace().
1da177e4 749
cad82448 750 If unsure, say N.
1da177e4 751
cad82448
PM
752config CMDLINE_BOOL
753 bool "Default bootloader kernel arguments"
1da177e4 754
cad82448
PM
755config CMDLINE
756 string "Initial kernel command string"
757 depends on CMDLINE_BOOL
758 default "console=ttySC1,115200"
1da177e4
LT
759
760endmenu
761
cad82448 762menu "Bus options"
1da177e4
LT
763
764# Even on SuperH devices which don't have an ISA bus,
765# this variable helps the PCMCIA modules handle
766# IRQ requesting properly -- Greg Banks.
767#
768# Though we're generally not interested in it when
769# we're not using PCMCIA, so we make it dependent on
770# PCMCIA outright. -- PFM.
771config ISA
357d5946
PM
772 def_bool y
773 depends on PCMCIA && HD6446X_SERIES
1da177e4
LT
774 help
775 Find out whether you have ISA slots on your motherboard. ISA is the
776 name of a bus system, i.e. the way the CPU talks to the other stuff
777 inside your box. Other bus systems are PCI, EISA, MicroChannel
778 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
779 newer boards don't support it. If you have ISA, say Y, otherwise N.
780
781config EISA
782 bool
783 ---help---
784 The Extended Industry Standard Architecture (EISA) bus was
785 developed as an open alternative to the IBM MicroChannel bus.
786
787 The EISA bus provided some of the features of the IBM MicroChannel
788 bus while maintaining backward compatibility with cards made for
789 the older ISA bus. The EISA bus saw limited use between 1988 and
790 1995 when it was made obsolete by the PCI bus.
791
792 Say Y here if you are building a kernel for an EISA-based machine.
793
794 Otherwise, say N.
795
796config MCA
797 bool
798 help
799 MicroChannel Architecture is found in some IBM PS/2 machines and
800 laptops. It is a bus system similar to PCI or ISA. See
801 <file:Documentation/mca.txt> (and especially the web page given
802 there) before attempting to build an MCA bus kernel.
803
804config SBUS
805 bool
806
cad82448
PM
807config SUPERHYWAY
808 tristate "SuperHyway Bus support"
809 depends on CPU_SUBTYPE_SH4_202
1da177e4 810
17be2d2b
AM
811config MAPLE
812 bool "Maple Bus support"
813 depends on SH_DREAMCAST
814 help
815 The Maple Bus is SEGA's serial communication bus for peripherals
816 on the Dreamcast. Without this bus support you won't be able to
817 get your Dreamcast keyboard etc to work, so most users
818 probably want to say 'Y' here, unless you are only using the
819 Dreamcast with a serial line terminal or a remote network
820 connection.
821
824e55f9
PM
822config CF_ENABLER
823 bool "Compact Flash Enabler support"
824 depends on SOLUTION_ENGINE || SH_SH03
825 ---help---
826 Compact Flash is a small, removable mass storage device introduced
827 in 1994 originally as a PCMCIA device. If you say `Y' here, you
828 compile in support for Compact Flash devices directly connected to
829 a SuperH processor. A Compact Flash FAQ is available at
830 <http://www.compactflash.org/faqs/faq.htm>.
831
832 If your board has "Directly Connected" CompactFlash at area 5 or 6,
833 you may want to enable this option. Then, you can use CF as
834 primary IDE drive (only tested for SanDisk).
835
836 If in doubt, select 'N'.
837
838choice
839 prompt "Compact Flash Connection Area"
840 depends on CF_ENABLER
841 default CF_AREA6
842
843config CF_AREA5
844 bool "Area5"
845 help
846 If your board has "Directly Connected" CompactFlash, You should
847 select the area where your CF is connected to.
848
849 - "Area5" if CompactFlash is connected to Area 5 (0x14000000)
850 - "Area6" if it is connected to Area 6 (0x18000000)
851
852 "Area6" will work for most boards.
853
854config CF_AREA6
855 bool "Area6"
856
857endchoice
858
859config CF_BASE_ADDR
860 hex
861 depends on CF_ENABLER
862 default "0xb8000000" if CF_AREA6
863 default "0xb4000000" if CF_AREA5
864
1da177e4
LT
865source "arch/sh/drivers/pci/Kconfig"
866
867source "drivers/pci/Kconfig"
868
869source "drivers/pcmcia/Kconfig"
870
871source "drivers/pci/hotplug/Kconfig"
872
873endmenu
874
875menu "Executable file formats"
876
877source "fs/Kconfig.binfmt"
878
879endmenu
880
3aa770e7 881menu "Power management options (EXPERIMENTAL)"
357d5946 882depends on EXPERIMENTAL && SYS_SUPPORTS_PM
3aa770e7 883
f4cb5700
JB
884config ARCH_SUSPEND_POSSIBLE
885 def_bool y
886 depends on !SMP
887
3aa770e7
AS
888source kernel/power/Kconfig
889
3aa770e7
AS
890endmenu
891
d5950b43
SR
892source "net/Kconfig"
893
1da177e4
LT
894source "drivers/Kconfig"
895
896source "fs/Kconfig"
897
09cadedb 898source "kernel/Kconfig.instrumentation"
1da177e4
LT
899
900source "arch/sh/Kconfig.debug"
901
902source "security/Kconfig"
903
904source "crypto/Kconfig"
905
906source "lib/Kconfig"