blob: 23eea5cf4ca0eab26d9fdede57f98aa303cfc047 [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
9 bool
10 default y
Paul Mundt7a440c92006-09-27 18:18:31 +090011 select EMBEDDED
Linus Torvalds1da177e2005-04-16 15:20:36 -070012 help
13 The SuperH is a RISC processor targeted for use in embedded systems
14 and consumer electronics; it was also used in the Sega Dreamcast
15 gaming console. The SuperH port has a home page at
16 <http://www.linux-sh.org/>.
17
Paul Mundt39d28a22007-11-08 18:39:33 +090018config SUPERH32
19 def_bool y
20
Linus Torvalds1da177e2005-04-16 15:20:36 -070021config RWSEM_GENERIC_SPINLOCK
22 bool
23 default y
24
25config RWSEM_XCHGADD_ALGORITHM
26 bool
27
Paul Mundtfa691512007-03-08 19:41:21 +090028config GENERIC_BUG
29 def_bool y
30 depends on BUG
31
Akinobu Mitae2268c72006-03-26 01:39:35 -080032config GENERIC_FIND_NEXT_BIT
33 bool
34 default y
35
36config GENERIC_HWEIGHT
37 bool
38 default y
39
Linus Torvalds1da177e2005-04-16 15:20:36 -070040config GENERIC_HARDIRQS
41 bool
42 default y
43
44config GENERIC_IRQ_PROBE
45 bool
46 default y
47
48config GENERIC_CALIBRATE_DELAY
49 bool
50 default y
51
Paul Mundtcad82442006-01-16 22:14:19 -080052config GENERIC_IOMAP
53 bool
54
Paul Mundt45882142006-10-04 13:21:45 +090055config GENERIC_TIME
56 def_bool n
57
Paul Mundt57be2b42007-05-09 17:33:24 +090058config GENERIC_CLOCKEVENTS
59 def_bool n
60
Paul Mundt357d5942007-06-11 15:32:07 +090061config SYS_SUPPORTS_PM
62 bool
63
Paul Mundt0a9b0db2007-01-24 21:56:20 +090064config SYS_SUPPORTS_APM_EMULATION
65 bool
Paul Mundt357d5942007-06-11 15:32:07 +090066 select SYS_SUPPORTS_PM
67
68config SYS_SUPPORTS_SMP
69 bool
70
71config SYS_SUPPORTS_NUMA
72 bool
73
74config SYS_SUPPORTS_PCI
75 bool
Paul Mundt0a9b0db2007-01-24 21:56:20 +090076
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010077config ARCH_MAY_HAVE_PC_FDC
78 bool
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010079
Paul Mundtafbfb522006-12-04 18:17:28 +090080config STACKTRACE_SUPPORT
81 bool
82 default y
83
84config LOCKDEP_SUPPORT
85 bool
86 default y
87
David Howellsf0d1b0b2006-12-08 02:37:49 -080088config ARCH_HAS_ILOG2_U32
89 bool
90 default n
91
92config ARCH_HAS_ILOG2_U64
93 bool
94 default n
95
Paul Mundte257ad02007-07-25 11:18:00 +090096config ARCH_NO_VIRT_TO_BUS
97 def_bool y
98
Linus Torvalds1da177e2005-04-16 15:20:36 -070099source "init/Kconfig"
100
101menu "System type"
102
Paul Mundtb5f42db2007-11-08 18:38:14 +0900103#
104# Processor families
105#
106config CPU_SH2
107 bool
108
109config CPU_SH2A
110 bool
111 select CPU_SH2
112
113config CPU_SH3
114 bool
115 select CPU_HAS_INTEVT
116 select CPU_HAS_SR_RB
117
118config CPU_SH4
119 bool
120 select CPU_HAS_INTEVT
121 select CPU_HAS_SR_RB
122 select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2
123 select CPU_HAS_FPU if !CPU_SH4AL_DSP
124
125config CPU_SH4A
126 bool
127 select CPU_SH4
128
129config CPU_SH4AL_DSP
130 bool
131 select CPU_SH4A
132 select CPU_HAS_DSP
133
134config CPU_SHX2
135 bool
136
137config CPU_SHX3
138 bool
139
140choice
141 prompt "Processor sub-type selection"
142
143#
144# Processor subtypes
145#
146
147# SH-2 Processor Support
148
149config CPU_SUBTYPE_SH7619
150 bool "Support SH7619 processor"
151 select CPU_SH2
152
153# SH-2A Processor Support
154
155config CPU_SUBTYPE_SH7206
156 bool "Support SH7206 processor"
157 select CPU_SH2A
158
159# SH-3 Processor Support
160
161config CPU_SUBTYPE_SH7705
162 bool "Support SH7705 processor"
163 select CPU_SH3
164
165config CPU_SUBTYPE_SH7706
166 bool "Support SH7706 processor"
167 select CPU_SH3
168 help
169 Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
170
171config CPU_SUBTYPE_SH7707
172 bool "Support SH7707 processor"
173 select CPU_SH3
174 help
175 Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU.
176
177config CPU_SUBTYPE_SH7708
178 bool "Support SH7708 processor"
179 select CPU_SH3
180 help
181 Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or
182 if you have a 100 Mhz SH-3 HD6417708R CPU.
183
184config CPU_SUBTYPE_SH7709
185 bool "Support SH7709 processor"
186 select CPU_SH3
187 help
188 Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU.
189
190config CPU_SUBTYPE_SH7710
191 bool "Support SH7710 processor"
192 select CPU_SH3
193 select CPU_HAS_DSP
194 help
195 Select SH7710 if you have a SH3-DSP SH7710 CPU.
196
197config CPU_SUBTYPE_SH7712
198 bool "Support SH7712 processor"
199 select CPU_SH3
200 select CPU_HAS_DSP
201 help
202 Select SH7712 if you have a SH3-DSP SH7712 CPU.
203
204config CPU_SUBTYPE_SH7720
205 bool "Support SH7720 processor"
206 select CPU_SH3
207 select CPU_HAS_DSP
208 help
209 Select SH7720 if you have a SH3-DSP SH7720 CPU.
210
211# SH-4 Processor Support
212
213config CPU_SUBTYPE_SH7750
214 bool "Support SH7750 processor"
215 select CPU_SH4
216 help
217 Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
218
219config CPU_SUBTYPE_SH7091
220 bool "Support SH7091 processor"
221 select CPU_SH4
222 help
223 Select SH7091 if you have an SH-4 based Sega device (such as
224 the Dreamcast, Naomi, and Naomi 2).
225
226config CPU_SUBTYPE_SH7750R
227 bool "Support SH7750R processor"
228 select CPU_SH4
229
230config CPU_SUBTYPE_SH7750S
231 bool "Support SH7750S processor"
232 select CPU_SH4
233
234config CPU_SUBTYPE_SH7751
235 bool "Support SH7751 processor"
236 select CPU_SH4
237 help
238 Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
239 or if you have a HD6417751R CPU.
240
241config CPU_SUBTYPE_SH7751R
242 bool "Support SH7751R processor"
243 select CPU_SH4
244
245config CPU_SUBTYPE_SH7760
246 bool "Support SH7760 processor"
247 select CPU_SH4
248
249config CPU_SUBTYPE_SH4_202
250 bool "Support SH4-202 processor"
251 select CPU_SH4
252
253# SH-4A Processor Support
254
255config CPU_SUBTYPE_SH7770
256 bool "Support SH7770 processor"
257 select CPU_SH4A
258
259config CPU_SUBTYPE_SH7780
260 bool "Support SH7780 processor"
261 select CPU_SH4A
262
263config CPU_SUBTYPE_SH7785
264 bool "Support SH7785 processor"
265 select CPU_SH4A
266 select CPU_SHX2
267 select ARCH_SPARSEMEM_ENABLE
268 select SYS_SUPPORTS_NUMA
269
270config CPU_SUBTYPE_SHX3
271 bool "Support SH-X3 processor"
272 select CPU_SH4A
273 select CPU_SHX3
274 select ARCH_SPARSEMEM_ENABLE
275 select SYS_SUPPORTS_NUMA
276 select SYS_SUPPORTS_SMP
277
278# SH4AL-DSP Processor Support
279
280config CPU_SUBTYPE_SH7343
281 bool "Support SH7343 processor"
282 select CPU_SH4AL_DSP
283
284config CPU_SUBTYPE_SH7722
285 bool "Support SH7722 processor"
286 select CPU_SH4AL_DSP
287 select CPU_SHX2
288 select ARCH_SPARSEMEM_ENABLE
289 select SYS_SUPPORTS_NUMA
290
291endchoice
292
Paul Mundtcad82442006-01-16 22:14:19 -0800293source "arch/sh/mm/Kconfig"
Paul Mundt4690bdc2007-11-09 13:45:42 +0900294source "arch/sh/Kconfig.cpu"
Paul Mundtcad82442006-01-16 22:14:19 -0800295
Paul Mundtf3d22292007-05-14 17:29:12 +0900296menu "Board support"
297
298config SOLUTION_ENGINE
299 bool
300
301config SH_SOLUTION_ENGINE
302 bool "SolutionEngine"
303 select SOLUTION_ENGINE
Magnus Damm56386f62007-07-20 18:44:49 +0900304 select CPU_HAS_IPR_IRQ
Nobuhiro Iwamatsua8199072007-11-05 07:44:41 +0900305 depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \
306 CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \
307 CPU_SUBTYPE_SH7750R
Paul Mundtf3d22292007-05-14 17:29:12 +0900308 help
Nobuhiro Iwamatsua8199072007-11-05 07:44:41 +0900309 Select SolutionEngine if configuring for a Hitachi SH7705, SH7709,
310 SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board.
Paul Mundtf3d22292007-05-14 17:29:12 +0900311
312config SH_7206_SOLUTION_ENGINE
313 bool "SolutionEngine7206"
314 select SOLUTION_ENGINE
315 depends on CPU_SUBTYPE_SH7206
316 help
317 Select 7206 SolutionEngine if configuring for a Hitachi SH7206
318 evaluation board.
319
320config SH_7619_SOLUTION_ENGINE
321 bool "SolutionEngine7619"
322 select SOLUTION_ENGINE
323 depends on CPU_SUBTYPE_SH7619
324 help
325 Select 7619 SolutionEngine if configuring for a Hitachi SH7619
326 evaluation board.
327
328config SH_7722_SOLUTION_ENGINE
329 bool "SolutionEngine7722"
330 select SOLUTION_ENGINE
331 depends on CPU_SUBTYPE_SH7722
332 help
333 Select 7722 SolutionEngine if configuring for a Hitachi SH772
334 evaluation board.
335
336config SH_7751_SOLUTION_ENGINE
337 bool "SolutionEngine7751"
338 select SOLUTION_ENGINE
Magnus Damm56386f62007-07-20 18:44:49 +0900339 select CPU_HAS_IPR_IRQ
Paul Mundtf3d22292007-05-14 17:29:12 +0900340 depends on CPU_SUBTYPE_SH7751
341 help
342 Select 7751 SolutionEngine if configuring for a Hitachi SH7751
343 evaluation board.
344
345config SH_7780_SOLUTION_ENGINE
346 bool "SolutionEngine7780"
347 select SOLUTION_ENGINE
Paul Mundt357d5942007-06-11 15:32:07 +0900348 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900349 depends on CPU_SUBTYPE_SH7780
350 help
351 Select 7780 SolutionEngine if configuring for a Renesas SH7780
352 evaluation board.
353
Paul Mundtf3d22292007-05-14 17:29:12 +0900354config SH_7343_SOLUTION_ENGINE
355 bool "SolutionEngine7343"
356 select SOLUTION_ENGINE
357 depends on CPU_SUBTYPE_SH7343
358 help
359 Select 7343 SolutionEngine if configuring for a Hitachi
360 SH7343 (SH-Mobile 3AS) evaluation board.
361
Paul Mundtf3d22292007-05-14 17:29:12 +0900362config SH_7751_SYSTEMH
363 bool "SystemH7751R"
364 depends on CPU_SUBTYPE_SH7751R
365 help
366 Select SystemH if you are configuring for a Renesas SystemH
367 7751R evaluation board.
368
369config SH_HP6XX
370 bool "HP6XX"
371 select SYS_SUPPORTS_APM_EMULATION
Paul Mundt357d5942007-06-11 15:32:07 +0900372 select HD6446X_SERIES
Paul Mundtf3d22292007-05-14 17:29:12 +0900373 depends on CPU_SUBTYPE_SH7709
374 help
375 Select HP6XX if configuring for a HP jornada HP6xx.
376 More information (hardware only) at
377 <http://www.hp.com/jornada/>.
378
Paul Mundtf3d22292007-05-14 17:29:12 +0900379config SH_DREAMCAST
380 bool "Dreamcast"
Paul Mundt357d5942007-06-11 15:32:07 +0900381 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900382 depends on CPU_SUBTYPE_SH7091
383 help
384 Select Dreamcast if configuring for a SEGA Dreamcast.
Adrian McMenaminad07b102007-10-15 10:38:31 +0900385 More information at <http://www.linux-sh.org>
Paul Mundtf3d22292007-05-14 17:29:12 +0900386
387config SH_MPC1211
388 bool "Interface MPC1211"
389 depends on CPU_SUBTYPE_SH7751 && BROKEN
390 help
391 CTP/PCI-SH02 is a CPU module computer that is produced
392 by Interface Corporation.
393 More information at <http://www.interface.co.jp>
394
395config SH_SH03
396 bool "Interface CTP/PCI-SH03"
Magnus Dammd59645d2007-08-03 14:23:35 +0900397 depends on CPU_SUBTYPE_SH7751
Magnus Damm56386f62007-07-20 18:44:49 +0900398 select CPU_HAS_IPR_IRQ
Paul Mundt357d5942007-06-11 15:32:07 +0900399 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900400 help
401 CTP/PCI-SH03 is a CPU module computer that is produced
402 by Interface Corporation.
403 More information at <http://www.interface.co.jp>
404
405config SH_SECUREEDGE5410
406 bool "SecureEdge5410"
407 depends on CPU_SUBTYPE_SH7751R
Magnus Damm56386f62007-07-20 18:44:49 +0900408 select CPU_HAS_IPR_IRQ
Paul Mundt357d5942007-06-11 15:32:07 +0900409 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900410 help
411 Select SecureEdge5410 if configuring for a SnapGear SH board.
412 This includes both the OEM SecureEdge products as well as the
413 SME product line.
414
415config SH_HS7751RVOIP
416 bool "HS7751RVOIP"
417 depends on CPU_SUBTYPE_SH7751R
418 help
419 Select HS7751RVOIP if configuring for a Renesas Technology
420 Sales VoIP board.
421
422config SH_7710VOIPGW
423 bool "SH7710-VOIP-GW"
424 depends on CPU_SUBTYPE_SH7710
425 help
426 Select this option to build a kernel for the SH7710 based
427 VOIP GW.
428
429config SH_RTS7751R2D
430 bool "RTS7751R2D"
431 depends on CPU_SUBTYPE_SH7751R
Paul Mundt357d5942007-06-11 15:32:07 +0900432 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900433 help
434 Select RTS7751R2D if configuring for a Renesas Technology
435 Sales SH-Graphics board.
436
437config SH_HIGHLANDER
438 bool "Highlander"
439 depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
Paul Mundt357d5942007-06-11 15:32:07 +0900440 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900441
442config SH_EDOSK7705
443 bool "EDOSK7705"
444 depends on CPU_SUBTYPE_SH7705
445
446config SH_SH4202_MICRODEV
447 bool "SH4-202 MicroDev"
448 depends on CPU_SUBTYPE_SH4_202
449 help
450 Select SH4-202 MicroDev if configuring for a SuperH MicroDev board
451 with an SH4-202 CPU.
452
453config SH_LANDISK
454 bool "LANDISK"
455 depends on CPU_SUBTYPE_SH7751R
Paul Mundt357d5942007-06-11 15:32:07 +0900456 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900457 help
458 I-O DATA DEVICE, INC. "LANDISK Series" support.
459
460config SH_TITAN
461 bool "TITAN"
462 depends on CPU_SUBTYPE_SH7751R
Magnus Damm56386f62007-07-20 18:44:49 +0900463 select CPU_HAS_IPR_IRQ
Paul Mundt357d5942007-06-11 15:32:07 +0900464 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900465 help
466 Select Titan if you are configuring for a Nimble Microsystems
467 NetEngine NP51R.
468
469config SH_SHMIN
470 bool "SHMIN"
471 depends on CPU_SUBTYPE_SH7706
Magnus Damm56386f62007-07-20 18:44:49 +0900472 select CPU_HAS_IPR_IRQ
Paul Mundtf3d22292007-05-14 17:29:12 +0900473 help
474 Select SHMIN if configuring for the SHMIN board.
475
476config SH_LBOX_RE2
477 bool "L-BOX RE2"
478 depends on CPU_SUBTYPE_SH7751R
Paul Mundt357d5942007-06-11 15:32:07 +0900479 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900480 help
481 Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2.
482
Paul Mundt94807a32007-08-08 15:22:04 +0900483config SH_X3PROTO
484 bool "SH-X3 Prototype board"
485 depends on CPU_SUBTYPE_SHX3
486
Markus Brunnerded54312007-09-12 11:54:58 +0900487config SH_MAGIC_PANEL_R2
488 bool "Magic Panel R2"
489 depends on CPU_SUBTYPE_SH7720
490 help
491 Select Magic Panel R2 if configuring for Magic Panel R2.
492
Paul Mundtf3d22292007-05-14 17:29:12 +0900493endmenu
494
495source "arch/sh/boards/renesas/hs7751rvoip/Kconfig"
496source "arch/sh/boards/renesas/rts7751r2d/Kconfig"
497source "arch/sh/boards/renesas/r7780rp/Kconfig"
Markus Brunnerded54312007-09-12 11:54:58 +0900498source "arch/sh/boards/magicpanelr2/Kconfig"
Paul Mundtf3d22292007-05-14 17:29:12 +0900499
Paul Mundt32351a22007-03-12 14:38:59 +0900500menu "Timer and clock configuration"
501
Paul Mundtcad82442006-01-16 22:14:19 -0800502config SH_TMU
503 bool "TMU timer support"
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900504 depends on CPU_SH3 || CPU_SH4
Paul Mundt57be2b42007-05-09 17:33:24 +0900505 select GENERIC_TIME
506 select GENERIC_CLOCKEVENTS
Paul Mundtcad82442006-01-16 22:14:19 -0800507 default y
508 help
509 This enables the use of the TMU as the system timer.
510
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900511config SH_CMT
512 bool "CMT timer support"
513 depends on CPU_SH2
514 default y
515 help
516 This enables the use of the CMT as the system timer.
517
518config SH_MTU2
519 bool "MTU2 timer support"
520 depends on CPU_SH2A
521 default n
522 help
523 This enables the use of the MTU2 as the system timer.
524
Paul Mundt417528a2006-11-20 11:18:30 +0900525config SH_TIMER_IRQ
526 int
Paul Mundt32351a22007-03-12 14:38:59 +0900527 default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
Paul Mundt417528a2006-11-20 11:18:30 +0900528 default "86" if CPU_SUBTYPE_SH7619
529 default "140" if CPU_SUBTYPE_SH7206
530 default "16"
531
Paul Mundtcad82442006-01-16 22:14:19 -0800532config SH_PCLK_FREQ
533 int "Peripheral clock frequency (in Hz)"
Magnus Damm870e8a22007-07-25 10:49:21 +0900534 default "27000000" if CPU_SUBTYPE_SH7343
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900535 default "31250000" if CPU_SUBTYPE_SH7619
Paul Mundt05627482007-05-15 16:25:47 +0900536 default "32000000" if CPU_SUBTYPE_SH7722
Magnus Dammd89ddd12007-07-25 11:42:56 +0900537 default "33333333" if CPU_SUBTYPE_SH7770 || \
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900538 CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
539 CPU_SUBTYPE_SH7206
Paul Mundt05627482007-05-15 16:25:47 +0900540 default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
Paul Mundtcad82442006-01-16 22:14:19 -0800541 default "66000000" if CPU_SUBTYPE_SH4_202
Paul Mundt05627482007-05-15 16:25:47 +0900542 default "50000000"
Paul Mundtcad82442006-01-16 22:14:19 -0800543 help
544 This option is used to specify the peripheral clock frequency.
545 This is necessary for determining the reference clock value on
546 platforms lacking an RTC.
547
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900548config SH_CLK_MD
549 int "CPU Mode Pin Setting"
550 depends on CPU_SUBTYPE_SH7619 || CPU_SUBTYPE_SH7206
Paul Mundt357d5942007-06-11 15:32:07 +0900551 default 6 if CPU_SUBTYPE_SH7206
552 default 5 if CPU_SUBTYPE_SH7619
553 default 0
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900554 help
Yoshinori Sato11cbb702006-12-07 18:07:27 +0900555 MD2 - MD0 pin setting.
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900556
Paul Mundt57be2b42007-05-09 17:33:24 +0900557source "kernel/time/Kconfig"
558
Paul Mundt32351a22007-03-12 14:38:59 +0900559endmenu
560
Paul Mundtcad82442006-01-16 22:14:19 -0800561menu "CPU Frequency scaling"
562
563source "drivers/cpufreq/Kconfig"
564
565config SH_CPU_FREQ
566 tristate "SuperH CPU Frequency driver"
Paul Mundtcb5ec752007-07-20 13:38:19 +0900567 depends on CPU_FREQ
Paul Mundtcad82442006-01-16 22:14:19 -0800568 select CPU_FREQ_TABLE
569 help
570 This adds the cpufreq driver for SuperH. At present, only
571 the SH-4 is supported.
572
573 For details, take a look at <file:Documentation/cpu-freq>.
574
575 If unsure, say N.
576
577endmenu
578
Paul Mundt9f5e8ee2006-11-24 11:22:57 +0900579source "arch/sh/drivers/Kconfig"
580
Paul Mundtcad82442006-01-16 22:14:19 -0800581endmenu
582
583config ISA_DMA_API
584 bool
Adrian Bunk05efc672006-02-17 13:52:42 -0800585 depends on SH_MPC1211
Paul Mundtcad82442006-01-16 22:14:19 -0800586 default y
587
588menu "Kernel features"
589
Paul Mundt91b91d02006-09-27 18:08:33 +0900590source kernel/Kconfig.hz
591
Paul Mundtcad82442006-01-16 22:14:19 -0800592config KEXEC
593 bool "kexec system call (EXPERIMENTAL)"
594 depends on EXPERIMENTAL
595 help
596 kexec is a system call that implements the ability to shutdown your
597 current kernel, and to start another kernel. It is like a reboot
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400598 but it is independent of the system firmware. And like a reboot
Paul Mundtcad82442006-01-16 22:14:19 -0800599 you can start any kernel with it, not just Linux.
600
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400601 The name comes from the similarity to the exec system call.
Paul Mundtcad82442006-01-16 22:14:19 -0800602
603 It is an ongoing process to be certain the hardware in a machine
604 is properly shutdown, so do not be surprised if this code does not
605 initially work for you. It may help to enable device hotplugging
606 support. As of this writing the exact hardware interface is
607 strongly in flux, so no good recommendation can be made.
608
Paul Mundt4d5ade52007-04-27 11:25:57 +0900609config CRASH_DUMP
610 bool "kernel crash dumps (EXPERIMENTAL)"
611 depends on EXPERIMENTAL
612 help
613 Generate crash dump after being started by kexec.
614 This should be normally only set in special crash dump kernels
615 which are loaded in the main kernel with kexec-tools into
616 a specially reserved region and then later executed after
617 a crash by kdump/kexec. The crash dump kernel must be compiled
618 to a memory address not used by the main kernel using
619 MEMORY_START.
620
621 For more details see Documentation/kdump/kdump.txt
622
Linus Torvalds1da177e2005-04-16 15:20:36 -0700623config SMP
624 bool "Symmetric multi-processing support"
Paul Mundt357d5942007-06-11 15:32:07 +0900625 depends on SYS_SUPPORTS_SMP
Linus Torvalds1da177e2005-04-16 15:20:36 -0700626 ---help---
627 This enables support for systems with more than one CPU. If you have
628 a system with only one CPU, like most personal computers, say N. If
629 you have a system with more than one CPU, say Y.
630
631 If you say N here, the kernel will run on single and multiprocessor
632 machines, but will use only one CPU of a multiprocessor machine. If
633 you say Y here, the kernel will run on many, but not all,
634 singleprocessor machines. On a singleprocessor machine, the kernel
635 will run faster if you say N here.
636
637 People using multiprocessor machines who say Y here should also say
638 Y to "Enhanced Real Time Clock Support", below.
639
640 See also the <file:Documentation/smp.txt>,
641 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available
642 at <http://www.tldp.org/docs.html#howto>.
643
644 If you don't know what to do here, say N.
645
646config NR_CPUS
647 int "Maximum number of CPUs (2-32)"
648 range 2 32
649 depends on SMP
Paul Mundt2b1bd1a2007-06-20 18:27:10 +0900650 default "4" if CPU_SHX3
Linus Torvalds1da177e2005-04-16 15:20:36 -0700651 default "2"
652 help
653 This allows you to specify the maximum number of CPUs which this
654 kernel will support. The maximum supported value is 32 and the
655 minimum value which makes sense is 2.
656
657 This is purely to save memory - each supported CPU adds
658 approximately eight kilobytes to the kernel image.
659
Paul Mundt91b91d02006-09-27 18:08:33 +0900660source "kernel/Kconfig.preempt"
661
Paul Mundt83662462007-09-28 16:04:49 +0900662config GUSA
663 def_bool y
664 depends on !SMP
665 help
666 This enables support for gUSA (general UserSpace Atomicity).
667 This is the default implementation for both UP and non-ll/sc
668 CPUs, and is used by the libc, amongst others.
669
670 For additional information, design information can be found
671 in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
672
673 This should only be disabled for special cases where alternate
674 atomicity implementations exist.
675
Paul Mundtcad82442006-01-16 22:14:19 -0800676endmenu
677
678menu "Boot options"
679
680config ZERO_PAGE_OFFSET
681 hex "Zero page offset"
682 default "0x00004000" if SH_MPC1211 || SH_SH03
Paul Mundt7a847f82006-12-26 15:29:19 +0900683 default "0x00010000" if PAGE_SIZE_64KB
684 default "0x00002000" if PAGE_SIZE_8KB
Paul Mundtcad82442006-01-16 22:14:19 -0800685 default "0x00001000"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700686 help
Paul Mundtcad82442006-01-16 22:14:19 -0800687 This sets the default offset of zero page.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700688
Paul Mundtcad82442006-01-16 22:14:19 -0800689config BOOT_LINK_OFFSET
690 hex "Link address offset for booting"
691 default "0x00800000"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700692 help
Paul Mundtcad82442006-01-16 22:14:19 -0800693 This option allows you to set the link address offset of the zImage.
694 This can be useful if you are on a board which has a small amount of
695 memory.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700696
Paul Mundtcad82442006-01-16 22:14:19 -0800697config UBC_WAKEUP
698 bool "Wakeup UBC on startup"
Paul Mundt0e3a9aa2007-11-06 15:55:36 +0900699 depends on CPU_SH4 && !CPU_SH4A
Paul Mundtcad82442006-01-16 22:14:19 -0800700 help
701 Selecting this option will wakeup the User Break Controller (UBC) on
702 startup. Although the UBC is left in an awake state when the processor
703 comes up, some boot loaders misbehave by putting the UBC to sleep in a
704 power saving state, which causes issues with things like ptrace().
Linus Torvalds1da177e2005-04-16 15:20:36 -0700705
706 If unsure, say N.
707
Paul Mundtcad82442006-01-16 22:14:19 -0800708config CMDLINE_BOOL
709 bool "Default bootloader kernel arguments"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700710
Paul Mundtcad82442006-01-16 22:14:19 -0800711config CMDLINE
712 string "Initial kernel command string"
713 depends on CMDLINE_BOOL
714 default "console=ttySC1,115200"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700715
716endmenu
717
Paul Mundtcad82442006-01-16 22:14:19 -0800718menu "Bus options"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700719
720# Even on SuperH devices which don't have an ISA bus,
721# this variable helps the PCMCIA modules handle
722# IRQ requesting properly -- Greg Banks.
723#
724# Though we're generally not interested in it when
725# we're not using PCMCIA, so we make it dependent on
726# PCMCIA outright. -- PFM.
727config ISA
Paul Mundt357d5942007-06-11 15:32:07 +0900728 def_bool y
729 depends on PCMCIA && HD6446X_SERIES
Linus Torvalds1da177e2005-04-16 15:20:36 -0700730 help
731 Find out whether you have ISA slots on your motherboard. ISA is the
732 name of a bus system, i.e. the way the CPU talks to the other stuff
733 inside your box. Other bus systems are PCI, EISA, MicroChannel
734 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
735 newer boards don't support it. If you have ISA, say Y, otherwise N.
736
737config EISA
738 bool
739 ---help---
740 The Extended Industry Standard Architecture (EISA) bus was
741 developed as an open alternative to the IBM MicroChannel bus.
742
743 The EISA bus provided some of the features of the IBM MicroChannel
744 bus while maintaining backward compatibility with cards made for
745 the older ISA bus. The EISA bus saw limited use between 1988 and
746 1995 when it was made obsolete by the PCI bus.
747
748 Say Y here if you are building a kernel for an EISA-based machine.
749
750 Otherwise, say N.
751
752config MCA
753 bool
754 help
755 MicroChannel Architecture is found in some IBM PS/2 machines and
756 laptops. It is a bus system similar to PCI or ISA. See
757 <file:Documentation/mca.txt> (and especially the web page given
758 there) before attempting to build an MCA bus kernel.
759
760config SBUS
761 bool
762
Paul Mundtcad82442006-01-16 22:14:19 -0800763config SUPERHYWAY
764 tristate "SuperHyway Bus support"
765 depends on CPU_SUBTYPE_SH4_202
Linus Torvalds1da177e2005-04-16 15:20:36 -0700766
Adrian McMenamin17be2d22007-09-21 15:55:55 +0900767config MAPLE
768 bool "Maple Bus support"
769 depends on SH_DREAMCAST
770 help
771 The Maple Bus is SEGA's serial communication bus for peripherals
772 on the Dreamcast. Without this bus support you won't be able to
773 get your Dreamcast keyboard etc to work, so most users
774 probably want to say 'Y' here, unless you are only using the
775 Dreamcast with a serial line terminal or a remote network
776 connection.
777
Paul Mundt824e55f2007-06-20 18:01:52 +0900778config CF_ENABLER
779 bool "Compact Flash Enabler support"
780 depends on SOLUTION_ENGINE || SH_SH03
781 ---help---
782 Compact Flash is a small, removable mass storage device introduced
783 in 1994 originally as a PCMCIA device. If you say `Y' here, you
784 compile in support for Compact Flash devices directly connected to
785 a SuperH processor. A Compact Flash FAQ is available at
786 <http://www.compactflash.org/faqs/faq.htm>.
787
788 If your board has "Directly Connected" CompactFlash at area 5 or 6,
789 you may want to enable this option. Then, you can use CF as
790 primary IDE drive (only tested for SanDisk).
791
792 If in doubt, select 'N'.
793
794choice
795 prompt "Compact Flash Connection Area"
796 depends on CF_ENABLER
797 default CF_AREA6
798
799config CF_AREA5
800 bool "Area5"
801 help
802 If your board has "Directly Connected" CompactFlash, You should
803 select the area where your CF is connected to.
804
805 - "Area5" if CompactFlash is connected to Area 5 (0x14000000)
806 - "Area6" if it is connected to Area 6 (0x18000000)
807
808 "Area6" will work for most boards.
809
810config CF_AREA6
811 bool "Area6"
812
813endchoice
814
815config CF_BASE_ADDR
816 hex
817 depends on CF_ENABLER
818 default "0xb8000000" if CF_AREA6
819 default "0xb4000000" if CF_AREA5
820
Linus Torvalds1da177e2005-04-16 15:20:36 -0700821source "arch/sh/drivers/pci/Kconfig"
822
823source "drivers/pci/Kconfig"
824
825source "drivers/pcmcia/Kconfig"
826
827source "drivers/pci/hotplug/Kconfig"
828
829endmenu
830
831menu "Executable file formats"
832
833source "fs/Kconfig.binfmt"
834
835endmenu
836
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900837menu "Power management options (EXPERIMENTAL)"
Paul Mundt357d5942007-06-11 15:32:07 +0900838depends on EXPERIMENTAL && SYS_SUPPORTS_PM
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900839
840source kernel/power/Kconfig
841
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900842endmenu
843
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700844source "net/Kconfig"
845
Linus Torvalds1da177e2005-04-16 15:20:36 -0700846source "drivers/Kconfig"
847
848source "fs/Kconfig"
849
Mathieu Desnoyers09caded2007-10-18 23:41:05 -0700850source "kernel/Kconfig.instrumentation"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700851
852source "arch/sh/Kconfig.debug"
853
854source "security/Kconfig"
855
856source "crypto/Kconfig"
857
858source "lib/Kconfig"