blob: adef42cd507fba89d1b11f7253544b1a24e4b5da [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
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
Paul Mundtea0e1a92007-11-21 15:58:01 +09009 def_bool y
Paul Mundt7a440c92006-09-27 18:18:31 +090010 select EMBEDDED
David Brownell9483a572008-07-23 21:26:48 -070011 select HAVE_CLK
Sam Ravnborgec7748b2008-02-09 10:46:40 +010012 select HAVE_IDE
Mathieu Desnoyers42d4b832008-02-02 15:10:34 -050013 select HAVE_OPROFILE
Dmitry Baryshkov9de90ac2008-07-18 13:30:31 +040014 select HAVE_GENERIC_DMA_COHERENT
Paul Mundt21944782008-09-17 23:26:44 +090015 select HAVE_IOREMAP_PROT if MMU
Linus Torvalds1da177e2005-04-16 15:20:36 -070016 help
17 The SuperH is a RISC processor targeted for use in embedded systems
18 and consumer electronics; it was also used in the Sega Dreamcast
19 gaming console. The SuperH port has a home page at
20 <http://www.linux-sh.org/>.
21
Paul Mundt39d28a22007-11-08 18:39:33 +090022config SUPERH32
Paul Mundtea0e1a92007-11-21 15:58:01 +090023 def_bool !SUPERH64
Chris Smithd39f5452008-09-05 17:15:39 +090024 select HAVE_KPROBES
25 select HAVE_KRETPROBES
Paul Mundt5dadb342008-09-12 22:42:10 +090026 select HAVE_ARCH_TRACEHOOK if !SH_FPU
Paul Mundtea0e1a92007-11-21 15:58:01 +090027
28config SUPERH64
29 def_bool y if CPU_SH5
Paul Mundtcf204fa2008-09-08 20:47:42 +090030 select GENERIC_CALIBRATE_DELAY
Paul Mundt39d28a22007-11-08 18:39:33 +090031
Paul Mundtf42b7e32008-07-29 20:12:51 +090032config ARCH_DEFCONFIG
33 string
34 default "arch/sh/configs/shx3_defconfig" if SUPERH32
35 default "arch/sh/configs/cayman_defconfig" if SUPERH64
36
Linus Torvalds1da177e2005-04-16 15:20:36 -070037config RWSEM_GENERIC_SPINLOCK
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090038 def_bool y
Linus Torvalds1da177e2005-04-16 15:20:36 -070039
40config RWSEM_XCHGADD_ALGORITHM
41 bool
42
Paul Mundtfa691512007-03-08 19:41:21 +090043config GENERIC_BUG
44 def_bool y
Paul Mundta82d53e2007-11-21 18:22:05 +090045 depends on BUG && SUPERH32
Paul Mundtfa691512007-03-08 19:41:21 +090046
Akinobu Mitae2268c72006-03-26 01:39:35 -080047config GENERIC_FIND_NEXT_BIT
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090048 def_bool y
Akinobu Mitae2268c72006-03-26 01:39:35 -080049
50config GENERIC_HWEIGHT
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090051 def_bool y
Akinobu Mitae2268c72006-03-26 01:39:35 -080052
Linus Torvalds1da177e2005-04-16 15:20:36 -070053config GENERIC_HARDIRQS
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090054 def_bool y
Linus Torvalds1da177e2005-04-16 15:20:36 -070055
Paul Mundt5093c9a2008-08-04 14:17:13 +090056config GENERIC_HARDIRQS_NO__DO_IRQ
57 def_bool y
58
Linus Torvalds1da177e2005-04-16 15:20:36 -070059config GENERIC_IRQ_PROBE
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090060 def_bool y
Linus Torvalds1da177e2005-04-16 15:20:36 -070061
62config GENERIC_CALIBRATE_DELAY
Paul Mundtcf204fa2008-09-08 20:47:42 +090063 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -070064
Paul Mundtcad82442006-01-16 22:14:19 -080065config GENERIC_IOMAP
66 bool
67
Paul Mundt45882142006-10-04 13:21:45 +090068config GENERIC_TIME
69 def_bool n
70
Paul Mundt57be2b42007-05-09 17:33:24 +090071config GENERIC_CLOCKEVENTS
72 def_bool n
73
Paul Mundt8c245942008-08-06 18:37:07 +090074config GENERIC_CLOCKEVENTS_BROADCAST
75 bool
76
Paul Mundtbdcab872008-08-04 14:09:15 +090077config GENERIC_LOCKBREAK
78 def_bool y
79 depends on SMP && PREEMPT
80
Paul Mundt357d5942007-06-11 15:32:07 +090081config SYS_SUPPORTS_PM
82 bool
83
Paul Mundt0a9b0db2007-01-24 21:56:20 +090084config SYS_SUPPORTS_APM_EMULATION
85 bool
Paul Mundt357d5942007-06-11 15:32:07 +090086 select SYS_SUPPORTS_PM
87
88config SYS_SUPPORTS_SMP
89 bool
90
91config SYS_SUPPORTS_NUMA
92 bool
93
94config SYS_SUPPORTS_PCI
95 bool
Paul Mundt0a9b0db2007-01-24 21:56:20 +090096
Paul Mundtafbfb522006-12-04 18:17:28 +090097config STACKTRACE_SUPPORT
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090098 def_bool y
Paul Mundtafbfb522006-12-04 18:17:28 +090099
100config LOCKDEP_SUPPORT
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900101 def_bool y
Paul Mundtafbfb522006-12-04 18:17:28 +0900102
Paul Mundt5a89f1a2008-09-13 01:44:03 +0900103config HAVE_LATENCYTOP_SUPPORT
104 def_bool y
105 depends on !SMP
106
David Howellsf0d1b0b2006-12-08 02:37:49 -0800107config ARCH_HAS_ILOG2_U32
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900108 def_bool n
David Howellsf0d1b0b2006-12-08 02:37:49 -0800109
110config ARCH_HAS_ILOG2_U64
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900111 def_bool n
David Howellsf0d1b0b2006-12-08 02:37:49 -0800112
Paul Mundte257ad02007-07-25 11:18:00 +0900113config ARCH_NO_VIRT_TO_BUS
114 def_bool y
115
Magnus Damme7cc9a72008-02-07 20:18:21 +0900116config IO_TRAPPED
117 bool
118
Linus Torvalds1da177e2005-04-16 15:20:36 -0700119source "init/Kconfig"
120
121menu "System type"
122
Paul Mundtb5f42db2007-11-08 18:38:14 +0900123#
124# Processor families
125#
126config CPU_SH2
127 bool
128
129config CPU_SH2A
130 bool
131 select CPU_SH2
132
133config CPU_SH3
134 bool
135 select CPU_HAS_INTEVT
136 select CPU_HAS_SR_RB
137
138config CPU_SH4
139 bool
140 select CPU_HAS_INTEVT
141 select CPU_HAS_SR_RB
142 select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2
143 select CPU_HAS_FPU if !CPU_SH4AL_DSP
144
145config CPU_SH4A
146 bool
147 select CPU_SH4
148
149config CPU_SH4AL_DSP
150 bool
151 select CPU_SH4A
152 select CPU_HAS_DSP
153
Paul Mundtea0e1a92007-11-21 15:58:01 +0900154config CPU_SH5
155 bool
156 select CPU_HAS_FPU
157
Paul Mundtb5f42db2007-11-08 18:38:14 +0900158config CPU_SHX2
159 bool
160
161config CPU_SHX3
162 bool
163
164choice
165 prompt "Processor sub-type selection"
166
167#
168# Processor subtypes
169#
170
171# SH-2 Processor Support
172
173config CPU_SUBTYPE_SH7619
174 bool "Support SH7619 processor"
175 select CPU_SH2
176
177# SH-2A Processor Support
178
Paul Mundt6d01f512007-11-26 18:17:21 +0900179config CPU_SUBTYPE_SH7203
180 bool "Support SH7203 processor"
181 select CPU_SH2A
Paul Mundt74d99a52007-11-26 20:38:36 +0900182 select CPU_HAS_FPU
Paul Mundt6d01f512007-11-26 18:17:21 +0900183
Paul Mundtb5f42db2007-11-08 18:38:14 +0900184config CPU_SUBTYPE_SH7206
185 bool "Support SH7206 processor"
186 select CPU_SH2A
187
Paul Mundta8f67f42007-11-26 19:54:02 +0900188config CPU_SUBTYPE_SH7263
189 bool "Support SH7263 processor"
190 select CPU_SH2A
Paul Mundt74d99a52007-11-26 20:38:36 +0900191 select CPU_HAS_FPU
Paul Mundta8f67f42007-11-26 19:54:02 +0900192
Paul Mundt2ad69902008-03-13 12:52:44 +0900193config CPU_SUBTYPE_MXG
194 bool "Support MX-G processor"
195 select CPU_SH2A
196 help
197 Select MX-G if running on an R8A03022BG part.
198
Paul Mundtb5f42db2007-11-08 18:38:14 +0900199# SH-3 Processor Support
200
201config CPU_SUBTYPE_SH7705
202 bool "Support SH7705 processor"
203 select CPU_SH3
204
205config CPU_SUBTYPE_SH7706
206 bool "Support SH7706 processor"
207 select CPU_SH3
208 help
209 Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
210
211config CPU_SUBTYPE_SH7707
212 bool "Support SH7707 processor"
213 select CPU_SH3
214 help
215 Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU.
216
217config CPU_SUBTYPE_SH7708
218 bool "Support SH7708 processor"
219 select CPU_SH3
220 help
221 Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or
222 if you have a 100 Mhz SH-3 HD6417708R CPU.
223
224config CPU_SUBTYPE_SH7709
225 bool "Support SH7709 processor"
226 select CPU_SH3
227 help
228 Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU.
229
230config CPU_SUBTYPE_SH7710
231 bool "Support SH7710 processor"
232 select CPU_SH3
233 select CPU_HAS_DSP
234 help
235 Select SH7710 if you have a SH3-DSP SH7710 CPU.
236
237config CPU_SUBTYPE_SH7712
238 bool "Support SH7712 processor"
239 select CPU_SH3
240 select CPU_HAS_DSP
241 help
242 Select SH7712 if you have a SH3-DSP SH7712 CPU.
243
244config CPU_SUBTYPE_SH7720
245 bool "Support SH7720 processor"
246 select CPU_SH3
247 select CPU_HAS_DSP
248 help
249 Select SH7720 if you have a SH3-DSP SH7720 CPU.
250
Yoshihiro Shimoda31a49c42007-12-26 11:45:06 +0900251config CPU_SUBTYPE_SH7721
252 bool "Support SH7721 processor"
253 select CPU_SH3
254 select CPU_HAS_DSP
255 help
256 Select SH7721 if you have a SH3-DSP SH7721 CPU.
257
Paul Mundtb5f42db2007-11-08 18:38:14 +0900258# SH-4 Processor Support
259
260config CPU_SUBTYPE_SH7750
261 bool "Support SH7750 processor"
262 select CPU_SH4
263 help
264 Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
265
266config CPU_SUBTYPE_SH7091
267 bool "Support SH7091 processor"
268 select CPU_SH4
269 help
270 Select SH7091 if you have an SH-4 based Sega device (such as
271 the Dreamcast, Naomi, and Naomi 2).
272
273config CPU_SUBTYPE_SH7750R
274 bool "Support SH7750R processor"
275 select CPU_SH4
276
277config CPU_SUBTYPE_SH7750S
278 bool "Support SH7750S processor"
279 select CPU_SH4
280
281config CPU_SUBTYPE_SH7751
282 bool "Support SH7751 processor"
283 select CPU_SH4
284 help
285 Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
286 or if you have a HD6417751R CPU.
287
288config CPU_SUBTYPE_SH7751R
289 bool "Support SH7751R processor"
290 select CPU_SH4
291
292config CPU_SUBTYPE_SH7760
293 bool "Support SH7760 processor"
294 select CPU_SH4
295
296config CPU_SUBTYPE_SH4_202
297 bool "Support SH4-202 processor"
298 select CPU_SH4
299
300# SH-4A Processor Support
301
Paul Mundt178dd0c2008-04-09 17:56:18 +0900302config CPU_SUBTYPE_SH7723
303 bool "Support SH7723 processor"
304 select CPU_SH4A
305 select CPU_SHX2
306 select ARCH_SPARSEMEM_ENABLE
Paul Mundt178dd0c2008-04-09 17:56:18 +0900307 help
308 Select SH7723 if you have an SH-MobileR2 CPU.
309
Yoshihiro Shimoda7d740a02008-01-07 14:40:07 +0900310config CPU_SUBTYPE_SH7763
311 bool "Support SH7763 processor"
312 select CPU_SH4A
313 help
314 Select SH7763 if you have a SH4A SH7763(R5S77631) CPU.
315
Paul Mundtb5f42db2007-11-08 18:38:14 +0900316config CPU_SUBTYPE_SH7770
317 bool "Support SH7770 processor"
318 select CPU_SH4A
319
320config CPU_SUBTYPE_SH7780
321 bool "Support SH7780 processor"
322 select CPU_SH4A
323
324config CPU_SUBTYPE_SH7785
325 bool "Support SH7785 processor"
326 select CPU_SH4A
327 select CPU_SHX2
328 select ARCH_SPARSEMEM_ENABLE
329 select SYS_SUPPORTS_NUMA
330
331config CPU_SUBTYPE_SHX3
332 bool "Support SH-X3 processor"
333 select CPU_SH4A
334 select CPU_SHX3
335 select ARCH_SPARSEMEM_ENABLE
336 select SYS_SUPPORTS_NUMA
337 select SYS_SUPPORTS_SMP
Paul Mundt58402632008-09-05 15:36:39 +0900338 select GENERIC_CLOCKEVENTS_BROADCAST if SMP
Paul Mundtb5f42db2007-11-08 18:38:14 +0900339
340# SH4AL-DSP Processor Support
341
342config CPU_SUBTYPE_SH7343
343 bool "Support SH7343 processor"
344 select CPU_SH4AL_DSP
345
346config CPU_SUBTYPE_SH7722
347 bool "Support SH7722 processor"
348 select CPU_SH4AL_DSP
349 select CPU_SHX2
350 select ARCH_SPARSEMEM_ENABLE
351 select SYS_SUPPORTS_NUMA
352
Magnus Damm9109a302008-02-08 17:31:24 +0900353config CPU_SUBTYPE_SH7366
354 bool "Support SH7366 processor"
355 select CPU_SH4AL_DSP
356 select CPU_SHX2
357 select ARCH_SPARSEMEM_ENABLE
358 select SYS_SUPPORTS_NUMA
359
Paul Mundtea0e1a92007-11-21 15:58:01 +0900360# SH-5 Processor Support
361
362config CPU_SUBTYPE_SH5_101
363 bool "Support SH5-101 processor"
364 select CPU_SH5
365
366config CPU_SUBTYPE_SH5_103
367 bool "Support SH5-103 processor"
Paul Mundt8ef97dd2008-02-14 15:30:54 +0900368 select CPU_SH5
Paul Mundtea0e1a92007-11-21 15:58:01 +0900369
Paul Mundtb5f42db2007-11-08 18:38:14 +0900370endchoice
371
Paul Mundtcad82442006-01-16 22:14:19 -0800372source "arch/sh/mm/Kconfig"
Paul Mundt939a24a2008-07-29 21:41:37 +0900373
Paul Mundt4690bdc2007-11-09 13:45:42 +0900374source "arch/sh/Kconfig.cpu"
Paul Mundtcad82442006-01-16 22:14:19 -0800375
Paul Mundt939a24a2008-07-29 21:41:37 +0900376source "arch/sh/boards/Kconfig"
Paul Mundtf3d22292007-05-14 17:29:12 +0900377
Paul Mundt32351a22007-03-12 14:38:59 +0900378menu "Timer and clock configuration"
379
Paul Mundtcad82442006-01-16 22:14:19 -0800380config SH_TMU
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900381 def_bool y
382 prompt "TMU timer support"
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900383 depends on CPU_SH3 || CPU_SH4
Paul Mundt57be2b42007-05-09 17:33:24 +0900384 select GENERIC_TIME
385 select GENERIC_CLOCKEVENTS
Paul Mundtcad82442006-01-16 22:14:19 -0800386 help
387 This enables the use of the TMU as the system timer.
388
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900389config SH_CMT
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900390 def_bool y
391 prompt "CMT timer support"
Paul Mundt2ad69902008-03-13 12:52:44 +0900392 depends on CPU_SH2 && !CPU_SUBTYPE_MXG
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900393 help
394 This enables the use of the CMT as the system timer.
395
396config SH_MTU2
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900397 def_bool n
398 prompt "MTU2 timer support"
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900399 depends on CPU_SH2A
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900400 help
401 This enables the use of the MTU2 as the system timer.
402
Paul Mundt417528a2006-11-20 11:18:30 +0900403config SH_TIMER_IRQ
404 int
Yoshihiro Shimoda7d740a02008-01-07 14:40:07 +0900405 default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || \
406 CPU_SUBTYPE_SH7763
Paul Mundt417528a2006-11-20 11:18:30 +0900407 default "86" if CPU_SUBTYPE_SH7619
408 default "140" if CPU_SUBTYPE_SH7206
Paul Mundt2b2d4e72008-03-13 19:51:06 +0900409 default "142" if CPU_SUBTYPE_SH7203
Paul Mundt2ad69902008-03-13 12:52:44 +0900410 default "238" if CPU_SUBTYPE_MXG
Paul Mundt417528a2006-11-20 11:18:30 +0900411 default "16"
412
Paul Mundtcad82442006-01-16 22:14:19 -0800413config SH_PCLK_FREQ
414 int "Peripheral clock frequency (in Hz)"
Magnus Damm870e8a22007-07-25 10:49:21 +0900415 default "27000000" if CPU_SUBTYPE_SH7343
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900416 default "31250000" if CPU_SUBTYPE_SH7619
Paul Mundt05627482007-05-15 16:25:47 +0900417 default "32000000" if CPU_SUBTYPE_SH7722
Paul Mundt178dd0c2008-04-09 17:56:18 +0900418 default "33333333" if CPU_SUBTYPE_SH7770 || CPU_SUBTYPE_SH7723 || \
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900419 CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
Paul Mundta8f67f42007-11-26 19:54:02 +0900420 CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \
Paul Mundt2ad69902008-03-13 12:52:44 +0900421 CPU_SUBTYPE_SH7263 || CPU_SUBTYPE_MXG
Paul Mundt05627482007-05-15 16:25:47 +0900422 default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
Paul Mundtcad82442006-01-16 22:14:19 -0800423 default "66000000" if CPU_SUBTYPE_SH4_202
Paul Mundt05627482007-05-15 16:25:47 +0900424 default "50000000"
Paul Mundtcad82442006-01-16 22:14:19 -0800425 help
426 This option is used to specify the peripheral clock frequency.
427 This is necessary for determining the reference clock value on
428 platforms lacking an RTC.
429
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900430config SH_CLK_MD
431 int "CPU Mode Pin Setting"
Paul Mundt6d01f512007-11-26 18:17:21 +0900432 depends on CPU_SH2
Paul Mundt357d5942007-06-11 15:32:07 +0900433 default 6 if CPU_SUBTYPE_SH7206
434 default 5 if CPU_SUBTYPE_SH7619
435 default 0
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900436 help
Yoshinori Sato11cbb702006-12-07 18:07:27 +0900437 MD2 - MD0 pin setting.
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900438
Paul Mundt57be2b42007-05-09 17:33:24 +0900439source "kernel/time/Kconfig"
440
Paul Mundt32351a22007-03-12 14:38:59 +0900441endmenu
442
Paul Mundtcad82442006-01-16 22:14:19 -0800443menu "CPU Frequency scaling"
444
445source "drivers/cpufreq/Kconfig"
446
447config SH_CPU_FREQ
448 tristate "SuperH CPU Frequency driver"
Paul Mundtcb5ec752007-07-20 13:38:19 +0900449 depends on CPU_FREQ
Paul Mundtcad82442006-01-16 22:14:19 -0800450 select CPU_FREQ_TABLE
451 help
452 This adds the cpufreq driver for SuperH. At present, only
453 the SH-4 is supported.
454
455 For details, take a look at <file:Documentation/cpu-freq>.
456
457 If unsure, say N.
458
459endmenu
460
Paul Mundt9f5e8ee2006-11-24 11:22:57 +0900461source "arch/sh/drivers/Kconfig"
462
Paul Mundtcad82442006-01-16 22:14:19 -0800463endmenu
464
465config ISA_DMA_API
Adrian Bunkf5f826c2008-03-31 01:40:17 +0300466 bool
Paul Mundtcad82442006-01-16 22:14:19 -0800467
468menu "Kernel features"
469
Paul Mundt91b91d02006-09-27 18:08:33 +0900470source kernel/Kconfig.hz
471
Paul Mundtcad82442006-01-16 22:14:19 -0800472config KEXEC
473 bool "kexec system call (EXPERIMENTAL)"
Paul Mundt640f7482008-04-25 13:04:56 +0900474 depends on SUPERH32 && EXPERIMENTAL
Paul Mundtcad82442006-01-16 22:14:19 -0800475 help
476 kexec is a system call that implements the ability to shutdown your
477 current kernel, and to start another kernel. It is like a reboot
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400478 but it is independent of the system firmware. And like a reboot
Paul Mundtcad82442006-01-16 22:14:19 -0800479 you can start any kernel with it, not just Linux.
480
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400481 The name comes from the similarity to the exec system call.
Paul Mundtcad82442006-01-16 22:14:19 -0800482
483 It is an ongoing process to be certain the hardware in a machine
484 is properly shutdown, so do not be surprised if this code does not
485 initially work for you. It may help to enable device hotplugging
486 support. As of this writing the exact hardware interface is
487 strongly in flux, so no good recommendation can be made.
488
Paul Mundt4d5ade52007-04-27 11:25:57 +0900489config CRASH_DUMP
490 bool "kernel crash dumps (EXPERIMENTAL)"
Paul Mundt640f7482008-04-25 13:04:56 +0900491 depends on SUPERH32 && EXPERIMENTAL
Paul Mundt4d5ade52007-04-27 11:25:57 +0900492 help
493 Generate crash dump after being started by kexec.
494 This should be normally only set in special crash dump kernels
495 which are loaded in the main kernel with kexec-tools into
496 a specially reserved region and then later executed after
497 a crash by kdump/kexec. The crash dump kernel must be compiled
498 to a memory address not used by the main kernel using
499 MEMORY_START.
500
501 For more details see Documentation/kdump/kdump.txt
502
Paul Mundtc4637d42008-07-30 15:30:52 +0900503config SECCOMP
504 bool "Enable seccomp to safely compute untrusted bytecode"
505 depends on PROC_FS
Paul Mundtc4637d42008-07-30 15:30:52 +0900506 help
507 This kernel feature is useful for number crunching applications
508 that may need to compute untrusted bytecode during their
509 execution. By using pipes or other transports made available to
510 the process as file descriptors supporting the read/write
511 syscalls, it's possible to isolate those applications in
512 their own address space using seccomp. Once seccomp is
513 enabled via prctl, it cannot be disabled and the task is only
514 allowed to execute a few safe syscalls defined by each seccomp
515 mode.
516
517 If unsure, say N.
518
Linus Torvalds1da177e2005-04-16 15:20:36 -0700519config SMP
520 bool "Symmetric multi-processing support"
Paul Mundt357d5942007-06-11 15:32:07 +0900521 depends on SYS_SUPPORTS_SMP
Jens Axboe490f5de2008-06-10 20:52:59 +0200522 select USE_GENERIC_SMP_HELPERS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700523 ---help---
524 This enables support for systems with more than one CPU. If you have
525 a system with only one CPU, like most personal computers, say N. If
526 you have a system with more than one CPU, say Y.
527
528 If you say N here, the kernel will run on single and multiprocessor
529 machines, but will use only one CPU of a multiprocessor machine. If
530 you say Y here, the kernel will run on many, but not all,
531 singleprocessor machines. On a singleprocessor machine, the kernel
532 will run faster if you say N here.
533
534 People using multiprocessor machines who say Y here should also say
535 Y to "Enhanced Real Time Clock Support", below.
536
Adrian Bunk03502fa2008-02-03 15:50:21 +0200537 See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
538 available at <http://www.tldp.org/docs.html#howto>.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700539
540 If you don't know what to do here, say N.
541
542config NR_CPUS
543 int "Maximum number of CPUs (2-32)"
544 range 2 32
545 depends on SMP
Paul Mundt2b1bd1a2007-06-20 18:27:10 +0900546 default "4" if CPU_SHX3
Linus Torvalds1da177e2005-04-16 15:20:36 -0700547 default "2"
548 help
549 This allows you to specify the maximum number of CPUs which this
550 kernel will support. The maximum supported value is 32 and the
551 minimum value which makes sense is 2.
552
553 This is purely to save memory - each supported CPU adds
554 approximately eight kilobytes to the kernel image.
555
Paul Mundt91b91d02006-09-27 18:08:33 +0900556source "kernel/Kconfig.preempt"
557
Paul Mundt83662462007-09-28 16:04:49 +0900558config GUSA
559 def_bool y
Stuart Menefy1efe4ce2007-11-30 16:12:36 +0900560 depends on !SMP && SUPERH32
Paul Mundt83662462007-09-28 16:04:49 +0900561 help
562 This enables support for gUSA (general UserSpace Atomicity).
563 This is the default implementation for both UP and non-ll/sc
564 CPUs, and is used by the libc, amongst others.
565
566 For additional information, design information can be found
567 in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
568
569 This should only be disabled for special cases where alternate
570 atomicity implementations exist.
571
Stuart Menefy1efe4ce2007-11-30 16:12:36 +0900572config GUSA_RB
573 bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)"
574 depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A)
575 help
576 Enabling this option will allow the kernel to implement some
577 atomic operations using a software implemention of load-locked/
578 store-conditional (LLSC). On machines which do not have hardware
579 LLSC, this should be more efficient than the other alternative of
580 disabling insterrupts around the atomic sequence.
581
Paul Mundtcad82442006-01-16 22:14:19 -0800582endmenu
583
584menu "Boot options"
585
586config ZERO_PAGE_OFFSET
587 hex "Zero page offset"
Adrian Bunkf5f826c2008-03-31 01:40:17 +0300588 default "0x00004000" if SH_SH03
Paul Mundt7a847f82006-12-26 15:29:19 +0900589 default "0x00010000" if PAGE_SIZE_64KB
590 default "0x00002000" if PAGE_SIZE_8KB
Paul Mundtcad82442006-01-16 22:14:19 -0800591 default "0x00001000"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700592 help
Paul Mundtcad82442006-01-16 22:14:19 -0800593 This sets the default offset of zero page.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700594
Paul Mundtcad82442006-01-16 22:14:19 -0800595config BOOT_LINK_OFFSET
596 hex "Link address offset for booting"
597 default "0x00800000"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700598 help
Paul Mundtcad82442006-01-16 22:14:19 -0800599 This option allows you to set the link address offset of the zImage.
600 This can be useful if you are on a board which has a small amount of
601 memory.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700602
Paul Mundtcad82442006-01-16 22:14:19 -0800603config UBC_WAKEUP
604 bool "Wakeup UBC on startup"
Paul Mundt0e3a9aa2007-11-06 15:55:36 +0900605 depends on CPU_SH4 && !CPU_SH4A
Paul Mundtcad82442006-01-16 22:14:19 -0800606 help
607 Selecting this option will wakeup the User Break Controller (UBC) on
608 startup. Although the UBC is left in an awake state when the processor
609 comes up, some boot loaders misbehave by putting the UBC to sleep in a
610 power saving state, which causes issues with things like ptrace().
Linus Torvalds1da177e2005-04-16 15:20:36 -0700611
612 If unsure, say N.
613
Paul Mundtcad82442006-01-16 22:14:19 -0800614config CMDLINE_BOOL
615 bool "Default bootloader kernel arguments"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700616
Paul Mundtcad82442006-01-16 22:14:19 -0800617config CMDLINE
618 string "Initial kernel command string"
619 depends on CMDLINE_BOOL
620 default "console=ttySC1,115200"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700621
622endmenu
623
Paul Mundtcad82442006-01-16 22:14:19 -0800624menu "Bus options"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700625
626# Even on SuperH devices which don't have an ISA bus,
627# this variable helps the PCMCIA modules handle
628# IRQ requesting properly -- Greg Banks.
629#
630# Though we're generally not interested in it when
631# we're not using PCMCIA, so we make it dependent on
632# PCMCIA outright. -- PFM.
633config ISA
Paul Mundt357d5942007-06-11 15:32:07 +0900634 def_bool y
635 depends on PCMCIA && HD6446X_SERIES
Linus Torvalds1da177e2005-04-16 15:20:36 -0700636 help
637 Find out whether you have ISA slots on your motherboard. ISA is the
638 name of a bus system, i.e. the way the CPU talks to the other stuff
639 inside your box. Other bus systems are PCI, EISA, MicroChannel
640 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
641 newer boards don't support it. If you have ISA, say Y, otherwise N.
642
643config EISA
644 bool
645 ---help---
646 The Extended Industry Standard Architecture (EISA) bus was
647 developed as an open alternative to the IBM MicroChannel bus.
648
649 The EISA bus provided some of the features of the IBM MicroChannel
650 bus while maintaining backward compatibility with cards made for
651 the older ISA bus. The EISA bus saw limited use between 1988 and
652 1995 when it was made obsolete by the PCI bus.
653
654 Say Y here if you are building a kernel for an EISA-based machine.
655
656 Otherwise, say N.
657
658config MCA
659 bool
660 help
661 MicroChannel Architecture is found in some IBM PS/2 machines and
662 laptops. It is a bus system similar to PCI or ISA. See
663 <file:Documentation/mca.txt> (and especially the web page given
664 there) before attempting to build an MCA bus kernel.
665
666config SBUS
667 bool
668
Paul Mundtcad82442006-01-16 22:14:19 -0800669config SUPERHYWAY
670 tristate "SuperHyway Bus support"
671 depends on CPU_SUBTYPE_SH4_202
Linus Torvalds1da177e2005-04-16 15:20:36 -0700672
Adrian McMenamin17be2d22007-09-21 15:55:55 +0900673config MAPLE
674 bool "Maple Bus support"
675 depends on SH_DREAMCAST
676 help
677 The Maple Bus is SEGA's serial communication bus for peripherals
678 on the Dreamcast. Without this bus support you won't be able to
679 get your Dreamcast keyboard etc to work, so most users
680 probably want to say 'Y' here, unless you are only using the
681 Dreamcast with a serial line terminal or a remote network
682 connection.
683
Paul Mundt824e55f2007-06-20 18:01:52 +0900684config CF_ENABLER
685 bool "Compact Flash Enabler support"
686 depends on SOLUTION_ENGINE || SH_SH03
687 ---help---
688 Compact Flash is a small, removable mass storage device introduced
689 in 1994 originally as a PCMCIA device. If you say `Y' here, you
690 compile in support for Compact Flash devices directly connected to
691 a SuperH processor. A Compact Flash FAQ is available at
692 <http://www.compactflash.org/faqs/faq.htm>.
693
694 If your board has "Directly Connected" CompactFlash at area 5 or 6,
695 you may want to enable this option. Then, you can use CF as
696 primary IDE drive (only tested for SanDisk).
697
698 If in doubt, select 'N'.
699
700choice
701 prompt "Compact Flash Connection Area"
702 depends on CF_ENABLER
703 default CF_AREA6
704
705config CF_AREA5
706 bool "Area5"
707 help
708 If your board has "Directly Connected" CompactFlash, You should
709 select the area where your CF is connected to.
710
711 - "Area5" if CompactFlash is connected to Area 5 (0x14000000)
712 - "Area6" if it is connected to Area 6 (0x18000000)
713
714 "Area6" will work for most boards.
715
716config CF_AREA6
717 bool "Area6"
718
719endchoice
720
721config CF_BASE_ADDR
722 hex
723 depends on CF_ENABLER
724 default "0xb8000000" if CF_AREA6
725 default "0xb4000000" if CF_AREA5
726
Linus Torvalds1da177e2005-04-16 15:20:36 -0700727source "arch/sh/drivers/pci/Kconfig"
728
729source "drivers/pci/Kconfig"
730
731source "drivers/pcmcia/Kconfig"
732
733source "drivers/pci/hotplug/Kconfig"
734
735endmenu
736
737menu "Executable file formats"
738
739source "fs/Kconfig.binfmt"
740
741endmenu
742
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900743menu "Power management options (EXPERIMENTAL)"
Paul Mundt357d5942007-06-11 15:32:07 +0900744depends on EXPERIMENTAL && SYS_SUPPORTS_PM
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900745
Johannes Bergf4cb5702007-12-08 02:14:00 +0100746config ARCH_SUSPEND_POSSIBLE
747 def_bool y
748 depends on !SMP
749
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900750source kernel/power/Kconfig
751
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900752endmenu
753
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700754source "net/Kconfig"
755
Linus Torvalds1da177e2005-04-16 15:20:36 -0700756source "drivers/Kconfig"
757
758source "fs/Kconfig"
759
Linus Torvalds1da177e2005-04-16 15:20:36 -0700760source "arch/sh/Kconfig.debug"
761
762source "security/Kconfig"
763
764source "crypto/Kconfig"
765
766source "lib/Kconfig"