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