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