blob: 71be7ff5c771c62cfb7a0118765b3cf148a627dd [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 Mundte7ab3cd2008-09-21 19:04:55 +090026 select HAVE_ARCH_TRACEHOOK
Paul Mundt9d2b1f82008-09-21 16:43:45 +090027 select HAVE_FTRACE
Paul Mundtea0e1a92007-11-21 15:58:01 +090028
29config SUPERH64
30 def_bool y if CPU_SH5
Paul Mundtcf204fa2008-09-08 20:47:42 +090031 select GENERIC_CALIBRATE_DELAY
Paul Mundt39d28a22007-11-08 18:39:33 +090032
Paul Mundtf42b7e32008-07-29 20:12:51 +090033config ARCH_DEFCONFIG
34 string
35 default "arch/sh/configs/shx3_defconfig" if SUPERH32
36 default "arch/sh/configs/cayman_defconfig" if SUPERH64
37
Linus Torvalds1da177e2005-04-16 15:20:36 -070038config RWSEM_GENERIC_SPINLOCK
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090039 def_bool y
Linus Torvalds1da177e2005-04-16 15:20:36 -070040
41config RWSEM_XCHGADD_ALGORITHM
42 bool
43
Paul Mundtfa691512007-03-08 19:41:21 +090044config GENERIC_BUG
45 def_bool y
Paul Mundta82d53e2007-11-21 18:22:05 +090046 depends on BUG && SUPERH32
Paul Mundtfa691512007-03-08 19:41:21 +090047
Akinobu Mitae2268c72006-03-26 01:39:35 -080048config GENERIC_FIND_NEXT_BIT
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090049 def_bool y
Akinobu Mitae2268c72006-03-26 01:39:35 -080050
51config GENERIC_HWEIGHT
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090052 def_bool y
Akinobu Mitae2268c72006-03-26 01:39:35 -080053
Linus Torvalds1da177e2005-04-16 15:20:36 -070054config GENERIC_HARDIRQS
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090055 def_bool y
Linus Torvalds1da177e2005-04-16 15:20:36 -070056
Paul Mundt5093c9a2008-08-04 14:17:13 +090057config GENERIC_HARDIRQS_NO__DO_IRQ
58 def_bool y
59
Linus Torvalds1da177e2005-04-16 15:20:36 -070060config GENERIC_IRQ_PROBE
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090061 def_bool y
Linus Torvalds1da177e2005-04-16 15:20:36 -070062
63config GENERIC_CALIBRATE_DELAY
Paul Mundtcf204fa2008-09-08 20:47:42 +090064 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -070065
Paul Mundtcad82442006-01-16 22:14:19 -080066config GENERIC_IOMAP
67 bool
68
Paul Mundt45882142006-10-04 13:21:45 +090069config GENERIC_TIME
70 def_bool n
71
Paul Mundt57be2b42007-05-09 17:33:24 +090072config GENERIC_CLOCKEVENTS
73 def_bool n
74
Paul Mundt8c245942008-08-06 18:37:07 +090075config GENERIC_CLOCKEVENTS_BROADCAST
76 bool
77
Paul Mundtbdcab872008-08-04 14:09:15 +090078config GENERIC_LOCKBREAK
79 def_bool y
80 depends on SMP && PREEMPT
81
Paul Mundt357d5942007-06-11 15:32:07 +090082config SYS_SUPPORTS_PM
83 bool
84
Paul Mundt0a9b0db2007-01-24 21:56:20 +090085config SYS_SUPPORTS_APM_EMULATION
86 bool
Paul Mundt357d5942007-06-11 15:32:07 +090087 select SYS_SUPPORTS_PM
88
89config SYS_SUPPORTS_SMP
90 bool
91
92config SYS_SUPPORTS_NUMA
93 bool
94
95config SYS_SUPPORTS_PCI
96 bool
Paul Mundt0a9b0db2007-01-24 21:56:20 +090097
Paul Mundtafbfb522006-12-04 18:17:28 +090098config STACKTRACE_SUPPORT
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090099 def_bool y
Paul Mundtafbfb522006-12-04 18:17:28 +0900100
101config LOCKDEP_SUPPORT
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900102 def_bool y
Paul Mundtafbfb522006-12-04 18:17:28 +0900103
Paul Mundt5a89f1a2008-09-13 01:44:03 +0900104config HAVE_LATENCYTOP_SUPPORT
105 def_bool y
106 depends on !SMP
107
David Howellsf0d1b0b2006-12-08 02:37:49 -0800108config ARCH_HAS_ILOG2_U32
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900109 def_bool n
David Howellsf0d1b0b2006-12-08 02:37:49 -0800110
111config ARCH_HAS_ILOG2_U64
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900112 def_bool n
David Howellsf0d1b0b2006-12-08 02:37:49 -0800113
Paul Mundte257ad02007-07-25 11:18:00 +0900114config ARCH_NO_VIRT_TO_BUS
115 def_bool y
116
Magnus Damme7cc9a72008-02-07 20:18:21 +0900117config IO_TRAPPED
118 bool
119
Linus Torvalds1da177e2005-04-16 15:20:36 -0700120source "init/Kconfig"
121
122menu "System type"
123
Paul Mundtb5f42db2007-11-08 18:38:14 +0900124#
125# Processor families
126#
127config CPU_SH2
128 bool
129
130config CPU_SH2A
131 bool
132 select CPU_SH2
133
134config CPU_SH3
135 bool
136 select CPU_HAS_INTEVT
137 select CPU_HAS_SR_RB
138
139config CPU_SH4
140 bool
141 select CPU_HAS_INTEVT
142 select CPU_HAS_SR_RB
143 select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2
144 select CPU_HAS_FPU if !CPU_SH4AL_DSP
145
146config CPU_SH4A
147 bool
148 select CPU_SH4
149
150config CPU_SH4AL_DSP
151 bool
152 select CPU_SH4A
153 select CPU_HAS_DSP
154
Paul Mundtea0e1a92007-11-21 15:58:01 +0900155config CPU_SH5
156 bool
157 select CPU_HAS_FPU
158
Paul Mundtb5f42db2007-11-08 18:38:14 +0900159config CPU_SHX2
160 bool
161
162config CPU_SHX3
163 bool
164
165choice
166 prompt "Processor sub-type selection"
167
168#
169# Processor subtypes
170#
171
172# SH-2 Processor Support
173
174config CPU_SUBTYPE_SH7619
175 bool "Support SH7619 processor"
176 select CPU_SH2
177
178# SH-2A Processor Support
179
Paul Mundt6d01f512007-11-26 18:17:21 +0900180config CPU_SUBTYPE_SH7203
181 bool "Support SH7203 processor"
182 select CPU_SH2A
Paul Mundt74d99a52007-11-26 20:38:36 +0900183 select CPU_HAS_FPU
Paul Mundt6d01f512007-11-26 18:17:21 +0900184
Paul Mundtb5f42db2007-11-08 18:38:14 +0900185config CPU_SUBTYPE_SH7206
186 bool "Support SH7206 processor"
187 select CPU_SH2A
188
Paul Mundta8f67f42007-11-26 19:54:02 +0900189config CPU_SUBTYPE_SH7263
190 bool "Support SH7263 processor"
191 select CPU_SH2A
Paul Mundt74d99a52007-11-26 20:38:36 +0900192 select CPU_HAS_FPU
Paul Mundta8f67f42007-11-26 19:54:02 +0900193
Paul Mundt2ad69902008-03-13 12:52:44 +0900194config CPU_SUBTYPE_MXG
195 bool "Support MX-G processor"
196 select CPU_SH2A
197 help
198 Select MX-G if running on an R8A03022BG part.
199
Paul Mundtb5f42db2007-11-08 18:38:14 +0900200# SH-3 Processor Support
201
202config CPU_SUBTYPE_SH7705
203 bool "Support SH7705 processor"
204 select CPU_SH3
205
206config CPU_SUBTYPE_SH7706
207 bool "Support SH7706 processor"
208 select CPU_SH3
209 help
210 Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
211
212config CPU_SUBTYPE_SH7707
213 bool "Support SH7707 processor"
214 select CPU_SH3
215 help
216 Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU.
217
218config CPU_SUBTYPE_SH7708
219 bool "Support SH7708 processor"
220 select CPU_SH3
221 help
222 Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or
223 if you have a 100 Mhz SH-3 HD6417708R CPU.
224
225config CPU_SUBTYPE_SH7709
226 bool "Support SH7709 processor"
227 select CPU_SH3
228 help
229 Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU.
230
231config CPU_SUBTYPE_SH7710
232 bool "Support SH7710 processor"
233 select CPU_SH3
234 select CPU_HAS_DSP
235 help
236 Select SH7710 if you have a SH3-DSP SH7710 CPU.
237
238config CPU_SUBTYPE_SH7712
239 bool "Support SH7712 processor"
240 select CPU_SH3
241 select CPU_HAS_DSP
242 help
243 Select SH7712 if you have a SH3-DSP SH7712 CPU.
244
245config CPU_SUBTYPE_SH7720
246 bool "Support SH7720 processor"
247 select CPU_SH3
248 select CPU_HAS_DSP
249 help
250 Select SH7720 if you have a SH3-DSP SH7720 CPU.
251
Yoshihiro Shimoda31a49c42007-12-26 11:45:06 +0900252config CPU_SUBTYPE_SH7721
253 bool "Support SH7721 processor"
254 select CPU_SH3
255 select CPU_HAS_DSP
256 help
257 Select SH7721 if you have a SH3-DSP SH7721 CPU.
258
Paul Mundtb5f42db2007-11-08 18:38:14 +0900259# SH-4 Processor Support
260
261config CPU_SUBTYPE_SH7750
262 bool "Support SH7750 processor"
263 select CPU_SH4
264 help
265 Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
266
267config CPU_SUBTYPE_SH7091
268 bool "Support SH7091 processor"
269 select CPU_SH4
270 help
271 Select SH7091 if you have an SH-4 based Sega device (such as
272 the Dreamcast, Naomi, and Naomi 2).
273
274config CPU_SUBTYPE_SH7750R
275 bool "Support SH7750R processor"
276 select CPU_SH4
277
278config CPU_SUBTYPE_SH7750S
279 bool "Support SH7750S processor"
280 select CPU_SH4
281
282config CPU_SUBTYPE_SH7751
283 bool "Support SH7751 processor"
284 select CPU_SH4
285 help
286 Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
287 or if you have a HD6417751R CPU.
288
289config CPU_SUBTYPE_SH7751R
290 bool "Support SH7751R processor"
291 select CPU_SH4
292
293config CPU_SUBTYPE_SH7760
294 bool "Support SH7760 processor"
295 select CPU_SH4
296
297config CPU_SUBTYPE_SH4_202
298 bool "Support SH4-202 processor"
299 select CPU_SH4
300
301# SH-4A Processor Support
302
Paul Mundt178dd0c2008-04-09 17:56:18 +0900303config CPU_SUBTYPE_SH7723
304 bool "Support SH7723 processor"
305 select CPU_SH4A
306 select CPU_SHX2
307 select ARCH_SPARSEMEM_ENABLE
Paul Mundt178dd0c2008-04-09 17:56:18 +0900308 help
309 Select SH7723 if you have an SH-MobileR2 CPU.
310
Yoshihiro Shimoda7d740a02008-01-07 14:40:07 +0900311config CPU_SUBTYPE_SH7763
312 bool "Support SH7763 processor"
313 select CPU_SH4A
314 help
315 Select SH7763 if you have a SH4A SH7763(R5S77631) CPU.
316
Paul Mundtb5f42db2007-11-08 18:38:14 +0900317config CPU_SUBTYPE_SH7770
318 bool "Support SH7770 processor"
319 select CPU_SH4A
320
321config CPU_SUBTYPE_SH7780
322 bool "Support SH7780 processor"
323 select CPU_SH4A
324
325config CPU_SUBTYPE_SH7785
326 bool "Support SH7785 processor"
327 select CPU_SH4A
328 select CPU_SHX2
329 select ARCH_SPARSEMEM_ENABLE
330 select SYS_SUPPORTS_NUMA
331
332config CPU_SUBTYPE_SHX3
333 bool "Support SH-X3 processor"
334 select CPU_SH4A
335 select CPU_SHX3
336 select ARCH_SPARSEMEM_ENABLE
337 select SYS_SUPPORTS_NUMA
338 select SYS_SUPPORTS_SMP
Paul Mundt58402632008-09-05 15:36:39 +0900339 select GENERIC_CLOCKEVENTS_BROADCAST if SMP
Paul Mundtb5f42db2007-11-08 18:38:14 +0900340
341# SH4AL-DSP Processor Support
342
343config CPU_SUBTYPE_SH7343
344 bool "Support SH7343 processor"
345 select CPU_SH4AL_DSP
346
347config CPU_SUBTYPE_SH7722
348 bool "Support SH7722 processor"
349 select CPU_SH4AL_DSP
350 select CPU_SHX2
351 select ARCH_SPARSEMEM_ENABLE
352 select SYS_SUPPORTS_NUMA
353
Magnus Damm9109a302008-02-08 17:31:24 +0900354config CPU_SUBTYPE_SH7366
355 bool "Support SH7366 processor"
356 select CPU_SH4AL_DSP
357 select CPU_SHX2
358 select ARCH_SPARSEMEM_ENABLE
359 select SYS_SUPPORTS_NUMA
360
Paul Mundtea0e1a92007-11-21 15:58:01 +0900361# SH-5 Processor Support
362
363config CPU_SUBTYPE_SH5_101
364 bool "Support SH5-101 processor"
365 select CPU_SH5
366
367config CPU_SUBTYPE_SH5_103
368 bool "Support SH5-103 processor"
Paul Mundt8ef97dd2008-02-14 15:30:54 +0900369 select CPU_SH5
Paul Mundtea0e1a92007-11-21 15:58:01 +0900370
Paul Mundtb5f42db2007-11-08 18:38:14 +0900371endchoice
372
Paul Mundtcad82442006-01-16 22:14:19 -0800373source "arch/sh/mm/Kconfig"
Paul Mundt939a24a2008-07-29 21:41:37 +0900374
Paul Mundt4690bdc2007-11-09 13:45:42 +0900375source "arch/sh/Kconfig.cpu"
Paul Mundtcad82442006-01-16 22:14:19 -0800376
Paul Mundt939a24a2008-07-29 21:41:37 +0900377source "arch/sh/boards/Kconfig"
Paul Mundtf3d22292007-05-14 17:29:12 +0900378
Paul Mundt32351a22007-03-12 14:38:59 +0900379menu "Timer and clock configuration"
380
Paul Mundtcad82442006-01-16 22:14:19 -0800381config SH_TMU
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900382 def_bool y
383 prompt "TMU timer support"
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900384 depends on CPU_SH3 || CPU_SH4
Paul Mundt57be2b42007-05-09 17:33:24 +0900385 select GENERIC_TIME
386 select GENERIC_CLOCKEVENTS
Paul Mundtcad82442006-01-16 22:14:19 -0800387 help
388 This enables the use of the TMU as the system timer.
389
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900390config SH_CMT
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900391 def_bool y
392 prompt "CMT timer support"
Paul Mundt2ad69902008-03-13 12:52:44 +0900393 depends on CPU_SH2 && !CPU_SUBTYPE_MXG
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900394 help
395 This enables the use of the CMT as the system timer.
396
397config SH_MTU2
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900398 def_bool n
399 prompt "MTU2 timer support"
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900400 depends on CPU_SH2A
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900401 help
402 This enables the use of the MTU2 as the system timer.
403
Paul Mundt417528a2006-11-20 11:18:30 +0900404config SH_TIMER_IRQ
405 int
Yoshihiro Shimoda7d740a02008-01-07 14:40:07 +0900406 default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || \
407 CPU_SUBTYPE_SH7763
Paul Mundt417528a2006-11-20 11:18:30 +0900408 default "86" if CPU_SUBTYPE_SH7619
409 default "140" if CPU_SUBTYPE_SH7206
Paul Mundt2b2d4e72008-03-13 19:51:06 +0900410 default "142" if CPU_SUBTYPE_SH7203
Paul Mundt2ad69902008-03-13 12:52:44 +0900411 default "238" if CPU_SUBTYPE_MXG
Paul Mundt417528a2006-11-20 11:18:30 +0900412 default "16"
413
Paul Mundtcad82442006-01-16 22:14:19 -0800414config SH_PCLK_FREQ
415 int "Peripheral clock frequency (in Hz)"
Magnus Damm870e8a22007-07-25 10:49:21 +0900416 default "27000000" if CPU_SUBTYPE_SH7343
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900417 default "31250000" if CPU_SUBTYPE_SH7619
Paul Mundt05627482007-05-15 16:25:47 +0900418 default "32000000" if CPU_SUBTYPE_SH7722
Paul Mundt178dd0c2008-04-09 17:56:18 +0900419 default "33333333" if CPU_SUBTYPE_SH7770 || CPU_SUBTYPE_SH7723 || \
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900420 CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
Paul Mundta8f67f42007-11-26 19:54:02 +0900421 CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \
Paul Mundt2ad69902008-03-13 12:52:44 +0900422 CPU_SUBTYPE_SH7263 || CPU_SUBTYPE_MXG
Paul Mundt05627482007-05-15 16:25:47 +0900423 default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
Paul Mundtcad82442006-01-16 22:14:19 -0800424 default "66000000" if CPU_SUBTYPE_SH4_202
Paul Mundt05627482007-05-15 16:25:47 +0900425 default "50000000"
Paul Mundtcad82442006-01-16 22:14:19 -0800426 help
427 This option is used to specify the peripheral clock frequency.
428 This is necessary for determining the reference clock value on
429 platforms lacking an RTC.
430
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900431config SH_CLK_MD
432 int "CPU Mode Pin Setting"
Paul Mundt6d01f512007-11-26 18:17:21 +0900433 depends on CPU_SH2
Paul Mundt357d5942007-06-11 15:32:07 +0900434 default 6 if CPU_SUBTYPE_SH7206
435 default 5 if CPU_SUBTYPE_SH7619
436 default 0
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900437 help
Yoshinori Sato11cbb702006-12-07 18:07:27 +0900438 MD2 - MD0 pin setting.
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900439
Paul Mundt57be2b42007-05-09 17:33:24 +0900440source "kernel/time/Kconfig"
441
Paul Mundt32351a22007-03-12 14:38:59 +0900442endmenu
443
Paul Mundtcad82442006-01-16 22:14:19 -0800444menu "CPU Frequency scaling"
445
446source "drivers/cpufreq/Kconfig"
447
448config SH_CPU_FREQ
449 tristate "SuperH CPU Frequency driver"
Paul Mundtcb5ec752007-07-20 13:38:19 +0900450 depends on CPU_FREQ
Paul Mundtcad82442006-01-16 22:14:19 -0800451 select CPU_FREQ_TABLE
452 help
453 This adds the cpufreq driver for SuperH. At present, only
454 the SH-4 is supported.
455
456 For details, take a look at <file:Documentation/cpu-freq>.
457
458 If unsure, say N.
459
460endmenu
461
Paul Mundt9f5e8ee2006-11-24 11:22:57 +0900462source "arch/sh/drivers/Kconfig"
463
Paul Mundtcad82442006-01-16 22:14:19 -0800464endmenu
465
466config ISA_DMA_API
Adrian Bunkf5f826c2008-03-31 01:40:17 +0300467 bool
Paul Mundtcad82442006-01-16 22:14:19 -0800468
469menu "Kernel features"
470
Paul Mundt91b91d02006-09-27 18:08:33 +0900471source kernel/Kconfig.hz
472
Paul Mundtcad82442006-01-16 22:14:19 -0800473config KEXEC
474 bool "kexec system call (EXPERIMENTAL)"
Paul Mundt640f7482008-04-25 13:04:56 +0900475 depends on SUPERH32 && EXPERIMENTAL
Paul Mundtcad82442006-01-16 22:14:19 -0800476 help
477 kexec is a system call that implements the ability to shutdown your
478 current kernel, and to start another kernel. It is like a reboot
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400479 but it is independent of the system firmware. And like a reboot
Paul Mundtcad82442006-01-16 22:14:19 -0800480 you can start any kernel with it, not just Linux.
481
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400482 The name comes from the similarity to the exec system call.
Paul Mundtcad82442006-01-16 22:14:19 -0800483
484 It is an ongoing process to be certain the hardware in a machine
485 is properly shutdown, so do not be surprised if this code does not
486 initially work for you. It may help to enable device hotplugging
487 support. As of this writing the exact hardware interface is
488 strongly in flux, so no good recommendation can be made.
489
Paul Mundt4d5ade52007-04-27 11:25:57 +0900490config CRASH_DUMP
491 bool "kernel crash dumps (EXPERIMENTAL)"
Paul Mundt640f7482008-04-25 13:04:56 +0900492 depends on SUPERH32 && EXPERIMENTAL
Paul Mundt4d5ade52007-04-27 11:25:57 +0900493 help
494 Generate crash dump after being started by kexec.
495 This should be normally only set in special crash dump kernels
496 which are loaded in the main kernel with kexec-tools into
497 a specially reserved region and then later executed after
498 a crash by kdump/kexec. The crash dump kernel must be compiled
499 to a memory address not used by the main kernel using
500 MEMORY_START.
501
502 For more details see Documentation/kdump/kdump.txt
503
Paul Mundtc4637d42008-07-30 15:30:52 +0900504config SECCOMP
505 bool "Enable seccomp to safely compute untrusted bytecode"
506 depends on PROC_FS
Paul Mundtc4637d42008-07-30 15:30:52 +0900507 help
508 This kernel feature is useful for number crunching applications
509 that may need to compute untrusted bytecode during their
510 execution. By using pipes or other transports made available to
511 the process as file descriptors supporting the read/write
512 syscalls, it's possible to isolate those applications in
513 their own address space using seccomp. Once seccomp is
514 enabled via prctl, it cannot be disabled and the task is only
515 allowed to execute a few safe syscalls defined by each seccomp
516 mode.
517
518 If unsure, say N.
519
Linus Torvalds1da177e2005-04-16 15:20:36 -0700520config SMP
521 bool "Symmetric multi-processing support"
Paul Mundt357d5942007-06-11 15:32:07 +0900522 depends on SYS_SUPPORTS_SMP
Jens Axboe490f5de2008-06-10 20:52:59 +0200523 select USE_GENERIC_SMP_HELPERS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700524 ---help---
525 This enables support for systems with more than one CPU. If you have
526 a system with only one CPU, like most personal computers, say N. If
527 you have a system with more than one CPU, say Y.
528
529 If you say N here, the kernel will run on single and multiprocessor
530 machines, but will use only one CPU of a multiprocessor machine. If
531 you say Y here, the kernel will run on many, but not all,
532 singleprocessor machines. On a singleprocessor machine, the kernel
533 will run faster if you say N here.
534
535 People using multiprocessor machines who say Y here should also say
536 Y to "Enhanced Real Time Clock Support", below.
537
Adrian Bunk03502fa2008-02-03 15:50:21 +0200538 See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
539 available at <http://www.tldp.org/docs.html#howto>.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700540
541 If you don't know what to do here, say N.
542
543config NR_CPUS
544 int "Maximum number of CPUs (2-32)"
545 range 2 32
546 depends on SMP
Paul Mundt2b1bd1a2007-06-20 18:27:10 +0900547 default "4" if CPU_SHX3
Linus Torvalds1da177e2005-04-16 15:20:36 -0700548 default "2"
549 help
550 This allows you to specify the maximum number of CPUs which this
551 kernel will support. The maximum supported value is 32 and the
552 minimum value which makes sense is 2.
553
554 This is purely to save memory - each supported CPU adds
555 approximately eight kilobytes to the kernel image.
556
Paul Mundt91b91d02006-09-27 18:08:33 +0900557source "kernel/Kconfig.preempt"
558
Paul Mundt83662462007-09-28 16:04:49 +0900559config GUSA
560 def_bool y
Stuart Menefy1efe4ce2007-11-30 16:12:36 +0900561 depends on !SMP && SUPERH32
Paul Mundt83662462007-09-28 16:04:49 +0900562 help
563 This enables support for gUSA (general UserSpace Atomicity).
564 This is the default implementation for both UP and non-ll/sc
565 CPUs, and is used by the libc, amongst others.
566
567 For additional information, design information can be found
568 in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
569
570 This should only be disabled for special cases where alternate
571 atomicity implementations exist.
572
Stuart Menefy1efe4ce2007-11-30 16:12:36 +0900573config GUSA_RB
574 bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)"
575 depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A)
576 help
577 Enabling this option will allow the kernel to implement some
578 atomic operations using a software implemention of load-locked/
579 store-conditional (LLSC). On machines which do not have hardware
580 LLSC, this should be more efficient than the other alternative of
581 disabling insterrupts around the atomic sequence.
582
Paul Mundtcad82442006-01-16 22:14:19 -0800583endmenu
584
585menu "Boot options"
586
587config ZERO_PAGE_OFFSET
588 hex "Zero page offset"
Adrian Bunkf5f826c2008-03-31 01:40:17 +0300589 default "0x00004000" if SH_SH03
Paul Mundt7a847f82006-12-26 15:29:19 +0900590 default "0x00010000" if PAGE_SIZE_64KB
591 default "0x00002000" if PAGE_SIZE_8KB
Paul Mundtcad82442006-01-16 22:14:19 -0800592 default "0x00001000"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700593 help
Paul Mundtcad82442006-01-16 22:14:19 -0800594 This sets the default offset of zero page.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700595
Paul Mundtcad82442006-01-16 22:14:19 -0800596config BOOT_LINK_OFFSET
597 hex "Link address offset for booting"
598 default "0x00800000"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700599 help
Paul Mundtcad82442006-01-16 22:14:19 -0800600 This option allows you to set the link address offset of the zImage.
601 This can be useful if you are on a board which has a small amount of
602 memory.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700603
Paul Mundtcad82442006-01-16 22:14:19 -0800604config UBC_WAKEUP
605 bool "Wakeup UBC on startup"
Paul Mundt0e3a9aa2007-11-06 15:55:36 +0900606 depends on CPU_SH4 && !CPU_SH4A
Paul Mundtcad82442006-01-16 22:14:19 -0800607 help
608 Selecting this option will wakeup the User Break Controller (UBC) on
609 startup. Although the UBC is left in an awake state when the processor
610 comes up, some boot loaders misbehave by putting the UBC to sleep in a
611 power saving state, which causes issues with things like ptrace().
Linus Torvalds1da177e2005-04-16 15:20:36 -0700612
613 If unsure, say N.
614
Paul Mundtcad82442006-01-16 22:14:19 -0800615config CMDLINE_BOOL
616 bool "Default bootloader kernel arguments"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700617
Paul Mundtcad82442006-01-16 22:14:19 -0800618config CMDLINE
619 string "Initial kernel command string"
620 depends on CMDLINE_BOOL
621 default "console=ttySC1,115200"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700622
623endmenu
624
Paul Mundtcad82442006-01-16 22:14:19 -0800625menu "Bus options"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700626
627# Even on SuperH devices which don't have an ISA bus,
628# this variable helps the PCMCIA modules handle
629# IRQ requesting properly -- Greg Banks.
630#
631# Though we're generally not interested in it when
632# we're not using PCMCIA, so we make it dependent on
633# PCMCIA outright. -- PFM.
634config ISA
Paul Mundt357d5942007-06-11 15:32:07 +0900635 def_bool y
636 depends on PCMCIA && HD6446X_SERIES
Linus Torvalds1da177e2005-04-16 15:20:36 -0700637 help
638 Find out whether you have ISA slots on your motherboard. ISA is the
639 name of a bus system, i.e. the way the CPU talks to the other stuff
640 inside your box. Other bus systems are PCI, EISA, MicroChannel
641 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
642 newer boards don't support it. If you have ISA, say Y, otherwise N.
643
644config EISA
645 bool
646 ---help---
647 The Extended Industry Standard Architecture (EISA) bus was
648 developed as an open alternative to the IBM MicroChannel bus.
649
650 The EISA bus provided some of the features of the IBM MicroChannel
651 bus while maintaining backward compatibility with cards made for
652 the older ISA bus. The EISA bus saw limited use between 1988 and
653 1995 when it was made obsolete by the PCI bus.
654
655 Say Y here if you are building a kernel for an EISA-based machine.
656
657 Otherwise, say N.
658
659config MCA
660 bool
661 help
662 MicroChannel Architecture is found in some IBM PS/2 machines and
663 laptops. It is a bus system similar to PCI or ISA. See
664 <file:Documentation/mca.txt> (and especially the web page given
665 there) before attempting to build an MCA bus kernel.
666
667config SBUS
668 bool
669
Paul Mundtcad82442006-01-16 22:14:19 -0800670config SUPERHYWAY
671 tristate "SuperHyway Bus support"
672 depends on CPU_SUBTYPE_SH4_202
Linus Torvalds1da177e2005-04-16 15:20:36 -0700673
Adrian McMenamin17be2d22007-09-21 15:55:55 +0900674config MAPLE
675 bool "Maple Bus support"
676 depends on SH_DREAMCAST
677 help
678 The Maple Bus is SEGA's serial communication bus for peripherals
679 on the Dreamcast. Without this bus support you won't be able to
680 get your Dreamcast keyboard etc to work, so most users
681 probably want to say 'Y' here, unless you are only using the
682 Dreamcast with a serial line terminal or a remote network
683 connection.
684
Paul Mundt824e55f2007-06-20 18:01:52 +0900685config CF_ENABLER
686 bool "Compact Flash Enabler support"
687 depends on SOLUTION_ENGINE || SH_SH03
688 ---help---
689 Compact Flash is a small, removable mass storage device introduced
690 in 1994 originally as a PCMCIA device. If you say `Y' here, you
691 compile in support for Compact Flash devices directly connected to
692 a SuperH processor. A Compact Flash FAQ is available at
693 <http://www.compactflash.org/faqs/faq.htm>.
694
695 If your board has "Directly Connected" CompactFlash at area 5 or 6,
696 you may want to enable this option. Then, you can use CF as
697 primary IDE drive (only tested for SanDisk).
698
699 If in doubt, select 'N'.
700
701choice
702 prompt "Compact Flash Connection Area"
703 depends on CF_ENABLER
704 default CF_AREA6
705
706config CF_AREA5
707 bool "Area5"
708 help
709 If your board has "Directly Connected" CompactFlash, You should
710 select the area where your CF is connected to.
711
712 - "Area5" if CompactFlash is connected to Area 5 (0x14000000)
713 - "Area6" if it is connected to Area 6 (0x18000000)
714
715 "Area6" will work for most boards.
716
717config CF_AREA6
718 bool "Area6"
719
720endchoice
721
722config CF_BASE_ADDR
723 hex
724 depends on CF_ENABLER
725 default "0xb8000000" if CF_AREA6
726 default "0xb4000000" if CF_AREA5
727
Linus Torvalds1da177e2005-04-16 15:20:36 -0700728source "arch/sh/drivers/pci/Kconfig"
729
730source "drivers/pci/Kconfig"
731
732source "drivers/pcmcia/Kconfig"
733
734source "drivers/pci/hotplug/Kconfig"
735
736endmenu
737
738menu "Executable file formats"
739
740source "fs/Kconfig.binfmt"
741
742endmenu
743
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900744menu "Power management options (EXPERIMENTAL)"
Paul Mundt357d5942007-06-11 15:32:07 +0900745depends on EXPERIMENTAL && SYS_SUPPORTS_PM
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900746
Johannes Bergf4cb5702007-12-08 02:14:00 +0100747config ARCH_SUSPEND_POSSIBLE
748 def_bool y
749 depends on !SMP
750
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900751source kernel/power/Kconfig
752
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900753endmenu
754
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700755source "net/Kconfig"
756
Linus Torvalds1da177e2005-04-16 15:20:36 -0700757source "drivers/Kconfig"
758
759source "fs/Kconfig"
760
Linus Torvalds1da177e2005-04-16 15:20:36 -0700761source "arch/sh/Kconfig.debug"
762
763source "security/Kconfig"
764
765source "crypto/Kconfig"
766
767source "lib/Kconfig"