blob: 5c9cbfc14c4d5ad9ad06bf18f3a4b2f523eebd0b [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 Mundt694f94f2008-10-31 16:20:36 +090027 select HAVE_FUNCTION_TRACER
Paul Mundtea0e1a92007-11-21 15:58:01 +090028
29config SUPERH64
30 def_bool y if CPU_SH5
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
Paul Mundtf9d62c02008-12-08 11:45:37 +090058 depends on SUPERH32 && (!SH_DREAMCAST && !SH_SH4202_MICRODEV && \
59 !SH_7751_SYSTEMH && !HD64461)
Paul Mundt5093c9a2008-08-04 14:17:13 +090060
Linus Torvalds1da177e2005-04-16 15:20:36 -070061config GENERIC_IRQ_PROBE
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090062 def_bool y
Linus Torvalds1da177e2005-04-16 15:20:36 -070063
Magnus Damm2967dab2008-10-08 20:41:43 +090064config GENERIC_GPIO
65 def_bool n
66
Linus Torvalds1da177e2005-04-16 15:20:36 -070067config GENERIC_CALIBRATE_DELAY
Paul Mundtcf204fa2008-09-08 20:47:42 +090068 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -070069
Paul Mundtcad82442006-01-16 22:14:19 -080070config GENERIC_IOMAP
71 bool
72
Paul Mundt45882142006-10-04 13:21:45 +090073config GENERIC_TIME
74 def_bool n
75
Paul Mundt57be2b42007-05-09 17:33:24 +090076config GENERIC_CLOCKEVENTS
77 def_bool n
78
Paul Mundt8c245942008-08-06 18:37:07 +090079config GENERIC_CLOCKEVENTS_BROADCAST
80 bool
81
Paul Mundtbdcab872008-08-04 14:09:15 +090082config GENERIC_LOCKBREAK
83 def_bool y
84 depends on SMP && PREEMPT
85
Paul Mundt357d5942007-06-11 15:32:07 +090086config SYS_SUPPORTS_PM
87 bool
88
Paul Mundt0a9b0db2007-01-24 21:56:20 +090089config SYS_SUPPORTS_APM_EMULATION
90 bool
Paul Mundt357d5942007-06-11 15:32:07 +090091 select SYS_SUPPORTS_PM
92
93config SYS_SUPPORTS_SMP
94 bool
95
96config SYS_SUPPORTS_NUMA
97 bool
98
99config SYS_SUPPORTS_PCI
100 bool
Paul Mundt0a9b0db2007-01-24 21:56:20 +0900101
Paul Mundtafbfb522006-12-04 18:17:28 +0900102config STACKTRACE_SUPPORT
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900103 def_bool y
Paul Mundtafbfb522006-12-04 18:17:28 +0900104
105config LOCKDEP_SUPPORT
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900106 def_bool y
Paul Mundtafbfb522006-12-04 18:17:28 +0900107
Paul Mundt5a89f1a2008-09-13 01:44:03 +0900108config HAVE_LATENCYTOP_SUPPORT
109 def_bool y
110 depends on !SMP
111
David Howellsf0d1b0b2006-12-08 02:37:49 -0800112config ARCH_HAS_ILOG2_U32
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900113 def_bool n
David Howellsf0d1b0b2006-12-08 02:37:49 -0800114
115config ARCH_HAS_ILOG2_U64
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900116 def_bool n
David Howellsf0d1b0b2006-12-08 02:37:49 -0800117
Paul Mundte257ad02007-07-25 11:18:00 +0900118config ARCH_NO_VIRT_TO_BUS
119 def_bool y
120
Magnus Damme7cc9a72008-02-07 20:18:21 +0900121config IO_TRAPPED
122 bool
123
Linus Torvalds1da177e2005-04-16 15:20:36 -0700124source "init/Kconfig"
125
Matt Helsleydc52ddc2008-10-18 20:27:21 -0700126source "kernel/Kconfig.freezer"
127
Linus Torvalds1da177e2005-04-16 15:20:36 -0700128menu "System type"
129
Paul Mundtb5f42db2007-11-08 18:38:14 +0900130#
131# Processor families
132#
133config CPU_SH2
134 bool
135
136config CPU_SH2A
137 bool
138 select CPU_SH2
139
140config CPU_SH3
141 bool
142 select CPU_HAS_INTEVT
143 select CPU_HAS_SR_RB
144
145config CPU_SH4
146 bool
147 select CPU_HAS_INTEVT
148 select CPU_HAS_SR_RB
149 select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2
150 select CPU_HAS_FPU if !CPU_SH4AL_DSP
151
152config CPU_SH4A
153 bool
154 select CPU_SH4
155
156config CPU_SH4AL_DSP
157 bool
158 select CPU_SH4A
159 select CPU_HAS_DSP
160
Paul Mundtea0e1a92007-11-21 15:58:01 +0900161config CPU_SH5
162 bool
163 select CPU_HAS_FPU
164
Paul Mundtb5f42db2007-11-08 18:38:14 +0900165config CPU_SHX2
166 bool
167
168config CPU_SHX3
169 bool
170
171choice
172 prompt "Processor sub-type selection"
173
174#
175# Processor subtypes
176#
177
178# SH-2 Processor Support
179
180config CPU_SUBTYPE_SH7619
181 bool "Support SH7619 processor"
182 select CPU_SH2
183
184# SH-2A Processor Support
185
Paul Mundt6d01f512007-11-26 18:17:21 +0900186config CPU_SUBTYPE_SH7203
187 bool "Support SH7203 processor"
188 select CPU_SH2A
Paul Mundt74d99a52007-11-26 20:38:36 +0900189 select CPU_HAS_FPU
Paul Mundt6d01f512007-11-26 18:17:21 +0900190
Paul Mundtb5f42db2007-11-08 18:38:14 +0900191config CPU_SUBTYPE_SH7206
192 bool "Support SH7206 processor"
193 select CPU_SH2A
194
Paul Mundta8f67f42007-11-26 19:54:02 +0900195config CPU_SUBTYPE_SH7263
196 bool "Support SH7263 processor"
197 select CPU_SH2A
Paul Mundt74d99a52007-11-26 20:38:36 +0900198 select CPU_HAS_FPU
Paul Mundta8f67f42007-11-26 19:54:02 +0900199
Paul Mundt2ad69902008-03-13 12:52:44 +0900200config CPU_SUBTYPE_MXG
201 bool "Support MX-G processor"
202 select CPU_SH2A
203 help
204 Select MX-G if running on an R8A03022BG part.
205
Paul Mundtb5f42db2007-11-08 18:38:14 +0900206# SH-3 Processor Support
207
208config CPU_SUBTYPE_SH7705
209 bool "Support SH7705 processor"
210 select CPU_SH3
211
212config CPU_SUBTYPE_SH7706
213 bool "Support SH7706 processor"
214 select CPU_SH3
215 help
216 Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
217
218config CPU_SUBTYPE_SH7707
219 bool "Support SH7707 processor"
220 select CPU_SH3
221 help
222 Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU.
223
224config CPU_SUBTYPE_SH7708
225 bool "Support SH7708 processor"
226 select CPU_SH3
227 help
228 Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or
229 if you have a 100 Mhz SH-3 HD6417708R CPU.
230
231config CPU_SUBTYPE_SH7709
232 bool "Support SH7709 processor"
233 select CPU_SH3
234 help
235 Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU.
236
237config CPU_SUBTYPE_SH7710
238 bool "Support SH7710 processor"
239 select CPU_SH3
240 select CPU_HAS_DSP
241 help
242 Select SH7710 if you have a SH3-DSP SH7710 CPU.
243
244config CPU_SUBTYPE_SH7712
245 bool "Support SH7712 processor"
246 select CPU_SH3
247 select CPU_HAS_DSP
248 help
249 Select SH7712 if you have a SH3-DSP SH7712 CPU.
250
251config CPU_SUBTYPE_SH7720
252 bool "Support SH7720 processor"
253 select CPU_SH3
254 select CPU_HAS_DSP
255 help
256 Select SH7720 if you have a SH3-DSP SH7720 CPU.
257
Yoshihiro Shimoda31a49c42007-12-26 11:45:06 +0900258config CPU_SUBTYPE_SH7721
259 bool "Support SH7721 processor"
260 select CPU_SH3
261 select CPU_HAS_DSP
262 help
263 Select SH7721 if you have a SH3-DSP SH7721 CPU.
264
Paul Mundtb5f42db2007-11-08 18:38:14 +0900265# SH-4 Processor Support
266
267config CPU_SUBTYPE_SH7750
268 bool "Support SH7750 processor"
269 select CPU_SH4
270 help
271 Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
272
273config CPU_SUBTYPE_SH7091
274 bool "Support SH7091 processor"
275 select CPU_SH4
276 help
277 Select SH7091 if you have an SH-4 based Sega device (such as
278 the Dreamcast, Naomi, and Naomi 2).
279
280config CPU_SUBTYPE_SH7750R
281 bool "Support SH7750R processor"
282 select CPU_SH4
283
284config CPU_SUBTYPE_SH7750S
285 bool "Support SH7750S processor"
286 select CPU_SH4
287
288config CPU_SUBTYPE_SH7751
289 bool "Support SH7751 processor"
290 select CPU_SH4
291 help
292 Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
293 or if you have a HD6417751R CPU.
294
295config CPU_SUBTYPE_SH7751R
296 bool "Support SH7751R processor"
297 select CPU_SH4
298
299config CPU_SUBTYPE_SH7760
300 bool "Support SH7760 processor"
301 select CPU_SH4
302
303config CPU_SUBTYPE_SH4_202
304 bool "Support SH4-202 processor"
305 select CPU_SH4
306
307# SH-4A Processor Support
308
Paul Mundt178dd0c2008-04-09 17:56:18 +0900309config CPU_SUBTYPE_SH7723
310 bool "Support SH7723 processor"
311 select CPU_SH4A
312 select CPU_SHX2
313 select ARCH_SPARSEMEM_ENABLE
Paul Mundt178dd0c2008-04-09 17:56:18 +0900314 help
315 Select SH7723 if you have an SH-MobileR2 CPU.
316
Yoshihiro Shimoda7d740a02008-01-07 14:40:07 +0900317config CPU_SUBTYPE_SH7763
318 bool "Support SH7763 processor"
319 select CPU_SH4A
320 help
321 Select SH7763 if you have a SH4A SH7763(R5S77631) CPU.
322
Paul Mundtb5f42db2007-11-08 18:38:14 +0900323config CPU_SUBTYPE_SH7770
324 bool "Support SH7770 processor"
325 select CPU_SH4A
326
327config CPU_SUBTYPE_SH7780
328 bool "Support SH7780 processor"
329 select CPU_SH4A
330
331config CPU_SUBTYPE_SH7785
332 bool "Support SH7785 processor"
333 select CPU_SH4A
334 select CPU_SHX2
335 select ARCH_SPARSEMEM_ENABLE
336 select SYS_SUPPORTS_NUMA
337
338config CPU_SUBTYPE_SHX3
339 bool "Support SH-X3 processor"
340 select CPU_SH4A
341 select CPU_SHX3
342 select ARCH_SPARSEMEM_ENABLE
343 select SYS_SUPPORTS_NUMA
344 select SYS_SUPPORTS_SMP
Paul Mundt58402632008-09-05 15:36:39 +0900345 select GENERIC_CLOCKEVENTS_BROADCAST if SMP
Paul Mundtb5f42db2007-11-08 18:38:14 +0900346
347# SH4AL-DSP Processor Support
348
349config CPU_SUBTYPE_SH7343
350 bool "Support SH7343 processor"
351 select CPU_SH4AL_DSP
352
353config CPU_SUBTYPE_SH7722
354 bool "Support SH7722 processor"
355 select CPU_SH4AL_DSP
356 select CPU_SHX2
357 select ARCH_SPARSEMEM_ENABLE
358 select SYS_SUPPORTS_NUMA
359
Magnus Damm9109a302008-02-08 17:31:24 +0900360config CPU_SUBTYPE_SH7366
361 bool "Support SH7366 processor"
362 select CPU_SH4AL_DSP
363 select CPU_SHX2
364 select ARCH_SPARSEMEM_ENABLE
365 select SYS_SUPPORTS_NUMA
366
Paul Mundtea0e1a92007-11-21 15:58:01 +0900367# SH-5 Processor Support
368
369config CPU_SUBTYPE_SH5_101
370 bool "Support SH5-101 processor"
371 select CPU_SH5
372
373config CPU_SUBTYPE_SH5_103
374 bool "Support SH5-103 processor"
Paul Mundt8ef97dd2008-02-14 15:30:54 +0900375 select CPU_SH5
Paul Mundtea0e1a92007-11-21 15:58:01 +0900376
Paul Mundtb5f42db2007-11-08 18:38:14 +0900377endchoice
378
Paul Mundtcad82442006-01-16 22:14:19 -0800379source "arch/sh/mm/Kconfig"
Paul Mundt939a24a2008-07-29 21:41:37 +0900380
Paul Mundt4690bdc2007-11-09 13:45:42 +0900381source "arch/sh/Kconfig.cpu"
Paul Mundtcad82442006-01-16 22:14:19 -0800382
Paul Mundt939a24a2008-07-29 21:41:37 +0900383source "arch/sh/boards/Kconfig"
Paul Mundtf3d22292007-05-14 17:29:12 +0900384
Paul Mundt32351a22007-03-12 14:38:59 +0900385menu "Timer and clock configuration"
386
Paul Mundtcad82442006-01-16 22:14:19 -0800387config SH_TMU
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900388 def_bool y
389 prompt "TMU timer support"
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900390 depends on CPU_SH3 || CPU_SH4
Paul Mundt57be2b42007-05-09 17:33:24 +0900391 select GENERIC_TIME
392 select GENERIC_CLOCKEVENTS
Paul Mundtcad82442006-01-16 22:14:19 -0800393 help
394 This enables the use of the TMU as the system timer.
395
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900396config SH_CMT
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900397 def_bool y
398 prompt "CMT timer support"
Paul Mundt2ad69902008-03-13 12:52:44 +0900399 depends on CPU_SH2 && !CPU_SUBTYPE_MXG
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900400 help
401 This enables the use of the CMT as the system timer.
402
403config SH_MTU2
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900404 def_bool n
405 prompt "MTU2 timer support"
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900406 depends on CPU_SH2A
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900407 help
408 This enables the use of the MTU2 as the system timer.
409
Paul Mundt417528a2006-11-20 11:18:30 +0900410config SH_TIMER_IRQ
411 int
Yoshihiro Shimoda7d740a02008-01-07 14:40:07 +0900412 default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || \
413 CPU_SUBTYPE_SH7763
Paul Mundt417528a2006-11-20 11:18:30 +0900414 default "86" if CPU_SUBTYPE_SH7619
415 default "140" if CPU_SUBTYPE_SH7206
Paul Mundt2b2d4e72008-03-13 19:51:06 +0900416 default "142" if CPU_SUBTYPE_SH7203
Paul Mundt2ad69902008-03-13 12:52:44 +0900417 default "238" if CPU_SUBTYPE_MXG
Paul Mundt417528a2006-11-20 11:18:30 +0900418 default "16"
419
Paul Mundtcad82442006-01-16 22:14:19 -0800420config SH_PCLK_FREQ
421 int "Peripheral clock frequency (in Hz)"
Magnus Damm870e8a22007-07-25 10:49:21 +0900422 default "27000000" if CPU_SUBTYPE_SH7343
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900423 default "31250000" if CPU_SUBTYPE_SH7619
Paul Mundt05627482007-05-15 16:25:47 +0900424 default "32000000" if CPU_SUBTYPE_SH7722
Paul Mundt178dd0c2008-04-09 17:56:18 +0900425 default "33333333" if CPU_SUBTYPE_SH7770 || CPU_SUBTYPE_SH7723 || \
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900426 CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
Paul Mundta8f67f42007-11-26 19:54:02 +0900427 CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \
Paul Mundt2ad69902008-03-13 12:52:44 +0900428 CPU_SUBTYPE_SH7263 || CPU_SUBTYPE_MXG
Paul Mundt05627482007-05-15 16:25:47 +0900429 default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
Paul Mundtcad82442006-01-16 22:14:19 -0800430 default "66000000" if CPU_SUBTYPE_SH4_202
Paul Mundt05627482007-05-15 16:25:47 +0900431 default "50000000"
Paul Mundtcad82442006-01-16 22:14:19 -0800432 help
433 This option is used to specify the peripheral clock frequency.
434 This is necessary for determining the reference clock value on
435 platforms lacking an RTC.
436
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900437config SH_CLK_MD
438 int "CPU Mode Pin Setting"
Paul Mundt6d01f512007-11-26 18:17:21 +0900439 depends on CPU_SH2
Paul Mundt357d5942007-06-11 15:32:07 +0900440 default 6 if CPU_SUBTYPE_SH7206
441 default 5 if CPU_SUBTYPE_SH7619
442 default 0
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900443 help
Yoshinori Sato11cbb702006-12-07 18:07:27 +0900444 MD2 - MD0 pin setting.
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900445
Paul Mundt57be2b42007-05-09 17:33:24 +0900446source "kernel/time/Kconfig"
447
Paul Mundt32351a22007-03-12 14:38:59 +0900448endmenu
449
Paul Mundtcad82442006-01-16 22:14:19 -0800450menu "CPU Frequency scaling"
451
452source "drivers/cpufreq/Kconfig"
453
454config SH_CPU_FREQ
455 tristate "SuperH CPU Frequency driver"
Paul Mundtcb5ec752007-07-20 13:38:19 +0900456 depends on CPU_FREQ
Paul Mundtcad82442006-01-16 22:14:19 -0800457 select CPU_FREQ_TABLE
458 help
459 This adds the cpufreq driver for SuperH. At present, only
460 the SH-4 is supported.
461
462 For details, take a look at <file:Documentation/cpu-freq>.
463
464 If unsure, say N.
465
466endmenu
467
Paul Mundt9f5e8ee2006-11-24 11:22:57 +0900468source "arch/sh/drivers/Kconfig"
469
Paul Mundtcad82442006-01-16 22:14:19 -0800470endmenu
471
472config ISA_DMA_API
Adrian Bunkf5f826c2008-03-31 01:40:17 +0300473 bool
Paul Mundtcad82442006-01-16 22:14:19 -0800474
475menu "Kernel features"
476
Paul Mundt91b91d02006-09-27 18:08:33 +0900477source kernel/Kconfig.hz
478
Paul Mundtcad82442006-01-16 22:14:19 -0800479config KEXEC
480 bool "kexec system call (EXPERIMENTAL)"
Paul Mundt640f7482008-04-25 13:04:56 +0900481 depends on SUPERH32 && EXPERIMENTAL
Paul Mundtcad82442006-01-16 22:14:19 -0800482 help
483 kexec is a system call that implements the ability to shutdown your
484 current kernel, and to start another kernel. It is like a reboot
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400485 but it is independent of the system firmware. And like a reboot
Paul Mundtcad82442006-01-16 22:14:19 -0800486 you can start any kernel with it, not just Linux.
487
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400488 The name comes from the similarity to the exec system call.
Paul Mundtcad82442006-01-16 22:14:19 -0800489
490 It is an ongoing process to be certain the hardware in a machine
491 is properly shutdown, so do not be surprised if this code does not
492 initially work for you. It may help to enable device hotplugging
493 support. As of this writing the exact hardware interface is
494 strongly in flux, so no good recommendation can be made.
495
Paul Mundt4d5ade52007-04-27 11:25:57 +0900496config CRASH_DUMP
497 bool "kernel crash dumps (EXPERIMENTAL)"
Paul Mundt640f7482008-04-25 13:04:56 +0900498 depends on SUPERH32 && EXPERIMENTAL
Paul Mundt4d5ade52007-04-27 11:25:57 +0900499 help
500 Generate crash dump after being started by kexec.
501 This should be normally only set in special crash dump kernels
502 which are loaded in the main kernel with kexec-tools into
503 a specially reserved region and then later executed after
504 a crash by kdump/kexec. The crash dump kernel must be compiled
505 to a memory address not used by the main kernel using
506 MEMORY_START.
507
508 For more details see Documentation/kdump/kdump.txt
509
Paul Mundtc4637d42008-07-30 15:30:52 +0900510config SECCOMP
511 bool "Enable seccomp to safely compute untrusted bytecode"
512 depends on PROC_FS
Paul Mundtc4637d42008-07-30 15:30:52 +0900513 help
514 This kernel feature is useful for number crunching applications
515 that may need to compute untrusted bytecode during their
516 execution. By using pipes or other transports made available to
517 the process as file descriptors supporting the read/write
518 syscalls, it's possible to isolate those applications in
519 their own address space using seccomp. Once seccomp is
520 enabled via prctl, it cannot be disabled and the task is only
521 allowed to execute a few safe syscalls defined by each seccomp
522 mode.
523
524 If unsure, say N.
525
Linus Torvalds1da177e2005-04-16 15:20:36 -0700526config SMP
527 bool "Symmetric multi-processing support"
Paul Mundt357d5942007-06-11 15:32:07 +0900528 depends on SYS_SUPPORTS_SMP
Jens Axboe490f5de2008-06-10 20:52:59 +0200529 select USE_GENERIC_SMP_HELPERS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700530 ---help---
531 This enables support for systems with more than one CPU. If you have
532 a system with only one CPU, like most personal computers, say N. If
533 you have a system with more than one CPU, say Y.
534
535 If you say N here, the kernel will run on single and multiprocessor
536 machines, but will use only one CPU of a multiprocessor machine. If
537 you say Y here, the kernel will run on many, but not all,
538 singleprocessor machines. On a singleprocessor machine, the kernel
539 will run faster if you say N here.
540
541 People using multiprocessor machines who say Y here should also say
542 Y to "Enhanced Real Time Clock Support", below.
543
Adrian Bunk03502fa2008-02-03 15:50:21 +0200544 See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
545 available at <http://www.tldp.org/docs.html#howto>.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700546
547 If you don't know what to do here, say N.
548
549config NR_CPUS
550 int "Maximum number of CPUs (2-32)"
551 range 2 32
552 depends on SMP
Paul Mundt2b1bd1a2007-06-20 18:27:10 +0900553 default "4" if CPU_SHX3
Linus Torvalds1da177e2005-04-16 15:20:36 -0700554 default "2"
555 help
556 This allows you to specify the maximum number of CPUs which this
557 kernel will support. The maximum supported value is 32 and the
558 minimum value which makes sense is 2.
559
560 This is purely to save memory - each supported CPU adds
561 approximately eight kilobytes to the kernel image.
562
Paul Mundt91b91d02006-09-27 18:08:33 +0900563source "kernel/Kconfig.preempt"
564
Paul Mundt83662462007-09-28 16:04:49 +0900565config GUSA
566 def_bool y
Stuart Menefy1efe4ce2007-11-30 16:12:36 +0900567 depends on !SMP && SUPERH32
Paul Mundt83662462007-09-28 16:04:49 +0900568 help
569 This enables support for gUSA (general UserSpace Atomicity).
570 This is the default implementation for both UP and non-ll/sc
571 CPUs, and is used by the libc, amongst others.
572
573 For additional information, design information can be found
574 in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
575
576 This should only be disabled for special cases where alternate
577 atomicity implementations exist.
578
Stuart Menefy1efe4ce2007-11-30 16:12:36 +0900579config GUSA_RB
580 bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)"
581 depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A)
582 help
583 Enabling this option will allow the kernel to implement some
584 atomic operations using a software implemention of load-locked/
585 store-conditional (LLSC). On machines which do not have hardware
586 LLSC, this should be more efficient than the other alternative of
587 disabling insterrupts around the atomic sequence.
588
Paul Mundtcad82442006-01-16 22:14:19 -0800589endmenu
590
591menu "Boot options"
592
593config ZERO_PAGE_OFFSET
594 hex "Zero page offset"
Adrian Bunkf5f826c2008-03-31 01:40:17 +0300595 default "0x00004000" if SH_SH03
Paul Mundt7a847f82006-12-26 15:29:19 +0900596 default "0x00010000" if PAGE_SIZE_64KB
597 default "0x00002000" if PAGE_SIZE_8KB
Paul Mundtcad82442006-01-16 22:14:19 -0800598 default "0x00001000"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700599 help
Paul Mundtcad82442006-01-16 22:14:19 -0800600 This sets the default offset of zero page.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700601
Paul Mundtcad82442006-01-16 22:14:19 -0800602config BOOT_LINK_OFFSET
603 hex "Link address offset for booting"
604 default "0x00800000"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700605 help
Paul Mundtcad82442006-01-16 22:14:19 -0800606 This option allows you to set the link address offset of the zImage.
607 This can be useful if you are on a board which has a small amount of
608 memory.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700609
Paul Mundtcad82442006-01-16 22:14:19 -0800610config UBC_WAKEUP
611 bool "Wakeup UBC on startup"
Paul Mundt0e3a9aa2007-11-06 15:55:36 +0900612 depends on CPU_SH4 && !CPU_SH4A
Paul Mundtcad82442006-01-16 22:14:19 -0800613 help
614 Selecting this option will wakeup the User Break Controller (UBC) on
615 startup. Although the UBC is left in an awake state when the processor
616 comes up, some boot loaders misbehave by putting the UBC to sleep in a
617 power saving state, which causes issues with things like ptrace().
Linus Torvalds1da177e2005-04-16 15:20:36 -0700618
619 If unsure, say N.
620
Paul Mundtcad82442006-01-16 22:14:19 -0800621config CMDLINE_BOOL
622 bool "Default bootloader kernel arguments"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700623
Paul Mundtcad82442006-01-16 22:14:19 -0800624config CMDLINE
625 string "Initial kernel command string"
626 depends on CMDLINE_BOOL
627 default "console=ttySC1,115200"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700628
629endmenu
630
Paul Mundtcad82442006-01-16 22:14:19 -0800631menu "Bus options"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700632
633# Even on SuperH devices which don't have an ISA bus,
634# this variable helps the PCMCIA modules handle
635# IRQ requesting properly -- Greg Banks.
636#
637# Though we're generally not interested in it when
638# we're not using PCMCIA, so we make it dependent on
639# PCMCIA outright. -- PFM.
640config ISA
Paul Mundt357d5942007-06-11 15:32:07 +0900641 def_bool y
642 depends on PCMCIA && HD6446X_SERIES
Linus Torvalds1da177e2005-04-16 15:20:36 -0700643 help
644 Find out whether you have ISA slots on your motherboard. ISA is the
645 name of a bus system, i.e. the way the CPU talks to the other stuff
646 inside your box. Other bus systems are PCI, EISA, MicroChannel
647 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
648 newer boards don't support it. If you have ISA, say Y, otherwise N.
649
650config EISA
651 bool
652 ---help---
653 The Extended Industry Standard Architecture (EISA) bus was
654 developed as an open alternative to the IBM MicroChannel bus.
655
656 The EISA bus provided some of the features of the IBM MicroChannel
657 bus while maintaining backward compatibility with cards made for
658 the older ISA bus. The EISA bus saw limited use between 1988 and
659 1995 when it was made obsolete by the PCI bus.
660
661 Say Y here if you are building a kernel for an EISA-based machine.
662
663 Otherwise, say N.
664
665config MCA
666 bool
667 help
668 MicroChannel Architecture is found in some IBM PS/2 machines and
669 laptops. It is a bus system similar to PCI or ISA. See
670 <file:Documentation/mca.txt> (and especially the web page given
671 there) before attempting to build an MCA bus kernel.
672
673config SBUS
674 bool
675
Paul Mundtcad82442006-01-16 22:14:19 -0800676config SUPERHYWAY
677 tristate "SuperHyway Bus support"
678 depends on CPU_SUBTYPE_SH4_202
Linus Torvalds1da177e2005-04-16 15:20:36 -0700679
Adrian McMenamin17be2d22007-09-21 15:55:55 +0900680config MAPLE
681 bool "Maple Bus support"
682 depends on SH_DREAMCAST
683 help
684 The Maple Bus is SEGA's serial communication bus for peripherals
685 on the Dreamcast. Without this bus support you won't be able to
686 get your Dreamcast keyboard etc to work, so most users
687 probably want to say 'Y' here, unless you are only using the
688 Dreamcast with a serial line terminal or a remote network
689 connection.
690
Paul Mundt824e55f2007-06-20 18:01:52 +0900691config CF_ENABLER
692 bool "Compact Flash Enabler support"
693 depends on SOLUTION_ENGINE || SH_SH03
694 ---help---
695 Compact Flash is a small, removable mass storage device introduced
696 in 1994 originally as a PCMCIA device. If you say `Y' here, you
697 compile in support for Compact Flash devices directly connected to
698 a SuperH processor. A Compact Flash FAQ is available at
699 <http://www.compactflash.org/faqs/faq.htm>.
700
701 If your board has "Directly Connected" CompactFlash at area 5 or 6,
702 you may want to enable this option. Then, you can use CF as
703 primary IDE drive (only tested for SanDisk).
704
705 If in doubt, select 'N'.
706
707choice
708 prompt "Compact Flash Connection Area"
709 depends on CF_ENABLER
710 default CF_AREA6
711
712config CF_AREA5
713 bool "Area5"
714 help
715 If your board has "Directly Connected" CompactFlash, You should
716 select the area where your CF is connected to.
717
718 - "Area5" if CompactFlash is connected to Area 5 (0x14000000)
719 - "Area6" if it is connected to Area 6 (0x18000000)
720
721 "Area6" will work for most boards.
722
723config CF_AREA6
724 bool "Area6"
725
726endchoice
727
728config CF_BASE_ADDR
729 hex
730 depends on CF_ENABLER
731 default "0xb8000000" if CF_AREA6
732 default "0xb4000000" if CF_AREA5
733
Linus Torvalds1da177e2005-04-16 15:20:36 -0700734source "arch/sh/drivers/pci/Kconfig"
735
736source "drivers/pci/Kconfig"
737
738source "drivers/pcmcia/Kconfig"
739
740source "drivers/pci/hotplug/Kconfig"
741
742endmenu
743
744menu "Executable file formats"
745
746source "fs/Kconfig.binfmt"
747
748endmenu
749
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900750menu "Power management options (EXPERIMENTAL)"
Paul Mundt357d5942007-06-11 15:32:07 +0900751depends on EXPERIMENTAL && SYS_SUPPORTS_PM
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900752
Johannes Bergf4cb5702007-12-08 02:14:00 +0100753config ARCH_SUSPEND_POSSIBLE
754 def_bool y
755 depends on !SMP
756
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900757source kernel/power/Kconfig
758
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900759endmenu
760
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700761source "net/Kconfig"
762
Linus Torvalds1da177e2005-04-16 15:20:36 -0700763source "drivers/Kconfig"
764
765source "fs/Kconfig"
766
Linus Torvalds1da177e2005-04-16 15:20:36 -0700767source "arch/sh/Kconfig.debug"
768
769source "security/Kconfig"
770
771source "crypto/Kconfig"
772
773source "lib/Kconfig"