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