s390/pgtable: fix ipte notify bit
[pandora-kernel.git] / arch / sh / Kconfig
1 config SUPERH
2         def_bool y
3         select EXPERT
4         select CLKDEV_LOOKUP
5         select HAVE_IDE if HAS_IOPORT
6         select HAVE_MEMBLOCK
7         select HAVE_MEMBLOCK_NODE_MAP
8         select ARCH_DISCARD_MEMBLOCK
9         select HAVE_OPROFILE
10         select HAVE_GENERIC_DMA_COHERENT
11         select HAVE_ARCH_TRACEHOOK
12         select HAVE_DMA_API_DEBUG
13         select HAVE_DMA_ATTRS
14         select HAVE_PERF_EVENTS
15         select HAVE_DEBUG_BUGVERBOSE
16         select ARCH_HAVE_CUSTOM_GPIO_H
17         select ARCH_HAVE_NMI_SAFE_CMPXCHG if (GUSA_RB || CPU_SH4A)
18         select PERF_USE_VMALLOC
19         select HAVE_DEBUG_KMEMLEAK
20         select HAVE_KERNEL_GZIP
21         select HAVE_KERNEL_BZIP2
22         select HAVE_KERNEL_LZMA
23         select HAVE_KERNEL_XZ
24         select HAVE_KERNEL_LZO
25         select HAVE_UID16
26         select ARCH_WANT_IPC_PARSE_VERSION
27         select HAVE_SYSCALL_TRACEPOINTS
28         select HAVE_REGS_AND_STACK_ACCESS_API
29         select HAVE_GENERIC_HARDIRQS
30         select MAY_HAVE_SPARSE_IRQ
31         select IRQ_FORCED_THREADING
32         select RTC_LIB
33         select GENERIC_ATOMIC64
34         select GENERIC_IRQ_SHOW
35         select GENERIC_SMP_IDLE_THREAD
36         select GENERIC_IDLE_POLL_SETUP
37         select GENERIC_CLOCKEVENTS
38         select GENERIC_CMOS_UPDATE if SH_SH03 || SH_DREAMCAST
39         select GENERIC_STRNCPY_FROM_USER
40         select GENERIC_STRNLEN_USER
41         select HAVE_MOD_ARCH_SPECIFIC if DWARF_UNWINDER
42         select MODULES_USE_ELF_RELA
43         select OLD_SIGSUSPEND
44         select OLD_SIGACTION
45         help
46           The SuperH is a RISC processor targeted for use in embedded systems
47           and consumer electronics; it was also used in the Sega Dreamcast
48           gaming console.  The SuperH port has a home page at
49           <http://www.linux-sh.org/>.
50
51 config SUPERH32
52         def_bool ARCH = "sh"
53         select HAVE_KPROBES
54         select HAVE_KRETPROBES
55         select HAVE_IOREMAP_PROT if MMU && !X2TLB
56         select HAVE_FUNCTION_TRACER
57         select HAVE_FTRACE_MCOUNT_RECORD
58         select HAVE_DYNAMIC_FTRACE
59         select HAVE_FUNCTION_TRACE_MCOUNT_TEST
60         select HAVE_FTRACE_NMI_ENTER if DYNAMIC_FTRACE
61         select ARCH_WANT_IPC_PARSE_VERSION
62         select HAVE_FUNCTION_GRAPH_TRACER
63         select HAVE_ARCH_KGDB
64         select HAVE_HW_BREAKPOINT
65         select HAVE_MIXED_BREAKPOINTS_REGS
66         select PERF_EVENTS
67         select ARCH_HIBERNATION_POSSIBLE if MMU
68         select SPARSE_IRQ
69
70 config SUPERH64
71         def_bool ARCH = "sh64"
72         select KALLSYMS
73
74 config ARCH_DEFCONFIG
75         string
76         default "arch/sh/configs/shx3_defconfig" if SUPERH32
77         default "arch/sh/configs/cayman_defconfig" if SUPERH64
78
79 config RWSEM_GENERIC_SPINLOCK
80         def_bool y
81
82 config RWSEM_XCHGADD_ALGORITHM
83         bool
84
85 config GENERIC_BUG
86         def_bool y
87         depends on BUG && SUPERH32
88
89 config GENERIC_CSUM
90         def_bool y
91         depends on SUPERH64
92
93 config GENERIC_HWEIGHT
94         def_bool y
95
96 config GENERIC_GPIO
97         def_bool n
98
99 config GENERIC_CALIBRATE_DELAY
100         bool
101
102 config GENERIC_LOCKBREAK
103         def_bool y
104         depends on SMP && PREEMPT
105
106 config ARCH_SUSPEND_POSSIBLE
107         def_bool n
108
109 config ARCH_HIBERNATION_POSSIBLE
110         def_bool n
111
112 config SYS_SUPPORTS_APM_EMULATION
113         bool
114         select ARCH_SUSPEND_POSSIBLE
115
116 config SYS_SUPPORTS_HUGETLBFS
117         bool
118
119 config SYS_SUPPORTS_SMP
120         bool
121
122 config SYS_SUPPORTS_NUMA
123         bool
124
125 config SYS_SUPPORTS_PCI
126         bool
127
128 config SYS_SUPPORTS_CMT
129         bool
130
131 config SYS_SUPPORTS_MTU2
132         bool
133
134 config SYS_SUPPORTS_TMU
135         bool
136
137 config STACKTRACE_SUPPORT
138         def_bool y
139
140 config LOCKDEP_SUPPORT
141         def_bool y
142
143 config HAVE_LATENCYTOP_SUPPORT
144         def_bool y
145
146 config ARCH_HAS_ILOG2_U32
147         def_bool n
148
149 config ARCH_HAS_ILOG2_U64
150         def_bool n
151
152 config NO_IOPORT
153         def_bool !PCI
154         depends on !SH_CAYMAN && !SH_SH4202_MICRODEV && !SH_SHMIN && \
155                    !SH_HP6XX && !SH_SOLUTION_ENGINE
156
157 config IO_TRAPPED
158         bool
159
160 config SWAP_IO_SPACE
161         bool
162
163 config DMA_COHERENT
164         bool
165
166 config DMA_NONCOHERENT
167         def_bool !DMA_COHERENT
168
169 config NEED_DMA_MAP_STATE
170         def_bool DMA_NONCOHERENT
171
172 config NEED_SG_DMA_LENGTH
173         def_bool y
174
175 source "init/Kconfig"
176
177 source "kernel/Kconfig.freezer"
178
179 menu "System type"
180
181 #
182 # Processor families
183 #
184 config CPU_SH2
185         bool
186
187 config CPU_SH2A
188         bool
189         select CPU_SH2
190         select UNCACHED_MAPPING
191
192 config CPU_SH3
193         bool
194         select CPU_HAS_INTEVT
195         select CPU_HAS_SR_RB
196         select SYS_SUPPORTS_TMU
197
198 config CPU_SH4
199         bool
200         select CPU_HAS_INTEVT
201         select CPU_HAS_SR_RB
202         select CPU_HAS_FPU if !CPU_SH4AL_DSP
203         select SYS_SUPPORTS_TMU
204         select SYS_SUPPORTS_HUGETLBFS if MMU
205
206 config CPU_SH4A
207         bool
208         select CPU_SH4
209
210 config CPU_SH4AL_DSP
211         bool
212         select CPU_SH4A
213         select CPU_HAS_DSP
214
215 config CPU_SH5
216         bool
217         select CPU_HAS_FPU
218         select SYS_SUPPORTS_TMU
219         select SYS_SUPPORTS_HUGETLBFS if MMU
220
221 config CPU_SHX2
222         bool
223
224 config CPU_SHX3
225         bool
226         select DMA_COHERENT
227         select SYS_SUPPORTS_SMP
228         select SYS_SUPPORTS_NUMA
229
230 config ARCH_SHMOBILE
231         bool
232         select ARCH_SUSPEND_POSSIBLE
233         select PM
234         select PM_RUNTIME
235
236 config CPU_HAS_PMU
237        depends on CPU_SH4 || CPU_SH4A
238        default y
239        bool
240
241 if SUPERH32
242
243 choice
244         prompt "Processor sub-type selection"
245
246 #
247 # Processor subtypes
248 #
249
250 # SH-2 Processor Support
251
252 config CPU_SUBTYPE_SH7619
253         bool "Support SH7619 processor"
254         select CPU_SH2
255         select SYS_SUPPORTS_CMT
256
257 # SH-2A Processor Support
258
259 config CPU_SUBTYPE_SH7201
260         bool "Support SH7201 processor"
261         select CPU_SH2A
262         select CPU_HAS_FPU
263         select SYS_SUPPORTS_MTU2
264  
265 config CPU_SUBTYPE_SH7203
266         bool "Support SH7203 processor"
267         select CPU_SH2A
268         select CPU_HAS_FPU
269         select SYS_SUPPORTS_CMT
270         select SYS_SUPPORTS_MTU2
271         select ARCH_WANT_OPTIONAL_GPIOLIB
272         select PINCTRL
273
274 config CPU_SUBTYPE_SH7206
275         bool "Support SH7206 processor"
276         select CPU_SH2A
277         select SYS_SUPPORTS_CMT
278         select SYS_SUPPORTS_MTU2
279
280 config CPU_SUBTYPE_SH7263
281         bool "Support SH7263 processor"
282         select CPU_SH2A
283         select CPU_HAS_FPU
284         select SYS_SUPPORTS_CMT
285         select SYS_SUPPORTS_MTU2
286
287 config CPU_SUBTYPE_SH7264
288         bool "Support SH7264 processor"
289         select CPU_SH2A
290         select CPU_HAS_FPU
291         select SYS_SUPPORTS_CMT
292         select SYS_SUPPORTS_MTU2
293         select PINCTRL
294
295 config CPU_SUBTYPE_SH7269
296         bool "Support SH7269 processor"
297         select CPU_SH2A
298         select CPU_HAS_FPU
299         select SYS_SUPPORTS_CMT
300         select SYS_SUPPORTS_MTU2
301         select PINCTRL
302
303 config CPU_SUBTYPE_MXG
304         bool "Support MX-G processor"
305         select CPU_SH2A
306         select SYS_SUPPORTS_MTU2
307         help
308           Select MX-G if running on an R8A03022BG part.
309
310 # SH-3 Processor Support
311
312 config CPU_SUBTYPE_SH7705
313         bool "Support SH7705 processor"
314         select CPU_SH3
315
316 config CPU_SUBTYPE_SH7706
317         bool "Support SH7706 processor"
318         select CPU_SH3
319         help
320           Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
321
322 config CPU_SUBTYPE_SH7707
323         bool "Support SH7707 processor"
324         select CPU_SH3
325         help
326           Select SH7707 if you have a  60 Mhz SH-3 HD6417707 CPU.
327
328 config CPU_SUBTYPE_SH7708
329         bool "Support SH7708 processor"
330         select CPU_SH3
331         help
332           Select SH7708 if you have a  60 Mhz SH-3 HD6417708S or
333           if you have a 100 Mhz SH-3 HD6417708R CPU.
334
335 config CPU_SUBTYPE_SH7709
336         bool "Support SH7709 processor"
337         select CPU_SH3
338         help
339           Select SH7709 if you have a  80 Mhz SH-3 HD6417709 CPU.
340
341 config CPU_SUBTYPE_SH7710
342         bool "Support SH7710 processor"
343         select CPU_SH3
344         select CPU_HAS_DSP
345         help
346           Select SH7710 if you have a SH3-DSP SH7710 CPU.
347
348 config CPU_SUBTYPE_SH7712
349         bool "Support SH7712 processor"
350         select CPU_SH3
351         select CPU_HAS_DSP
352         help
353           Select SH7712 if you have a SH3-DSP SH7712 CPU.
354
355 config CPU_SUBTYPE_SH7720
356         bool "Support SH7720 processor"
357         select CPU_SH3
358         select CPU_HAS_DSP
359         select SYS_SUPPORTS_CMT
360         select ARCH_WANT_OPTIONAL_GPIOLIB
361         select USB_ARCH_HAS_OHCI
362         select USB_OHCI_SH if USB_OHCI_HCD
363         select PINCTRL
364         help
365           Select SH7720 if you have a SH3-DSP SH7720 CPU.
366
367 config CPU_SUBTYPE_SH7721
368         bool "Support SH7721 processor"
369         select CPU_SH3
370         select CPU_HAS_DSP
371         select SYS_SUPPORTS_CMT
372         select USB_ARCH_HAS_OHCI
373         select USB_OHCI_SH if USB_OHCI_HCD
374         help
375           Select SH7721 if you have a SH3-DSP SH7721 CPU.
376
377 # SH-4 Processor Support
378
379 config CPU_SUBTYPE_SH7750
380         bool "Support SH7750 processor"
381         select CPU_SH4
382         help
383           Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
384
385 config CPU_SUBTYPE_SH7091
386         bool "Support SH7091 processor"
387         select CPU_SH4
388         help
389           Select SH7091 if you have an SH-4 based Sega device (such as
390           the Dreamcast, Naomi, and Naomi 2).
391
392 config CPU_SUBTYPE_SH7750R
393         bool "Support SH7750R processor"
394         select CPU_SH4
395
396 config CPU_SUBTYPE_SH7750S
397         bool "Support SH7750S processor"
398         select CPU_SH4
399
400 config CPU_SUBTYPE_SH7751
401         bool "Support SH7751 processor"
402         select CPU_SH4
403         help
404           Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
405           or if you have a HD6417751R CPU.
406
407 config CPU_SUBTYPE_SH7751R
408         bool "Support SH7751R processor"
409         select CPU_SH4
410
411 config CPU_SUBTYPE_SH7760
412         bool "Support SH7760 processor"
413         select CPU_SH4
414
415 config CPU_SUBTYPE_SH4_202
416         bool "Support SH4-202 processor"
417         select CPU_SH4
418
419 # SH-4A Processor Support
420
421 config CPU_SUBTYPE_SH7723
422         bool "Support SH7723 processor"
423         select CPU_SH4A
424         select CPU_SHX2
425         select ARCH_SHMOBILE
426         select ARCH_SPARSEMEM_ENABLE
427         select SYS_SUPPORTS_CMT
428         select ARCH_WANT_OPTIONAL_GPIOLIB
429         select PINCTRL
430         help
431           Select SH7723 if you have an SH-MobileR2 CPU.
432
433 config CPU_SUBTYPE_SH7724
434         bool "Support SH7724 processor"
435         select CPU_SH4A
436         select CPU_SHX2
437         select ARCH_SHMOBILE
438         select ARCH_SPARSEMEM_ENABLE
439         select SYS_SUPPORTS_CMT
440         select ARCH_WANT_OPTIONAL_GPIOLIB
441         select PINCTRL
442         help
443           Select SH7724 if you have an SH-MobileR2R CPU.
444
445 config CPU_SUBTYPE_SH7734
446         bool "Support SH7734 processor"
447         select CPU_SH4A
448         select CPU_SHX2
449         select ARCH_WANT_OPTIONAL_GPIOLIB
450         select USB_ARCH_HAS_OHCI
451         select USB_ARCH_HAS_EHCI
452         select PINCTRL
453         help
454           Select SH7734 if you have a SH4A SH7734 CPU.
455
456 config CPU_SUBTYPE_SH7757
457         bool "Support SH7757 processor"
458         select CPU_SH4A
459         select CPU_SHX2
460         select ARCH_WANT_OPTIONAL_GPIOLIB
461         select USB_ARCH_HAS_OHCI
462         select USB_ARCH_HAS_EHCI
463         select PINCTRL
464         help
465           Select SH7757 if you have a SH4A SH7757 CPU.
466
467 config CPU_SUBTYPE_SH7763
468         bool "Support SH7763 processor"
469         select CPU_SH4A
470         select USB_ARCH_HAS_OHCI
471         select USB_OHCI_SH if USB_OHCI_HCD
472         help
473           Select SH7763 if you have a SH4A SH7763(R5S77631) CPU.
474
475 config CPU_SUBTYPE_SH7770
476         bool "Support SH7770 processor"
477         select CPU_SH4A
478
479 config CPU_SUBTYPE_SH7780
480         bool "Support SH7780 processor"
481         select CPU_SH4A
482
483 config CPU_SUBTYPE_SH7785
484         bool "Support SH7785 processor"
485         select CPU_SH4A
486         select CPU_SHX2
487         select ARCH_SPARSEMEM_ENABLE
488         select SYS_SUPPORTS_NUMA
489         select ARCH_WANT_OPTIONAL_GPIOLIB
490         select PINCTRL
491
492 config CPU_SUBTYPE_SH7786
493         bool "Support SH7786 processor"
494         select CPU_SH4A
495         select CPU_SHX3
496         select CPU_HAS_PTEAEX
497         select GENERIC_CLOCKEVENTS_BROADCAST if SMP
498         select ARCH_WANT_OPTIONAL_GPIOLIB
499         select USB_ARCH_HAS_OHCI
500         select USB_OHCI_SH if USB_OHCI_HCD
501         select USB_ARCH_HAS_EHCI
502         select USB_EHCI_SH if USB_EHCI_HCD
503         select PINCTRL
504
505 config CPU_SUBTYPE_SHX3
506         bool "Support SH-X3 processor"
507         select CPU_SH4A
508         select CPU_SHX3
509         select GENERIC_CLOCKEVENTS_BROADCAST if SMP
510         select ARCH_REQUIRE_GPIOLIB
511         select PINCTRL
512
513 # SH4AL-DSP Processor Support
514
515 config CPU_SUBTYPE_SH7343
516         bool "Support SH7343 processor"
517         select CPU_SH4AL_DSP
518         select ARCH_SHMOBILE
519         select SYS_SUPPORTS_CMT
520
521 config CPU_SUBTYPE_SH7722
522         bool "Support SH7722 processor"
523         select CPU_SH4AL_DSP
524         select CPU_SHX2
525         select ARCH_SHMOBILE
526         select ARCH_SPARSEMEM_ENABLE
527         select SYS_SUPPORTS_NUMA
528         select SYS_SUPPORTS_CMT
529         select ARCH_WANT_OPTIONAL_GPIOLIB
530         select PINCTRL
531
532 config CPU_SUBTYPE_SH7366
533         bool "Support SH7366 processor"
534         select CPU_SH4AL_DSP
535         select CPU_SHX2
536         select ARCH_SHMOBILE
537         select ARCH_SPARSEMEM_ENABLE
538         select SYS_SUPPORTS_NUMA
539         select SYS_SUPPORTS_CMT
540
541 endchoice
542
543 endif
544
545 if SUPERH64
546
547 choice
548         prompt "Processor sub-type selection"
549
550 # SH-5 Processor Support
551
552 config CPU_SUBTYPE_SH5_101
553         bool "Support SH5-101 processor"
554         select CPU_SH5
555
556 config CPU_SUBTYPE_SH5_103
557         bool "Support SH5-103 processor"
558         select CPU_SH5
559
560 endchoice
561
562 endif
563
564 source "arch/sh/mm/Kconfig"
565  
566 source "arch/sh/Kconfig.cpu"
567
568 source "arch/sh/boards/Kconfig"
569
570 menu "Timer and clock configuration"
571
572 config SH_TIMER_TMU
573         bool "TMU timer driver"
574         depends on SYS_SUPPORTS_TMU
575         default y
576         help
577           This enables the build of the TMU timer driver.
578
579 config SH_TIMER_CMT
580         bool "CMT timer driver"
581         depends on SYS_SUPPORTS_CMT
582         default y
583         help
584           This enables build of the CMT timer driver.
585
586 config SH_TIMER_MTU2
587         bool "MTU2 timer driver"
588         depends on SYS_SUPPORTS_MTU2
589         default y
590         help
591           This enables build of the MTU2 timer driver.
592
593 config SH_PCLK_FREQ
594         int "Peripheral clock frequency (in Hz)"
595         depends on SH_CLK_CPG_LEGACY
596         default "31250000" if CPU_SUBTYPE_SH7619
597         default "33333333" if CPU_SUBTYPE_SH7770 || \
598                               CPU_SUBTYPE_SH7760 || \
599                               CPU_SUBTYPE_SH7705 || \
600                               CPU_SUBTYPE_SH7203 || \
601                               CPU_SUBTYPE_SH7206 || \
602                               CPU_SUBTYPE_SH7263 || \
603                               CPU_SUBTYPE_MXG
604         default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
605         default "66000000" if CPU_SUBTYPE_SH4_202
606         default "50000000"
607         help
608           This option is used to specify the peripheral clock frequency.
609           This is necessary for determining the reference clock value on
610           platforms lacking an RTC.
611
612 config SH_CLK_CPG
613         def_bool y
614
615 config SH_CLK_CPG_LEGACY
616         depends on SH_CLK_CPG
617         def_bool y if !CPU_SUBTYPE_SH7785 && !ARCH_SHMOBILE && \
618                       !CPU_SHX3 && !CPU_SUBTYPE_SH7757 && \
619                       !CPU_SUBTYPE_SH7734 && !CPU_SUBTYPE_SH7264 && \
620                       !CPU_SUBTYPE_SH7269
621
622 endmenu
623
624 menu "CPU Frequency scaling"
625 source "drivers/cpufreq/Kconfig"
626 endmenu
627
628 source "arch/sh/drivers/Kconfig"
629
630 endmenu
631
632 menu "Kernel features"
633
634 source kernel/Kconfig.hz
635
636 config KEXEC
637         bool "kexec system call (EXPERIMENTAL)"
638         depends on SUPERH32 && MMU
639         help
640           kexec is a system call that implements the ability to shutdown your
641           current kernel, and to start another kernel.  It is like a reboot
642           but it is independent of the system firmware.  And like a reboot
643           you can start any kernel with it, not just Linux.
644
645           The name comes from the similarity to the exec system call.
646
647           It is an ongoing process to be certain the hardware in a machine
648           is properly shutdown, so do not be surprised if this code does not
649           initially work for you.  It may help to enable device hotplugging
650           support.  As of this writing the exact hardware interface is
651           strongly in flux, so no good recommendation can be made.
652
653 config CRASH_DUMP
654         bool "kernel crash dumps (EXPERIMENTAL)"
655         depends on SUPERH32 && BROKEN_ON_SMP
656         help
657           Generate crash dump after being started by kexec.
658           This should be normally only set in special crash dump kernels
659           which are loaded in the main kernel with kexec-tools into
660           a specially reserved region and then later executed after
661           a crash by kdump/kexec. The crash dump kernel must be compiled
662           to a memory address not used by the main kernel using
663           PHYSICAL_START.
664
665           For more details see Documentation/kdump/kdump.txt
666
667 config KEXEC_JUMP
668         bool "kexec jump (EXPERIMENTAL)"
669         depends on SUPERH32 && KEXEC && HIBERNATION
670         help
671           Jump between original kernel and kexeced kernel and invoke
672           code via KEXEC
673
674 config PHYSICAL_START
675         hex "Physical address where the kernel is loaded" if (EXPERT || CRASH_DUMP)
676         default MEMORY_START
677         ---help---
678           This gives the physical address where the kernel is loaded
679           and is ordinarily the same as MEMORY_START.
680
681           Different values are primarily used in the case of kexec on panic
682           where the fail safe kernel needs to run at a different address
683           than the panic-ed kernel.
684
685 config SECCOMP
686         bool "Enable seccomp to safely compute untrusted bytecode"
687         depends on PROC_FS
688         help
689           This kernel feature is useful for number crunching applications
690           that may need to compute untrusted bytecode during their
691           execution. By using pipes or other transports made available to
692           the process as file descriptors supporting the read/write
693           syscalls, it's possible to isolate those applications in
694           their own address space using seccomp. Once seccomp is
695           enabled via prctl, it cannot be disabled and the task is only
696           allowed to execute a few safe syscalls defined by each seccomp
697           mode.
698
699           If unsure, say N.
700
701 config CC_STACKPROTECTOR
702         bool "Enable -fstack-protector buffer overflow detection (EXPERIMENTAL)"
703         depends on SUPERH32
704         help
705           This option turns on the -fstack-protector GCC feature. This
706           feature puts, at the beginning of functions, a canary value on
707           the stack just before the return address, and validates
708           the value just before actually returning.  Stack based buffer
709           overflows (that need to overwrite this return address) now also
710           overwrite the canary, which gets detected and the attack is then
711           neutralized via a kernel panic.
712
713           This feature requires gcc version 4.2 or above.
714
715 config SMP
716         bool "Symmetric multi-processing support"
717         depends on SYS_SUPPORTS_SMP
718         select USE_GENERIC_SMP_HELPERS
719         ---help---
720           This enables support for systems with more than one CPU. If you have
721           a system with only one CPU, like most personal computers, say N. If
722           you have a system with more than one CPU, say Y.
723
724           If you say N here, the kernel will run on single and multiprocessor
725           machines, but will use only one CPU of a multiprocessor machine. If
726           you say Y here, the kernel will run on many, but not all,
727           singleprocessor machines. On a singleprocessor machine, the kernel
728           will run faster if you say N here.
729
730           People using multiprocessor machines who say Y here should also say
731           Y to "Enhanced Real Time Clock Support", below.
732
733           See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
734           available at <http://www.tldp.org/docs.html#howto>.
735
736           If you don't know what to do here, say N.
737
738 config NR_CPUS
739         int "Maximum number of CPUs (2-32)"
740         range 2 32
741         depends on SMP
742         default "4" if CPU_SUBTYPE_SHX3
743         default "2"
744         help
745           This allows you to specify the maximum number of CPUs which this
746           kernel will support.  The maximum supported value is 32 and the
747           minimum value which makes sense is 2.
748
749           This is purely to save memory - each supported CPU adds
750           approximately eight kilobytes to the kernel image.
751
752 config HOTPLUG_CPU
753         bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
754         depends on SMP && HOTPLUG
755         help
756           Say Y here to experiment with turning CPUs off and on.  CPUs
757           can be controlled through /sys/devices/system/cpu.
758
759 source "kernel/Kconfig.preempt"
760
761 config GUSA
762         def_bool y
763         depends on !SMP && SUPERH32
764         help
765           This enables support for gUSA (general UserSpace Atomicity).
766           This is the default implementation for both UP and non-ll/sc
767           CPUs, and is used by the libc, amongst others.
768
769           For additional information, design information can be found 
770           in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
771
772           This should only be disabled for special cases where alternate
773           atomicity implementations exist.
774
775 config GUSA_RB
776         bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)"
777         depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A)
778         help
779           Enabling this option will allow the kernel to implement some
780           atomic operations using a software implementation of load-locked/
781           store-conditional (LLSC). On machines which do not have hardware
782           LLSC, this should be more efficient than the other alternative of
783           disabling interrupts around the atomic sequence.
784
785 config HW_PERF_EVENTS
786         bool "Enable hardware performance counter support for perf events"
787         depends on PERF_EVENTS && CPU_HAS_PMU
788         default y
789         help
790           Enable hardware performance counter support for perf events. If
791           disabled, perf events will use software events only.
792
793 source "drivers/sh/Kconfig"
794
795 endmenu
796
797 menu "Boot options"
798
799 config ZERO_PAGE_OFFSET
800         hex
801         default "0x00010000" if PAGE_SIZE_64KB || SH_RTS7751R2D || \
802                                 SH_7751_SOLUTION_ENGINE
803         default "0x00004000" if PAGE_SIZE_16KB || SH_SH03
804         default "0x00002000" if PAGE_SIZE_8KB
805         default "0x00001000"
806         help
807           This sets the default offset of zero page.
808
809 config BOOT_LINK_OFFSET
810         hex
811         default "0x00210000" if SH_SHMIN
812         default "0x00400000" if SH_CAYMAN
813         default "0x00810000" if SH_7780_SOLUTION_ENGINE
814         default "0x009e0000" if SH_TITAN
815         default "0x01800000" if SH_SDK7780
816         default "0x02000000" if SH_EDOSK7760
817         default "0x00800000"
818         help
819           This option allows you to set the link address offset of the zImage.
820           This can be useful if you are on a board which has a small amount of
821           memory.
822
823 config ENTRY_OFFSET
824         hex
825         default "0x00001000" if PAGE_SIZE_4KB
826         default "0x00002000" if PAGE_SIZE_8KB
827         default "0x00004000" if PAGE_SIZE_16KB
828         default "0x00010000" if PAGE_SIZE_64KB
829         default "0x00000000"
830
831 config ROMIMAGE_MMCIF
832         bool "Include MMCIF loader in romImage (EXPERIMENTAL)"
833         depends on CPU_SUBTYPE_SH7724
834         help
835           Say Y here to include experimental MMCIF loading code in
836           romImage. With this enabled it is possible to write the romImage
837           kernel image to an MMC card and boot the kernel straight from
838           the reset vector. At reset the processor Mask ROM will load the
839           first part of the romImage which in turn loads the rest the kernel
840           image to RAM using the MMCIF hardware block.
841
842 choice
843         prompt "Kernel command line"
844         optional
845         default CMDLINE_OVERWRITE
846         help
847           Setting this option allows the kernel command line arguments
848           to be set.
849
850 config CMDLINE_OVERWRITE
851         bool "Overwrite bootloader kernel arguments"
852         help
853           Given string will overwrite any arguments passed in by
854           a bootloader.
855
856 config CMDLINE_EXTEND
857         bool "Extend bootloader kernel arguments"
858         help
859           Given string will be concatenated with arguments passed in
860           by a bootloader.
861
862 endchoice
863
864 config CMDLINE
865         string "Kernel command line arguments string"
866         depends on CMDLINE_OVERWRITE || CMDLINE_EXTEND
867         default "console=ttySC1,115200"
868
869 endmenu
870
871 menu "Bus options"
872
873 config SUPERHYWAY
874         tristate "SuperHyway Bus support"
875         depends on CPU_SUBTYPE_SH4_202
876
877 config MAPLE
878         bool "Maple Bus support"
879         depends on SH_DREAMCAST
880         help
881          The Maple Bus is SEGA's serial communication bus for peripherals
882          on the Dreamcast. Without this bus support you won't be able to
883          get your Dreamcast keyboard etc to work, so most users
884          probably want to say 'Y' here, unless you are only using the
885          Dreamcast with a serial line terminal or a remote network
886          connection.
887
888 config PCI
889         bool "PCI support"
890         depends on SYS_SUPPORTS_PCI
891         select PCI_DOMAINS
892         select GENERIC_PCI_IOMAP
893         select NO_GENERIC_PCI_IOPORT_MAP
894         help
895           Find out whether you have a PCI motherboard. PCI is the name of a
896           bus system, i.e. the way the CPU talks to the other stuff inside
897           your box. If you have PCI, say Y, otherwise N.
898
899 config PCI_DOMAINS
900         bool
901
902 source "drivers/pci/pcie/Kconfig"
903
904 source "drivers/pci/Kconfig"
905
906 source "drivers/pcmcia/Kconfig"
907
908 source "drivers/pci/hotplug/Kconfig"
909
910 endmenu
911
912 menu "Executable file formats"
913
914 source "fs/Kconfig.binfmt"
915
916 endmenu
917
918 menu "Power management options (EXPERIMENTAL)"
919
920 source "kernel/power/Kconfig"
921
922 source "drivers/cpuidle/Kconfig"
923
924 endmenu
925
926 source "net/Kconfig"
927
928 source "drivers/Kconfig"
929
930 source "fs/Kconfig"
931
932 source "arch/sh/Kconfig.debug"
933
934 source "security/Kconfig"
935
936 source "crypto/Kconfig"
937
938 source "lib/Kconfig"