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