sh: remove old MTU2 driver
[deliverable/linux.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
9483a578 11 select HAVE_CLK
ec7748b5 12 select HAVE_IDE
42d4b839 13 select HAVE_OPROFILE
9de90ac2 14 select HAVE_GENERIC_DMA_COHERENT
21944781 15 select HAVE_IOREMAP_PROT if MMU
d7b01f78 16 select HAVE_ARCH_TRACEHOOK
f802d969 17 select HAVE_DMA_API_DEBUG
1da177e4
LT
18 help
19 The SuperH is a RISC processor targeted for use in embedded systems
20 and consumer electronics; it was also used in the Sega Dreamcast
21 gaming console. The SuperH port has a home page at
22 <http://www.linux-sh.org/>.
23
39d28a2d 24config SUPERH32
3cc000b5 25 def_bool ARCH = "sh"
d39f5450
CS
26 select HAVE_KPROBES
27 select HAVE_KRETPROBES
694f94f2 28 select HAVE_FUNCTION_TRACER
fad57feb
MF
29 select HAVE_FTRACE_MCOUNT_RECORD
30 select HAVE_DYNAMIC_FTRACE
ab6e570b 31 select HAVE_ARCH_KGDB
8dafc346 32 select ARCH_HIBERNATION_POSSIBLE if MMU
47c8a08b 33 select RTC_LIB
ea0e1a9a
PM
34
35config SUPERH64
3cc000b5 36 def_bool ARCH = "sh64"
39d28a2d 37
f42b7e3d
PM
38config ARCH_DEFCONFIG
39 string
40 default "arch/sh/configs/shx3_defconfig" if SUPERH32
41 default "arch/sh/configs/cayman_defconfig" if SUPERH64
42
1da177e4 43config RWSEM_GENERIC_SPINLOCK
d7ef4fb3 44 def_bool y
1da177e4
LT
45
46config RWSEM_XCHGADD_ALGORITHM
47 bool
48
fa691511
PM
49config GENERIC_BUG
50 def_bool y
a82d53ec 51 depends on BUG && SUPERH32
fa691511 52
e2268c71 53config GENERIC_FIND_NEXT_BIT
d7ef4fb3 54 def_bool y
e2268c71
AM
55
56config GENERIC_HWEIGHT
d7ef4fb3 57 def_bool y
e2268c71 58
1da177e4 59config GENERIC_HARDIRQS
d7ef4fb3 60 def_bool y
1da177e4 61
5093c9a4
PM
62config GENERIC_HARDIRQS_NO__DO_IRQ
63 def_bool y
64
1da177e4 65config GENERIC_IRQ_PROBE
d7ef4fb3 66 def_bool y
1da177e4 67
2967dab1
MD
68config GENERIC_GPIO
69 def_bool n
70
1da177e4 71config GENERIC_CALIBRATE_DELAY
cf204fa7 72 bool
1da177e4 73
cad82448
PM
74config GENERIC_IOMAP
75 bool
76
45882145 77config GENERIC_TIME
75634311 78 def_bool y
45882145 79
57be2b48
PM
80config GENERIC_CLOCKEVENTS
81 def_bool n
82
8c24594d
PM
83config GENERIC_CLOCKEVENTS_BROADCAST
84 bool
85
bdcab87b
PM
86config GENERIC_LOCKBREAK
87 def_bool y
88 depends on SMP && PREEMPT
89
357d5946
PM
90config SYS_SUPPORTS_PM
91 bool
af998a9a
MD
92 depends on !SMP
93
94config ARCH_SUSPEND_POSSIBLE
95 def_bool n
96
97config ARCH_HIBERNATION_POSSIBLE
98 def_bool n
357d5946 99
0a9b0db1
PM
100config SYS_SUPPORTS_APM_EMULATION
101 bool
af998a9a 102 select ARCH_SUSPEND_POSSIBLE
357d5946
PM
103
104config SYS_SUPPORTS_SMP
105 bool
106
107config SYS_SUPPORTS_NUMA
108 bool
109
110config SYS_SUPPORTS_PCI
111 bool
0a9b0db1 112
f5ad881b
PM
113config SYS_SUPPORTS_CMT
114 bool
115
d5ed4c2e
MD
116config SYS_SUPPORTS_MTU2
117 bool
118
afbfb52e 119config STACKTRACE_SUPPORT
d7ef4fb3 120 def_bool y
afbfb52e
PM
121
122config LOCKDEP_SUPPORT
d7ef4fb3 123 def_bool y
afbfb52e 124
5a89f1ad
PM
125config HAVE_LATENCYTOP_SUPPORT
126 def_bool y
127 depends on !SMP
128
f0d1b0b3 129config ARCH_HAS_ILOG2_U32
d7ef4fb3 130 def_bool n
f0d1b0b3
DH
131
132config ARCH_HAS_ILOG2_U64
d7ef4fb3 133 def_bool n
f0d1b0b3 134
e257ad06
PM
135config ARCH_NO_VIRT_TO_BUS
136 def_bool y
137
e869a90e
PM
138config ARCH_HAS_DEFAULT_IDLE
139 def_bool y
140
e7cc9a73
MD
141config IO_TRAPPED
142 bool
143
1da177e4
LT
144source "init/Kconfig"
145
dc52ddc0
MH
146source "kernel/Kconfig.freezer"
147
1da177e4
LT
148menu "System type"
149
b5f42db0
PM
150#
151# Processor families
152#
153config CPU_SH2
154 bool
155
156config CPU_SH2A
157 bool
158 select CPU_SH2
159
160config CPU_SH3
161 bool
162 select CPU_HAS_INTEVT
163 select CPU_HAS_SR_RB
164
165config CPU_SH4
166 bool
167 select CPU_HAS_INTEVT
168 select CPU_HAS_SR_RB
169 select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2
170 select CPU_HAS_FPU if !CPU_SH4AL_DSP
171
172config CPU_SH4A
173 bool
174 select CPU_SH4
175
176config CPU_SH4AL_DSP
177 bool
178 select CPU_SH4A
179 select CPU_HAS_DSP
180
ea0e1a9a
PM
181config CPU_SH5
182 bool
183 select CPU_HAS_FPU
184
b5f42db0
PM
185config CPU_SHX2
186 bool
187
188config CPU_SHX3
189 bool
190
dc65a977
PM
191config ARCH_SHMOBILE
192 bool
77594912 193 select ARCH_SUSPEND_POSSIBLE
dc65a977 194
3cc000b5
PM
195if SUPERH32
196
b5f42db0
PM
197choice
198 prompt "Processor sub-type selection"
199
200#
201# Processor subtypes
202#
203
204# SH-2 Processor Support
205
206config CPU_SUBTYPE_SH7619
207 bool "Support SH7619 processor"
208 select CPU_SH2
f5ad881b 209 select SYS_SUPPORTS_CMT
b5f42db0
PM
210
211# SH-2A Processor Support
212
2825999e
PG
213config CPU_SUBTYPE_SH7201
214 bool "Support SH7201 processor"
215 select CPU_SH2A
216 select CPU_HAS_FPU
da107c6e 217 select SYS_SUPPORTS_MTU2
2825999e 218
6d01f510
PM
219config CPU_SUBTYPE_SH7203
220 bool "Support SH7203 processor"
221 select CPU_SH2A
74d99a5e 222 select CPU_HAS_FPU
f5ad881b 223 select SYS_SUPPORTS_CMT
da107c6e 224 select SYS_SUPPORTS_MTU2
6d01f510 225
b5f42db0
PM
226config CPU_SUBTYPE_SH7206
227 bool "Support SH7206 processor"
228 select CPU_SH2A
f5ad881b 229 select SYS_SUPPORTS_CMT
da107c6e 230 select SYS_SUPPORTS_MTU2
b5f42db0 231
a8f67f4b
PM
232config CPU_SUBTYPE_SH7263
233 bool "Support SH7263 processor"
234 select CPU_SH2A
74d99a5e 235 select CPU_HAS_FPU
f5ad881b 236 select SYS_SUPPORTS_CMT
da107c6e 237 select SYS_SUPPORTS_MTU2
a8f67f4b 238
2ad69908
PM
239config CPU_SUBTYPE_MXG
240 bool "Support MX-G processor"
241 select CPU_SH2A
da107c6e 242 select SYS_SUPPORTS_MTU2
2ad69908
PM
243 help
244 Select MX-G if running on an R8A03022BG part.
245
b5f42db0
PM
246# SH-3 Processor Support
247
248config CPU_SUBTYPE_SH7705
249 bool "Support SH7705 processor"
250 select CPU_SH3
251
252config CPU_SUBTYPE_SH7706
253 bool "Support SH7706 processor"
254 select CPU_SH3
255 help
256 Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
257
258config CPU_SUBTYPE_SH7707
259 bool "Support SH7707 processor"
260 select CPU_SH3
261 help
262 Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU.
263
264config CPU_SUBTYPE_SH7708
265 bool "Support SH7708 processor"
266 select CPU_SH3
267 help
268 Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or
269 if you have a 100 Mhz SH-3 HD6417708R CPU.
270
271config CPU_SUBTYPE_SH7709
272 bool "Support SH7709 processor"
273 select CPU_SH3
274 help
275 Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU.
276
277config CPU_SUBTYPE_SH7710
278 bool "Support SH7710 processor"
279 select CPU_SH3
280 select CPU_HAS_DSP
281 help
282 Select SH7710 if you have a SH3-DSP SH7710 CPU.
283
284config CPU_SUBTYPE_SH7712
285 bool "Support SH7712 processor"
286 select CPU_SH3
287 select CPU_HAS_DSP
288 help
289 Select SH7712 if you have a SH3-DSP SH7712 CPU.
290
291config CPU_SUBTYPE_SH7720
292 bool "Support SH7720 processor"
293 select CPU_SH3
294 select CPU_HAS_DSP
295 help
296 Select SH7720 if you have a SH3-DSP SH7720 CPU.
297
31a49c4b
YS
298config CPU_SUBTYPE_SH7721
299 bool "Support SH7721 processor"
300 select CPU_SH3
301 select CPU_HAS_DSP
302 help
303 Select SH7721 if you have a SH3-DSP SH7721 CPU.
304
b5f42db0
PM
305# SH-4 Processor Support
306
307config CPU_SUBTYPE_SH7750
308 bool "Support SH7750 processor"
309 select CPU_SH4
310 help
311 Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
312
313config CPU_SUBTYPE_SH7091
314 bool "Support SH7091 processor"
315 select CPU_SH4
316 help
317 Select SH7091 if you have an SH-4 based Sega device (such as
318 the Dreamcast, Naomi, and Naomi 2).
319
320config CPU_SUBTYPE_SH7750R
321 bool "Support SH7750R processor"
322 select CPU_SH4
323
324config CPU_SUBTYPE_SH7750S
325 bool "Support SH7750S processor"
326 select CPU_SH4
327
328config CPU_SUBTYPE_SH7751
329 bool "Support SH7751 processor"
330 select CPU_SH4
331 help
332 Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
333 or if you have a HD6417751R CPU.
334
335config CPU_SUBTYPE_SH7751R
336 bool "Support SH7751R processor"
337 select CPU_SH4
338
339config CPU_SUBTYPE_SH7760
340 bool "Support SH7760 processor"
341 select CPU_SH4
342
343config CPU_SUBTYPE_SH4_202
344 bool "Support SH4-202 processor"
345 select CPU_SH4
346
347# SH-4A Processor Support
348
178dd0cd
PM
349config CPU_SUBTYPE_SH7723
350 bool "Support SH7723 processor"
351 select CPU_SH4A
352 select CPU_SHX2
dc65a977 353 select ARCH_SHMOBILE
178dd0cd 354 select ARCH_SPARSEMEM_ENABLE
f5ad881b 355 select SYS_SUPPORTS_CMT
178dd0cd
PM
356 help
357 Select SH7723 if you have an SH-MobileR2 CPU.
358
0207a2ef
KM
359config CPU_SUBTYPE_SH7724
360 bool "Support SH7724 processor"
361 select CPU_SH4A
362 select CPU_SHX2
59fe700d 363 select ARCH_SHMOBILE
0207a2ef
KM
364 select ARCH_SPARSEMEM_ENABLE
365 select SYS_SUPPORTS_CMT
366 help
367 Select SH7724 if you have an SH-MobileR2R CPU.
368
7d740a06
YS
369config CPU_SUBTYPE_SH7763
370 bool "Support SH7763 processor"
371 select CPU_SH4A
372 help
373 Select SH7763 if you have a SH4A SH7763(R5S77631) CPU.
374
b5f42db0
PM
375config CPU_SUBTYPE_SH7770
376 bool "Support SH7770 processor"
377 select CPU_SH4A
378
379config CPU_SUBTYPE_SH7780
380 bool "Support SH7780 processor"
381 select CPU_SH4A
382
383config CPU_SUBTYPE_SH7785
384 bool "Support SH7785 processor"
385 select CPU_SH4A
386 select CPU_SHX2
55ba99eb
KM
387 select ARCH_SPARSEMEM_ENABLE
388 select SYS_SUPPORTS_NUMA
389
390config CPU_SUBTYPE_SH7786
391 bool "Support SH7786 processor"
392 select CPU_SH4A
37042fbd 393 select CPU_SHX3
8263a67e 394 select CPU_HAS_PTEAEX
b5f42db0
PM
395 select ARCH_SPARSEMEM_ENABLE
396 select SYS_SUPPORTS_NUMA
397
398config CPU_SUBTYPE_SHX3
399 bool "Support SH-X3 processor"
400 select CPU_SH4A
401 select CPU_SHX3
402 select ARCH_SPARSEMEM_ENABLE
403 select SYS_SUPPORTS_NUMA
404 select SYS_SUPPORTS_SMP
5840263e 405 select GENERIC_CLOCKEVENTS_BROADCAST if SMP
b5f42db0
PM
406
407# SH4AL-DSP Processor Support
408
409config CPU_SUBTYPE_SH7343
410 bool "Support SH7343 processor"
411 select CPU_SH4AL_DSP
dc65a977 412 select ARCH_SHMOBILE
f5ad881b 413 select SYS_SUPPORTS_CMT
b5f42db0
PM
414
415config CPU_SUBTYPE_SH7722
416 bool "Support SH7722 processor"
417 select CPU_SH4AL_DSP
418 select CPU_SHX2
dc65a977 419 select ARCH_SHMOBILE
b5f42db0
PM
420 select ARCH_SPARSEMEM_ENABLE
421 select SYS_SUPPORTS_NUMA
f5ad881b 422 select SYS_SUPPORTS_CMT
9109a30e
MD
423
424config CPU_SUBTYPE_SH7366
425 bool "Support SH7366 processor"
426 select CPU_SH4AL_DSP
427 select CPU_SHX2
dc65a977 428 select ARCH_SHMOBILE
9109a30e
MD
429 select ARCH_SPARSEMEM_ENABLE
430 select SYS_SUPPORTS_NUMA
f5ad881b 431 select SYS_SUPPORTS_CMT
b5f42db0 432
3cc000b5
PM
433endchoice
434
435endif
436
437if SUPERH64
438
439choice
440 prompt "Processor sub-type selection"
441
ea0e1a9a
PM
442# SH-5 Processor Support
443
444config CPU_SUBTYPE_SH5_101
445 bool "Support SH5-101 processor"
446 select CPU_SH5
447
448config CPU_SUBTYPE_SH5_103
449 bool "Support SH5-103 processor"
8ef97dd7 450 select CPU_SH5
ea0e1a9a 451
b5f42db0
PM
452endchoice
453
3cc000b5
PM
454endif
455
f3d22298 456source "arch/sh/mm/Kconfig"
939a24a6 457
4690bdc7 458source "arch/sh/Kconfig.cpu"
f3d22298 459
939a24a6 460source "arch/sh/boards/Kconfig"
32351a28 461
32351a28
PM
462menu "Timer and clock configuration"
463
cad82448 464config SH_TMU
f5ad881b 465 bool "TMU timer support"
9d4436a6 466 depends on CPU_SH3 || CPU_SH4
f5ad881b 467 default y
57be2b48
PM
468 select GENERIC_TIME
469 select GENERIC_CLOCKEVENTS
1da177e4 470 help
cad82448 471 This enables the use of the TMU as the system timer.
1da177e4 472
f5ad881b 473config SH_TIMER_CMT
f425752f
MD
474 bool "CMT timer driver"
475 depends on SYS_SUPPORTS_CMT
476 default y
f5ad881b 477 select GENERIC_CLOCKEVENTS
5be7c0a4 478 select GENERIC_TIME
f425752f
MD
479 help
480 This enables build of the CMT timer driver.
f5ad881b 481
d5ed4c2e
MD
482config SH_TIMER_MTU2
483 bool "MTU2 timer driver"
3280c886 484 depends on SYS_SUPPORTS_MTU2
d5ed4c2e
MD
485 default y
486 select GENERIC_CLOCKEVENTS
487 help
488 This enables build of the MTU2 timer driver.
489
417528a2
PM
490config SH_TIMER_IRQ
491 int
7d740a06
YS
492 default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || \
493 CPU_SUBTYPE_SH7763
417528a2
PM
494 default "86" if CPU_SUBTYPE_SH7619
495 default "140" if CPU_SUBTYPE_SH7206
d63f3a58
PM
496 default "142" if CPU_SUBTYPE_SH7203 && SH_CMT
497 default "153" if CPU_SUBTYPE_SH7203 && SH_MTU2
2ad69908 498 default "238" if CPU_SUBTYPE_MXG
417528a2
PM
499 default "16"
500
cad82448
PM
501config SH_PCLK_FREQ
502 int "Peripheral clock frequency (in Hz)"
870e8a24 503 default "27000000" if CPU_SUBTYPE_SH7343
9d4436a6 504 default "31250000" if CPU_SUBTYPE_SH7619
05627486 505 default "32000000" if CPU_SUBTYPE_SH7722
178dd0cd 506 default "33333333" if CPU_SUBTYPE_SH7770 || CPU_SUBTYPE_SH7723 || \
9d4436a6 507 CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
a8f67f4b 508 CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \
a4b1fddc
PM
509 CPU_SUBTYPE_SH7263 || CPU_SUBTYPE_MXG || \
510 CPU_SUBTYPE_SH7786
0207a2ef 511 default "41666666" if CPU_SUBTYPE_SH7724
05627486 512 default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
cad82448 513 default "66000000" if CPU_SUBTYPE_SH4_202
05627486 514 default "50000000"
1da177e4 515 help
cad82448
PM
516 This option is used to specify the peripheral clock frequency.
517 This is necessary for determining the reference clock value on
518 platforms lacking an RTC.
1da177e4 519
9d4436a6
YS
520config SH_CLK_MD
521 int "CPU Mode Pin Setting"
6d01f510 522 depends on CPU_SH2
357d5946
PM
523 default 6 if CPU_SUBTYPE_SH7206
524 default 5 if CPU_SUBTYPE_SH7619
525 default 0
9d4436a6 526 help
11cbb70e 527 MD2 - MD0 pin setting.
9d4436a6 528
57be2b48
PM
529source "kernel/time/Kconfig"
530
32351a28
PM
531endmenu
532
cad82448
PM
533menu "CPU Frequency scaling"
534
535source "drivers/cpufreq/Kconfig"
1da177e4 536
cad82448
PM
537config SH_CPU_FREQ
538 tristate "SuperH CPU Frequency driver"
cb5ec75b 539 depends on CPU_FREQ
cad82448 540 select CPU_FREQ_TABLE
1da177e4 541 help
8a655053
PM
542 This adds the cpufreq driver for SuperH. Any CPU that supports
543 clock rate rounding through the clock framework can use this
544 driver. While it will make the kernel slightly larger, this is
545 harmless for CPUs that don't support rate rounding. The driver
546 will also generate a notice in the boot log before disabling
547 itself if the CPU in question is not capable of rate rounding.
1da177e4 548
cad82448 549 For details, take a look at <file:Documentation/cpu-freq>.
1da177e4
LT
550
551 If unsure, say N.
552
cad82448
PM
553endmenu
554
9f5e8eee
PM
555source "arch/sh/drivers/Kconfig"
556
cad82448 557endmenu
1da177e4 558
cad82448
PM
559menu "Kernel features"
560
91b91d01
PM
561source kernel/Kconfig.hz
562
cad82448
PM
563config KEXEC
564 bool "kexec system call (EXPERIMENTAL)"
f36b59d1 565 depends on SUPERH32 && EXPERIMENTAL && MMU
1da177e4 566 help
cad82448
PM
567 kexec is a system call that implements the ability to shutdown your
568 current kernel, and to start another kernel. It is like a reboot
1f1332f7 569 but it is independent of the system firmware. And like a reboot
cad82448
PM
570 you can start any kernel with it, not just Linux.
571
1f1332f7 572 The name comes from the similarity to the exec system call.
cad82448
PM
573
574 It is an ongoing process to be certain the hardware in a machine
575 is properly shutdown, so do not be surprised if this code does not
576 initially work for you. It may help to enable device hotplugging
577 support. As of this writing the exact hardware interface is
578 strongly in flux, so no good recommendation can be made.
579
4d5ade5b
PM
580config CRASH_DUMP
581 bool "kernel crash dumps (EXPERIMENTAL)"
640f7487 582 depends on SUPERH32 && EXPERIMENTAL
4d5ade5b
PM
583 help
584 Generate crash dump after being started by kexec.
585 This should be normally only set in special crash dump kernels
586 which are loaded in the main kernel with kexec-tools into
587 a specially reserved region and then later executed after
588 a crash by kdump/kexec. The crash dump kernel must be compiled
589 to a memory address not used by the main kernel using
590 MEMORY_START.
591
592 For more details see Documentation/kdump/kdump.txt
593
b7cf6ddc
MD
594config KEXEC_JUMP
595 bool "kexec jump (EXPERIMENTAL)"
596 depends on SUPERH32 && KEXEC && HIBERNATION && EXPERIMENTAL
597 help
598 Jump between original kernel and kexeced kernel and invoke
599 code via KEXEC
600
c4637d47
PM
601config SECCOMP
602 bool "Enable seccomp to safely compute untrusted bytecode"
603 depends on PROC_FS
c4637d47
PM
604 help
605 This kernel feature is useful for number crunching applications
606 that may need to compute untrusted bytecode during their
607 execution. By using pipes or other transports made available to
608 the process as file descriptors supporting the read/write
609 syscalls, it's possible to isolate those applications in
610 their own address space using seccomp. Once seccomp is
611 enabled via prctl, it cannot be disabled and the task is only
612 allowed to execute a few safe syscalls defined by each seccomp
613 mode.
614
615 If unsure, say N.
616
1da177e4
LT
617config SMP
618 bool "Symmetric multi-processing support"
357d5946 619 depends on SYS_SUPPORTS_SMP
490f5de5 620 select USE_GENERIC_SMP_HELPERS
1da177e4
LT
621 ---help---
622 This enables support for systems with more than one CPU. If you have
623 a system with only one CPU, like most personal computers, say N. If
624 you have a system with more than one CPU, say Y.
625
626 If you say N here, the kernel will run on single and multiprocessor
627 machines, but will use only one CPU of a multiprocessor machine. If
628 you say Y here, the kernel will run on many, but not all,
629 singleprocessor machines. On a singleprocessor machine, the kernel
630 will run faster if you say N here.
631
632 People using multiprocessor machines who say Y here should also say
633 Y to "Enhanced Real Time Clock Support", below.
634
03502faa
AB
635 See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
636 available at <http://www.tldp.org/docs.html#howto>.
1da177e4
LT
637
638 If you don't know what to do here, say N.
639
640config NR_CPUS
641 int "Maximum number of CPUs (2-32)"
642 range 2 32
643 depends on SMP
2b1bd1ac 644 default "4" if CPU_SHX3
1da177e4
LT
645 default "2"
646 help
647 This allows you to specify the maximum number of CPUs which this
648 kernel will support. The maximum supported value is 32 and the
649 minimum value which makes sense is 2.
650
651 This is purely to save memory - each supported CPU adds
652 approximately eight kilobytes to the kernel image.
653
91b91d01
PM
654source "kernel/Kconfig.preempt"
655
83662461
PM
656config GUSA
657 def_bool y
1efe4ce3 658 depends on !SMP && SUPERH32
83662461
PM
659 help
660 This enables support for gUSA (general UserSpace Atomicity).
661 This is the default implementation for both UP and non-ll/sc
662 CPUs, and is used by the libc, amongst others.
663
664 For additional information, design information can be found
665 in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
666
667 This should only be disabled for special cases where alternate
668 atomicity implementations exist.
669
1efe4ce3
SM
670config GUSA_RB
671 bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)"
672 depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A)
673 help
674 Enabling this option will allow the kernel to implement some
692105b8 675 atomic operations using a software implementation of load-locked/
1efe4ce3
SM
676 store-conditional (LLSC). On machines which do not have hardware
677 LLSC, this should be more efficient than the other alternative of
692105b8 678 disabling interrupts around the atomic sequence.
1efe4ce3 679
cad82448 680endmenu
1da177e4 681
cad82448 682menu "Boot options"
1da177e4 683
cad82448
PM
684config ZERO_PAGE_OFFSET
685 hex "Zero page offset"
f5f826c6 686 default "0x00004000" if SH_SH03
7a847f81
PM
687 default "0x00010000" if PAGE_SIZE_64KB
688 default "0x00002000" if PAGE_SIZE_8KB
cad82448 689 default "0x00001000"
1da177e4 690 help
cad82448 691 This sets the default offset of zero page.
1da177e4 692
cad82448
PM
693config BOOT_LINK_OFFSET
694 hex "Link address offset for booting"
695 default "0x00800000"
696 help
697 This option allows you to set the link address offset of the zImage.
698 This can be useful if you are on a board which has a small amount of
699 memory.
1da177e4 700
cad82448
PM
701config UBC_WAKEUP
702 bool "Wakeup UBC on startup"
0e3a9aab 703 depends on CPU_SH4 && !CPU_SH4A
cad82448
PM
704 help
705 Selecting this option will wakeup the User Break Controller (UBC) on
706 startup. Although the UBC is left in an awake state when the processor
707 comes up, some boot loaders misbehave by putting the UBC to sleep in a
708 power saving state, which causes issues with things like ptrace().
1da177e4 709
cad82448 710 If unsure, say N.
1da177e4 711
cad82448
PM
712config CMDLINE_BOOL
713 bool "Default bootloader kernel arguments"
1da177e4 714
cad82448
PM
715config CMDLINE
716 string "Initial kernel command string"
717 depends on CMDLINE_BOOL
718 default "console=ttySC1,115200"
1da177e4
LT
719
720endmenu
721
cad82448 722menu "Bus options"
1da177e4 723
cad82448
PM
724config SUPERHYWAY
725 tristate "SuperHyway Bus support"
726 depends on CPU_SUBTYPE_SH4_202
1da177e4 727
17be2d2b 728config MAPLE
e16038ab
PM
729 bool "Maple Bus support"
730 depends on SH_DREAMCAST
731 help
732 The Maple Bus is SEGA's serial communication bus for peripherals
733 on the Dreamcast. Without this bus support you won't be able to
734 get your Dreamcast keyboard etc to work, so most users
735 probably want to say 'Y' here, unless you are only using the
736 Dreamcast with a serial line terminal or a remote network
737 connection.
17be2d2b 738
1da177e4
LT
739source "arch/sh/drivers/pci/Kconfig"
740
e16038ab
PM
741source "drivers/pci/pcie/Kconfig"
742
1da177e4
LT
743source "drivers/pci/Kconfig"
744
745source "drivers/pcmcia/Kconfig"
746
747source "drivers/pci/hotplug/Kconfig"
748
749endmenu
750
751menu "Executable file formats"
752
753source "fs/Kconfig.binfmt"
754
755endmenu
756
3aa770e7 757menu "Power management options (EXPERIMENTAL)"
af998a9a 758depends on EXPERIMENTAL
f4cb5700 759
c6f17cb2
MD
760source "kernel/power/Kconfig"
761
762source "drivers/cpuidle/Kconfig"
3aa770e7 763
3aa770e7
AS
764endmenu
765
d5950b43
SR
766source "net/Kconfig"
767
1da177e4
LT
768source "drivers/Kconfig"
769
770source "fs/Kconfig"
771
1da177e4
LT
772source "arch/sh/Kconfig.debug"
773
774source "security/Kconfig"
775
776source "crypto/Kconfig"
777
778source "lib/Kconfig"
This page took 0.484299 seconds and 5 git commands to generate.