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