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