blob: 5131d50f851ac44f0a81709708023e2c6f00a5af [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
Linus Torvalds1da177e2005-04-16 15:20:36 -070015 help
16 The SuperH is a RISC processor targeted for use in embedded systems
17 and consumer electronics; it was also used in the Sega Dreamcast
18 gaming console. The SuperH port has a home page at
19 <http://www.linux-sh.org/>.
20
Paul Mundt39d28a22007-11-08 18:39:33 +090021config SUPERH32
Paul Mundtea0e1a92007-11-21 15:58:01 +090022 def_bool !SUPERH64
23
24config SUPERH64
25 def_bool y if CPU_SH5
Paul Mundt39d28a22007-11-08 18:39:33 +090026
Paul Mundtf42b7e32008-07-29 20:12:51 +090027config ARCH_DEFCONFIG
28 string
29 default "arch/sh/configs/shx3_defconfig" if SUPERH32
30 default "arch/sh/configs/cayman_defconfig" if SUPERH64
31
Linus Torvalds1da177e2005-04-16 15:20:36 -070032config RWSEM_GENERIC_SPINLOCK
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090033 def_bool y
Linus Torvalds1da177e2005-04-16 15:20:36 -070034
35config RWSEM_XCHGADD_ALGORITHM
36 bool
37
Paul Mundtfa691512007-03-08 19:41:21 +090038config GENERIC_BUG
39 def_bool y
Paul Mundta82d53e2007-11-21 18:22:05 +090040 depends on BUG && SUPERH32
Paul Mundtfa691512007-03-08 19:41:21 +090041
Akinobu Mitae2268c72006-03-26 01:39:35 -080042config GENERIC_FIND_NEXT_BIT
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090043 def_bool y
Akinobu Mitae2268c72006-03-26 01:39:35 -080044
45config GENERIC_HWEIGHT
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090046 def_bool y
Akinobu Mitae2268c72006-03-26 01:39:35 -080047
Linus Torvalds1da177e2005-04-16 15:20:36 -070048config GENERIC_HARDIRQS
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090049 def_bool y
Linus Torvalds1da177e2005-04-16 15:20:36 -070050
Paul Mundt5093c9a2008-08-04 14:17:13 +090051config GENERIC_HARDIRQS_NO__DO_IRQ
52 def_bool y
53
Linus Torvalds1da177e2005-04-16 15:20:36 -070054config GENERIC_IRQ_PROBE
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090055 def_bool y
Linus Torvalds1da177e2005-04-16 15:20:36 -070056
57config GENERIC_CALIBRATE_DELAY
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090058 def_bool y
Linus Torvalds1da177e2005-04-16 15:20:36 -070059
Paul Mundtcad82442006-01-16 22:14:19 -080060config GENERIC_IOMAP
61 bool
62
Paul Mundt45882142006-10-04 13:21:45 +090063config GENERIC_TIME
64 def_bool n
65
Paul Mundt57be2b42007-05-09 17:33:24 +090066config GENERIC_CLOCKEVENTS
67 def_bool n
68
Paul Mundtbdcab872008-08-04 14:09:15 +090069config GENERIC_LOCKBREAK
70 def_bool y
71 depends on SMP && PREEMPT
72
Paul Mundt357d5942007-06-11 15:32:07 +090073config SYS_SUPPORTS_PM
74 bool
75
Paul Mundt0a9b0db2007-01-24 21:56:20 +090076config SYS_SUPPORTS_APM_EMULATION
77 bool
Paul Mundt357d5942007-06-11 15:32:07 +090078 select SYS_SUPPORTS_PM
79
80config SYS_SUPPORTS_SMP
81 bool
82
83config SYS_SUPPORTS_NUMA
84 bool
85
86config SYS_SUPPORTS_PCI
87 bool
Paul Mundt0a9b0db2007-01-24 21:56:20 +090088
Paul Mundtafbfb522006-12-04 18:17:28 +090089config STACKTRACE_SUPPORT
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090090 def_bool y
Paul Mundtafbfb522006-12-04 18:17:28 +090091
92config LOCKDEP_SUPPORT
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090093 def_bool y
Paul Mundtafbfb522006-12-04 18:17:28 +090094
David Howellsf0d1b0b2006-12-08 02:37:49 -080095config ARCH_HAS_ILOG2_U32
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090096 def_bool n
David Howellsf0d1b0b2006-12-08 02:37:49 -080097
98config ARCH_HAS_ILOG2_U64
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090099 def_bool n
David Howellsf0d1b0b2006-12-08 02:37:49 -0800100
Paul Mundte257ad02007-07-25 11:18:00 +0900101config ARCH_NO_VIRT_TO_BUS
102 def_bool y
103
Magnus Damme7cc9a72008-02-07 20:18:21 +0900104config IO_TRAPPED
105 bool
106
Linus Torvalds1da177e2005-04-16 15:20:36 -0700107source "init/Kconfig"
108
109menu "System type"
110
Paul Mundtb5f42db2007-11-08 18:38:14 +0900111#
112# Processor families
113#
114config CPU_SH2
115 bool
116
117config CPU_SH2A
118 bool
119 select CPU_SH2
120
121config CPU_SH3
122 bool
123 select CPU_HAS_INTEVT
124 select CPU_HAS_SR_RB
125
126config CPU_SH4
127 bool
128 select CPU_HAS_INTEVT
129 select CPU_HAS_SR_RB
130 select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2
131 select CPU_HAS_FPU if !CPU_SH4AL_DSP
132
133config CPU_SH4A
134 bool
135 select CPU_SH4
136
137config CPU_SH4AL_DSP
138 bool
139 select CPU_SH4A
140 select CPU_HAS_DSP
141
Paul Mundtea0e1a92007-11-21 15:58:01 +0900142config CPU_SH5
143 bool
144 select CPU_HAS_FPU
145
Paul Mundtb5f42db2007-11-08 18:38:14 +0900146config CPU_SHX2
147 bool
148
149config CPU_SHX3
150 bool
151
152choice
153 prompt "Processor sub-type selection"
154
155#
156# Processor subtypes
157#
158
159# SH-2 Processor Support
160
161config CPU_SUBTYPE_SH7619
162 bool "Support SH7619 processor"
163 select CPU_SH2
164
165# SH-2A Processor Support
166
Paul Mundt6d01f512007-11-26 18:17:21 +0900167config CPU_SUBTYPE_SH7203
168 bool "Support SH7203 processor"
169 select CPU_SH2A
Paul Mundt74d99a52007-11-26 20:38:36 +0900170 select CPU_HAS_FPU
Paul Mundt6d01f512007-11-26 18:17:21 +0900171
Paul Mundtb5f42db2007-11-08 18:38:14 +0900172config CPU_SUBTYPE_SH7206
173 bool "Support SH7206 processor"
174 select CPU_SH2A
175
Paul Mundta8f67f42007-11-26 19:54:02 +0900176config CPU_SUBTYPE_SH7263
177 bool "Support SH7263 processor"
178 select CPU_SH2A
Paul Mundt74d99a52007-11-26 20:38:36 +0900179 select CPU_HAS_FPU
Paul Mundta8f67f42007-11-26 19:54:02 +0900180
Paul Mundt2ad69902008-03-13 12:52:44 +0900181config CPU_SUBTYPE_MXG
182 bool "Support MX-G processor"
183 select CPU_SH2A
184 help
185 Select MX-G if running on an R8A03022BG part.
186
Paul Mundtb5f42db2007-11-08 18:38:14 +0900187# SH-3 Processor Support
188
189config CPU_SUBTYPE_SH7705
190 bool "Support SH7705 processor"
191 select CPU_SH3
192
193config CPU_SUBTYPE_SH7706
194 bool "Support SH7706 processor"
195 select CPU_SH3
196 help
197 Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
198
199config CPU_SUBTYPE_SH7707
200 bool "Support SH7707 processor"
201 select CPU_SH3
202 help
203 Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU.
204
205config CPU_SUBTYPE_SH7708
206 bool "Support SH7708 processor"
207 select CPU_SH3
208 help
209 Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or
210 if you have a 100 Mhz SH-3 HD6417708R CPU.
211
212config CPU_SUBTYPE_SH7709
213 bool "Support SH7709 processor"
214 select CPU_SH3
215 help
216 Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU.
217
218config CPU_SUBTYPE_SH7710
219 bool "Support SH7710 processor"
220 select CPU_SH3
221 select CPU_HAS_DSP
222 help
223 Select SH7710 if you have a SH3-DSP SH7710 CPU.
224
225config CPU_SUBTYPE_SH7712
226 bool "Support SH7712 processor"
227 select CPU_SH3
228 select CPU_HAS_DSP
229 help
230 Select SH7712 if you have a SH3-DSP SH7712 CPU.
231
232config CPU_SUBTYPE_SH7720
233 bool "Support SH7720 processor"
234 select CPU_SH3
235 select CPU_HAS_DSP
236 help
237 Select SH7720 if you have a SH3-DSP SH7720 CPU.
238
Yoshihiro Shimoda31a49c42007-12-26 11:45:06 +0900239config CPU_SUBTYPE_SH7721
240 bool "Support SH7721 processor"
241 select CPU_SH3
242 select CPU_HAS_DSP
243 help
244 Select SH7721 if you have a SH3-DSP SH7721 CPU.
245
Paul Mundtb5f42db2007-11-08 18:38:14 +0900246# SH-4 Processor Support
247
248config CPU_SUBTYPE_SH7750
249 bool "Support SH7750 processor"
250 select CPU_SH4
251 help
252 Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
253
254config CPU_SUBTYPE_SH7091
255 bool "Support SH7091 processor"
256 select CPU_SH4
257 help
258 Select SH7091 if you have an SH-4 based Sega device (such as
259 the Dreamcast, Naomi, and Naomi 2).
260
261config CPU_SUBTYPE_SH7750R
262 bool "Support SH7750R processor"
263 select CPU_SH4
264
265config CPU_SUBTYPE_SH7750S
266 bool "Support SH7750S processor"
267 select CPU_SH4
268
269config CPU_SUBTYPE_SH7751
270 bool "Support SH7751 processor"
271 select CPU_SH4
272 help
273 Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
274 or if you have a HD6417751R CPU.
275
276config CPU_SUBTYPE_SH7751R
277 bool "Support SH7751R processor"
278 select CPU_SH4
279
280config CPU_SUBTYPE_SH7760
281 bool "Support SH7760 processor"
282 select CPU_SH4
283
284config CPU_SUBTYPE_SH4_202
285 bool "Support SH4-202 processor"
286 select CPU_SH4
287
288# SH-4A Processor Support
289
Paul Mundt178dd0c2008-04-09 17:56:18 +0900290config CPU_SUBTYPE_SH7723
291 bool "Support SH7723 processor"
292 select CPU_SH4A
293 select CPU_SHX2
294 select ARCH_SPARSEMEM_ENABLE
Paul Mundt178dd0c2008-04-09 17:56:18 +0900295 help
296 Select SH7723 if you have an SH-MobileR2 CPU.
297
Yoshihiro Shimoda7d740a02008-01-07 14:40:07 +0900298config CPU_SUBTYPE_SH7763
299 bool "Support SH7763 processor"
300 select CPU_SH4A
301 help
302 Select SH7763 if you have a SH4A SH7763(R5S77631) CPU.
303
Paul Mundtb5f42db2007-11-08 18:38:14 +0900304config CPU_SUBTYPE_SH7770
305 bool "Support SH7770 processor"
306 select CPU_SH4A
307
308config CPU_SUBTYPE_SH7780
309 bool "Support SH7780 processor"
310 select CPU_SH4A
311
312config CPU_SUBTYPE_SH7785
313 bool "Support SH7785 processor"
314 select CPU_SH4A
315 select CPU_SHX2
316 select ARCH_SPARSEMEM_ENABLE
317 select SYS_SUPPORTS_NUMA
318
319config CPU_SUBTYPE_SHX3
320 bool "Support SH-X3 processor"
321 select CPU_SH4A
322 select CPU_SHX3
323 select ARCH_SPARSEMEM_ENABLE
324 select SYS_SUPPORTS_NUMA
325 select SYS_SUPPORTS_SMP
326
327# SH4AL-DSP Processor Support
328
329config CPU_SUBTYPE_SH7343
330 bool "Support SH7343 processor"
331 select CPU_SH4AL_DSP
332
333config CPU_SUBTYPE_SH7722
334 bool "Support SH7722 processor"
335 select CPU_SH4AL_DSP
336 select CPU_SHX2
337 select ARCH_SPARSEMEM_ENABLE
338 select SYS_SUPPORTS_NUMA
339
Magnus Damm9109a302008-02-08 17:31:24 +0900340config CPU_SUBTYPE_SH7366
341 bool "Support SH7366 processor"
342 select CPU_SH4AL_DSP
343 select CPU_SHX2
344 select ARCH_SPARSEMEM_ENABLE
345 select SYS_SUPPORTS_NUMA
346
Paul Mundtea0e1a92007-11-21 15:58:01 +0900347# SH-5 Processor Support
348
349config CPU_SUBTYPE_SH5_101
350 bool "Support SH5-101 processor"
351 select CPU_SH5
352
353config CPU_SUBTYPE_SH5_103
354 bool "Support SH5-103 processor"
Paul Mundt8ef97dd2008-02-14 15:30:54 +0900355 select CPU_SH5
Paul Mundtea0e1a92007-11-21 15:58:01 +0900356
Paul Mundtb5f42db2007-11-08 18:38:14 +0900357endchoice
358
Paul Mundtcad82442006-01-16 22:14:19 -0800359source "arch/sh/mm/Kconfig"
Paul Mundt939a24a2008-07-29 21:41:37 +0900360
Paul Mundt4690bdc2007-11-09 13:45:42 +0900361source "arch/sh/Kconfig.cpu"
Paul Mundtcad82442006-01-16 22:14:19 -0800362
Paul Mundt939a24a2008-07-29 21:41:37 +0900363source "arch/sh/boards/Kconfig"
Paul Mundtf3d22292007-05-14 17:29:12 +0900364
Paul Mundt32351a22007-03-12 14:38:59 +0900365menu "Timer and clock configuration"
366
Paul Mundtcad82442006-01-16 22:14:19 -0800367config SH_TMU
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900368 def_bool y
369 prompt "TMU timer support"
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900370 depends on CPU_SH3 || CPU_SH4
Paul Mundt57be2b42007-05-09 17:33:24 +0900371 select GENERIC_TIME
372 select GENERIC_CLOCKEVENTS
Paul Mundtcad82442006-01-16 22:14:19 -0800373 help
374 This enables the use of the TMU as the system timer.
375
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900376config SH_CMT
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900377 def_bool y
378 prompt "CMT timer support"
Paul Mundt2ad69902008-03-13 12:52:44 +0900379 depends on CPU_SH2 && !CPU_SUBTYPE_MXG
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900380 help
381 This enables the use of the CMT as the system timer.
382
383config SH_MTU2
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900384 def_bool n
385 prompt "MTU2 timer support"
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900386 depends on CPU_SH2A
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900387 help
388 This enables the use of the MTU2 as the system timer.
389
Paul Mundt417528a2006-11-20 11:18:30 +0900390config SH_TIMER_IRQ
391 int
Yoshihiro Shimoda7d740a02008-01-07 14:40:07 +0900392 default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || \
393 CPU_SUBTYPE_SH7763
Paul Mundt417528a2006-11-20 11:18:30 +0900394 default "86" if CPU_SUBTYPE_SH7619
395 default "140" if CPU_SUBTYPE_SH7206
Paul Mundt2b2d4e72008-03-13 19:51:06 +0900396 default "142" if CPU_SUBTYPE_SH7203
Paul Mundt2ad69902008-03-13 12:52:44 +0900397 default "238" if CPU_SUBTYPE_MXG
Paul Mundt417528a2006-11-20 11:18:30 +0900398 default "16"
399
Paul Mundtcad82442006-01-16 22:14:19 -0800400config SH_PCLK_FREQ
401 int "Peripheral clock frequency (in Hz)"
Magnus Damm870e8a22007-07-25 10:49:21 +0900402 default "27000000" if CPU_SUBTYPE_SH7343
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900403 default "31250000" if CPU_SUBTYPE_SH7619
Paul Mundt05627482007-05-15 16:25:47 +0900404 default "32000000" if CPU_SUBTYPE_SH7722
Paul Mundt178dd0c2008-04-09 17:56:18 +0900405 default "33333333" if CPU_SUBTYPE_SH7770 || CPU_SUBTYPE_SH7723 || \
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900406 CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
Paul Mundta8f67f42007-11-26 19:54:02 +0900407 CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \
Paul Mundt2ad69902008-03-13 12:52:44 +0900408 CPU_SUBTYPE_SH7263 || CPU_SUBTYPE_MXG
Paul Mundt05627482007-05-15 16:25:47 +0900409 default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
Paul Mundtcad82442006-01-16 22:14:19 -0800410 default "66000000" if CPU_SUBTYPE_SH4_202
Paul Mundt05627482007-05-15 16:25:47 +0900411 default "50000000"
Paul Mundtcad82442006-01-16 22:14:19 -0800412 help
413 This option is used to specify the peripheral clock frequency.
414 This is necessary for determining the reference clock value on
415 platforms lacking an RTC.
416
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900417config SH_CLK_MD
418 int "CPU Mode Pin Setting"
Paul Mundt6d01f512007-11-26 18:17:21 +0900419 depends on CPU_SH2
Paul Mundt357d5942007-06-11 15:32:07 +0900420 default 6 if CPU_SUBTYPE_SH7206
421 default 5 if CPU_SUBTYPE_SH7619
422 default 0
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900423 help
Yoshinori Sato11cbb702006-12-07 18:07:27 +0900424 MD2 - MD0 pin setting.
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900425
Paul Mundt57be2b42007-05-09 17:33:24 +0900426source "kernel/time/Kconfig"
427
Paul Mundt32351a22007-03-12 14:38:59 +0900428endmenu
429
Paul Mundtcad82442006-01-16 22:14:19 -0800430menu "CPU Frequency scaling"
431
432source "drivers/cpufreq/Kconfig"
433
434config SH_CPU_FREQ
435 tristate "SuperH CPU Frequency driver"
Paul Mundtcb5ec752007-07-20 13:38:19 +0900436 depends on CPU_FREQ
Paul Mundtcad82442006-01-16 22:14:19 -0800437 select CPU_FREQ_TABLE
438 help
439 This adds the cpufreq driver for SuperH. At present, only
440 the SH-4 is supported.
441
442 For details, take a look at <file:Documentation/cpu-freq>.
443
444 If unsure, say N.
445
446endmenu
447
Paul Mundt9f5e8ee2006-11-24 11:22:57 +0900448source "arch/sh/drivers/Kconfig"
449
Paul Mundtcad82442006-01-16 22:14:19 -0800450endmenu
451
452config ISA_DMA_API
Adrian Bunkf5f826c2008-03-31 01:40:17 +0300453 bool
Paul Mundtcad82442006-01-16 22:14:19 -0800454
455menu "Kernel features"
456
Paul Mundt91b91d02006-09-27 18:08:33 +0900457source kernel/Kconfig.hz
458
Paul Mundtcad82442006-01-16 22:14:19 -0800459config KEXEC
460 bool "kexec system call (EXPERIMENTAL)"
Paul Mundt640f7482008-04-25 13:04:56 +0900461 depends on SUPERH32 && EXPERIMENTAL
Paul Mundtcad82442006-01-16 22:14:19 -0800462 help
463 kexec is a system call that implements the ability to shutdown your
464 current kernel, and to start another kernel. It is like a reboot
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400465 but it is independent of the system firmware. And like a reboot
Paul Mundtcad82442006-01-16 22:14:19 -0800466 you can start any kernel with it, not just Linux.
467
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400468 The name comes from the similarity to the exec system call.
Paul Mundtcad82442006-01-16 22:14:19 -0800469
470 It is an ongoing process to be certain the hardware in a machine
471 is properly shutdown, so do not be surprised if this code does not
472 initially work for you. It may help to enable device hotplugging
473 support. As of this writing the exact hardware interface is
474 strongly in flux, so no good recommendation can be made.
475
Paul Mundt4d5ade52007-04-27 11:25:57 +0900476config CRASH_DUMP
477 bool "kernel crash dumps (EXPERIMENTAL)"
Paul Mundt640f7482008-04-25 13:04:56 +0900478 depends on SUPERH32 && EXPERIMENTAL
Paul Mundt4d5ade52007-04-27 11:25:57 +0900479 help
480 Generate crash dump after being started by kexec.
481 This should be normally only set in special crash dump kernels
482 which are loaded in the main kernel with kexec-tools into
483 a specially reserved region and then later executed after
484 a crash by kdump/kexec. The crash dump kernel must be compiled
485 to a memory address not used by the main kernel using
486 MEMORY_START.
487
488 For more details see Documentation/kdump/kdump.txt
489
Paul Mundtc4637d42008-07-30 15:30:52 +0900490config SECCOMP
491 bool "Enable seccomp to safely compute untrusted bytecode"
492 depends on PROC_FS
493 default y
494 help
495 This kernel feature is useful for number crunching applications
496 that may need to compute untrusted bytecode during their
497 execution. By using pipes or other transports made available to
498 the process as file descriptors supporting the read/write
499 syscalls, it's possible to isolate those applications in
500 their own address space using seccomp. Once seccomp is
501 enabled via prctl, it cannot be disabled and the task is only
502 allowed to execute a few safe syscalls defined by each seccomp
503 mode.
504
505 If unsure, say N.
506
Linus Torvalds1da177e2005-04-16 15:20:36 -0700507config SMP
508 bool "Symmetric multi-processing support"
Paul Mundt357d5942007-06-11 15:32:07 +0900509 depends on SYS_SUPPORTS_SMP
Jens Axboe490f5de2008-06-10 20:52:59 +0200510 select USE_GENERIC_SMP_HELPERS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700511 ---help---
512 This enables support for systems with more than one CPU. If you have
513 a system with only one CPU, like most personal computers, say N. If
514 you have a system with more than one CPU, say Y.
515
516 If you say N here, the kernel will run on single and multiprocessor
517 machines, but will use only one CPU of a multiprocessor machine. If
518 you say Y here, the kernel will run on many, but not all,
519 singleprocessor machines. On a singleprocessor machine, the kernel
520 will run faster if you say N here.
521
522 People using multiprocessor machines who say Y here should also say
523 Y to "Enhanced Real Time Clock Support", below.
524
Adrian Bunk03502fa2008-02-03 15:50:21 +0200525 See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
526 available at <http://www.tldp.org/docs.html#howto>.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700527
528 If you don't know what to do here, say N.
529
530config NR_CPUS
531 int "Maximum number of CPUs (2-32)"
532 range 2 32
533 depends on SMP
Paul Mundt2b1bd1a2007-06-20 18:27:10 +0900534 default "4" if CPU_SHX3
Linus Torvalds1da177e2005-04-16 15:20:36 -0700535 default "2"
536 help
537 This allows you to specify the maximum number of CPUs which this
538 kernel will support. The maximum supported value is 32 and the
539 minimum value which makes sense is 2.
540
541 This is purely to save memory - each supported CPU adds
542 approximately eight kilobytes to the kernel image.
543
Paul Mundt91b91d02006-09-27 18:08:33 +0900544source "kernel/Kconfig.preempt"
545
Paul Mundt83662462007-09-28 16:04:49 +0900546config GUSA
547 def_bool y
Stuart Menefy1efe4ce2007-11-30 16:12:36 +0900548 depends on !SMP && SUPERH32
Paul Mundt83662462007-09-28 16:04:49 +0900549 help
550 This enables support for gUSA (general UserSpace Atomicity).
551 This is the default implementation for both UP and non-ll/sc
552 CPUs, and is used by the libc, amongst others.
553
554 For additional information, design information can be found
555 in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
556
557 This should only be disabled for special cases where alternate
558 atomicity implementations exist.
559
Stuart Menefy1efe4ce2007-11-30 16:12:36 +0900560config GUSA_RB
561 bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)"
562 depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A)
563 help
564 Enabling this option will allow the kernel to implement some
565 atomic operations using a software implemention of load-locked/
566 store-conditional (LLSC). On machines which do not have hardware
567 LLSC, this should be more efficient than the other alternative of
568 disabling insterrupts around the atomic sequence.
569
Paul Mundtcad82442006-01-16 22:14:19 -0800570endmenu
571
572menu "Boot options"
573
574config ZERO_PAGE_OFFSET
575 hex "Zero page offset"
Adrian Bunkf5f826c2008-03-31 01:40:17 +0300576 default "0x00004000" if SH_SH03
Paul Mundt7a847f82006-12-26 15:29:19 +0900577 default "0x00010000" if PAGE_SIZE_64KB
578 default "0x00002000" if PAGE_SIZE_8KB
Paul Mundtcad82442006-01-16 22:14:19 -0800579 default "0x00001000"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700580 help
Paul Mundtcad82442006-01-16 22:14:19 -0800581 This sets the default offset of zero page.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700582
Paul Mundtcad82442006-01-16 22:14:19 -0800583config BOOT_LINK_OFFSET
584 hex "Link address offset for booting"
585 default "0x00800000"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700586 help
Paul Mundtcad82442006-01-16 22:14:19 -0800587 This option allows you to set the link address offset of the zImage.
588 This can be useful if you are on a board which has a small amount of
589 memory.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700590
Paul Mundtcad82442006-01-16 22:14:19 -0800591config UBC_WAKEUP
592 bool "Wakeup UBC on startup"
Paul Mundt0e3a9aa2007-11-06 15:55:36 +0900593 depends on CPU_SH4 && !CPU_SH4A
Paul Mundtcad82442006-01-16 22:14:19 -0800594 help
595 Selecting this option will wakeup the User Break Controller (UBC) on
596 startup. Although the UBC is left in an awake state when the processor
597 comes up, some boot loaders misbehave by putting the UBC to sleep in a
598 power saving state, which causes issues with things like ptrace().
Linus Torvalds1da177e2005-04-16 15:20:36 -0700599
600 If unsure, say N.
601
Paul Mundtcad82442006-01-16 22:14:19 -0800602config CMDLINE_BOOL
603 bool "Default bootloader kernel arguments"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700604
Paul Mundtcad82442006-01-16 22:14:19 -0800605config CMDLINE
606 string "Initial kernel command string"
607 depends on CMDLINE_BOOL
608 default "console=ttySC1,115200"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700609
610endmenu
611
Paul Mundtcad82442006-01-16 22:14:19 -0800612menu "Bus options"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700613
614# Even on SuperH devices which don't have an ISA bus,
615# this variable helps the PCMCIA modules handle
616# IRQ requesting properly -- Greg Banks.
617#
618# Though we're generally not interested in it when
619# we're not using PCMCIA, so we make it dependent on
620# PCMCIA outright. -- PFM.
621config ISA
Paul Mundt357d5942007-06-11 15:32:07 +0900622 def_bool y
623 depends on PCMCIA && HD6446X_SERIES
Linus Torvalds1da177e2005-04-16 15:20:36 -0700624 help
625 Find out whether you have ISA slots on your motherboard. ISA is the
626 name of a bus system, i.e. the way the CPU talks to the other stuff
627 inside your box. Other bus systems are PCI, EISA, MicroChannel
628 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
629 newer boards don't support it. If you have ISA, say Y, otherwise N.
630
631config EISA
632 bool
633 ---help---
634 The Extended Industry Standard Architecture (EISA) bus was
635 developed as an open alternative to the IBM MicroChannel bus.
636
637 The EISA bus provided some of the features of the IBM MicroChannel
638 bus while maintaining backward compatibility with cards made for
639 the older ISA bus. The EISA bus saw limited use between 1988 and
640 1995 when it was made obsolete by the PCI bus.
641
642 Say Y here if you are building a kernel for an EISA-based machine.
643
644 Otherwise, say N.
645
646config MCA
647 bool
648 help
649 MicroChannel Architecture is found in some IBM PS/2 machines and
650 laptops. It is a bus system similar to PCI or ISA. See
651 <file:Documentation/mca.txt> (and especially the web page given
652 there) before attempting to build an MCA bus kernel.
653
654config SBUS
655 bool
656
Paul Mundtcad82442006-01-16 22:14:19 -0800657config SUPERHYWAY
658 tristate "SuperHyway Bus support"
659 depends on CPU_SUBTYPE_SH4_202
Linus Torvalds1da177e2005-04-16 15:20:36 -0700660
Adrian McMenamin17be2d22007-09-21 15:55:55 +0900661config MAPLE
662 bool "Maple Bus support"
663 depends on SH_DREAMCAST
664 help
665 The Maple Bus is SEGA's serial communication bus for peripherals
666 on the Dreamcast. Without this bus support you won't be able to
667 get your Dreamcast keyboard etc to work, so most users
668 probably want to say 'Y' here, unless you are only using the
669 Dreamcast with a serial line terminal or a remote network
670 connection.
671
Paul Mundt824e55f2007-06-20 18:01:52 +0900672config CF_ENABLER
673 bool "Compact Flash Enabler support"
674 depends on SOLUTION_ENGINE || SH_SH03
675 ---help---
676 Compact Flash is a small, removable mass storage device introduced
677 in 1994 originally as a PCMCIA device. If you say `Y' here, you
678 compile in support for Compact Flash devices directly connected to
679 a SuperH processor. A Compact Flash FAQ is available at
680 <http://www.compactflash.org/faqs/faq.htm>.
681
682 If your board has "Directly Connected" CompactFlash at area 5 or 6,
683 you may want to enable this option. Then, you can use CF as
684 primary IDE drive (only tested for SanDisk).
685
686 If in doubt, select 'N'.
687
688choice
689 prompt "Compact Flash Connection Area"
690 depends on CF_ENABLER
691 default CF_AREA6
692
693config CF_AREA5
694 bool "Area5"
695 help
696 If your board has "Directly Connected" CompactFlash, You should
697 select the area where your CF is connected to.
698
699 - "Area5" if CompactFlash is connected to Area 5 (0x14000000)
700 - "Area6" if it is connected to Area 6 (0x18000000)
701
702 "Area6" will work for most boards.
703
704config CF_AREA6
705 bool "Area6"
706
707endchoice
708
709config CF_BASE_ADDR
710 hex
711 depends on CF_ENABLER
712 default "0xb8000000" if CF_AREA6
713 default "0xb4000000" if CF_AREA5
714
Linus Torvalds1da177e2005-04-16 15:20:36 -0700715source "arch/sh/drivers/pci/Kconfig"
716
717source "drivers/pci/Kconfig"
718
719source "drivers/pcmcia/Kconfig"
720
721source "drivers/pci/hotplug/Kconfig"
722
723endmenu
724
725menu "Executable file formats"
726
727source "fs/Kconfig.binfmt"
728
729endmenu
730
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900731menu "Power management options (EXPERIMENTAL)"
Paul Mundt357d5942007-06-11 15:32:07 +0900732depends on EXPERIMENTAL && SYS_SUPPORTS_PM
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900733
Johannes Bergf4cb5702007-12-08 02:14:00 +0100734config ARCH_SUSPEND_POSSIBLE
735 def_bool y
736 depends on !SMP
737
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900738source kernel/power/Kconfig
739
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900740endmenu
741
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700742source "net/Kconfig"
743
Linus Torvalds1da177e2005-04-16 15:20:36 -0700744source "drivers/Kconfig"
745
746source "fs/Kconfig"
747
Linus Torvalds1da177e2005-04-16 15:20:36 -0700748source "arch/sh/Kconfig.debug"
749
750source "security/Kconfig"
751
752source "crypto/Kconfig"
753
754source "lib/Kconfig"