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