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