blob: e406f1dbac84a73fa14ddbcc80f786c1206d6672 [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
Linus Torvalds1da177e2005-04-16 15:20:36 -070011 help
12 The SuperH is a RISC processor targeted for use in embedded systems
13 and consumer electronics; it was also used in the Sega Dreamcast
14 gaming console. The SuperH port has a home page at
15 <http://www.linux-sh.org/>.
16
Paul Mundt39d28a22007-11-08 18:39:33 +090017config SUPERH32
Paul Mundtea0e1a92007-11-21 15:58:01 +090018 def_bool !SUPERH64
19
20config SUPERH64
21 def_bool y if CPU_SH5
Paul Mundt39d28a22007-11-08 18:39:33 +090022
Linus Torvalds1da177e2005-04-16 15:20:36 -070023config RWSEM_GENERIC_SPINLOCK
24 bool
25 default y
26
Paul Mundtea0e1a92007-11-21 15:58:01 +090027config SUPERH64
28 def_bool y if CPU_SH5
29
Linus Torvalds1da177e2005-04-16 15:20:36 -070030config RWSEM_XCHGADD_ALGORITHM
31 bool
32
Paul Mundtfa691512007-03-08 19:41:21 +090033config GENERIC_BUG
34 def_bool y
Paul Mundta82d53e2007-11-21 18:22:05 +090035 depends on BUG && SUPERH32
Paul Mundtfa691512007-03-08 19:41:21 +090036
Akinobu Mitae2268c72006-03-26 01:39:35 -080037config GENERIC_FIND_NEXT_BIT
38 bool
39 default y
40
41config GENERIC_HWEIGHT
42 bool
43 default y
44
Linus Torvalds1da177e2005-04-16 15:20:36 -070045config GENERIC_HARDIRQS
46 bool
47 default y
48
49config GENERIC_IRQ_PROBE
50 bool
51 default y
52
53config GENERIC_CALIBRATE_DELAY
54 bool
55 default y
56
Paul Mundtcad82442006-01-16 22:14:19 -080057config GENERIC_IOMAP
58 bool
59
Paul Mundt45882142006-10-04 13:21:45 +090060config GENERIC_TIME
61 def_bool n
62
Paul Mundt57be2b42007-05-09 17:33:24 +090063config GENERIC_CLOCKEVENTS
64 def_bool n
65
Paul Mundt357d5942007-06-11 15:32:07 +090066config SYS_SUPPORTS_PM
67 bool
68
Paul Mundt0a9b0db2007-01-24 21:56:20 +090069config SYS_SUPPORTS_APM_EMULATION
70 bool
Paul Mundt357d5942007-06-11 15:32:07 +090071 select SYS_SUPPORTS_PM
72
73config SYS_SUPPORTS_SMP
74 bool
75
76config SYS_SUPPORTS_NUMA
77 bool
78
79config SYS_SUPPORTS_PCI
80 bool
Paul Mundt0a9b0db2007-01-24 21:56:20 +090081
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010082config ARCH_MAY_HAVE_PC_FDC
83 bool
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010084
Paul Mundtafbfb522006-12-04 18:17:28 +090085config STACKTRACE_SUPPORT
86 bool
87 default y
88
89config LOCKDEP_SUPPORT
90 bool
91 default y
92
David Howellsf0d1b0b2006-12-08 02:37:49 -080093config ARCH_HAS_ILOG2_U32
94 bool
95 default n
96
97config ARCH_HAS_ILOG2_U64
98 bool
99 default n
100
Paul Mundte257ad02007-07-25 11:18:00 +0900101config ARCH_NO_VIRT_TO_BUS
102 def_bool y
103
Linus Torvalds1da177e2005-04-16 15:20:36 -0700104source "init/Kconfig"
105
106menu "System type"
107
Paul Mundtb5f42db2007-11-08 18:38:14 +0900108#
109# Processor families
110#
111config CPU_SH2
112 bool
113
114config CPU_SH2A
115 bool
116 select CPU_SH2
117
118config CPU_SH3
119 bool
120 select CPU_HAS_INTEVT
121 select CPU_HAS_SR_RB
122
123config CPU_SH4
124 bool
125 select CPU_HAS_INTEVT
126 select CPU_HAS_SR_RB
127 select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2
128 select CPU_HAS_FPU if !CPU_SH4AL_DSP
129
130config CPU_SH4A
131 bool
132 select CPU_SH4
133
134config CPU_SH4AL_DSP
135 bool
136 select CPU_SH4A
137 select CPU_HAS_DSP
138
Paul Mundtea0e1a92007-11-21 15:58:01 +0900139config CPU_SH5
140 bool
141 select CPU_HAS_FPU
142
Paul Mundtb5f42db2007-11-08 18:38:14 +0900143config CPU_SHX2
144 bool
145
146config CPU_SHX3
147 bool
148
149choice
150 prompt "Processor sub-type selection"
151
152#
153# Processor subtypes
154#
155
156# SH-2 Processor Support
157
158config CPU_SUBTYPE_SH7619
159 bool "Support SH7619 processor"
160 select CPU_SH2
161
162# SH-2A Processor Support
163
164config CPU_SUBTYPE_SH7206
165 bool "Support SH7206 processor"
166 select CPU_SH2A
167
168# SH-3 Processor Support
169
170config CPU_SUBTYPE_SH7705
171 bool "Support SH7705 processor"
172 select CPU_SH3
173
174config CPU_SUBTYPE_SH7706
175 bool "Support SH7706 processor"
176 select CPU_SH3
177 help
178 Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
179
180config CPU_SUBTYPE_SH7707
181 bool "Support SH7707 processor"
182 select CPU_SH3
183 help
184 Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU.
185
186config CPU_SUBTYPE_SH7708
187 bool "Support SH7708 processor"
188 select CPU_SH3
189 help
190 Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or
191 if you have a 100 Mhz SH-3 HD6417708R CPU.
192
193config CPU_SUBTYPE_SH7709
194 bool "Support SH7709 processor"
195 select CPU_SH3
196 help
197 Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU.
198
199config CPU_SUBTYPE_SH7710
200 bool "Support SH7710 processor"
201 select CPU_SH3
202 select CPU_HAS_DSP
203 help
204 Select SH7710 if you have a SH3-DSP SH7710 CPU.
205
206config CPU_SUBTYPE_SH7712
207 bool "Support SH7712 processor"
208 select CPU_SH3
209 select CPU_HAS_DSP
210 help
211 Select SH7712 if you have a SH3-DSP SH7712 CPU.
212
213config CPU_SUBTYPE_SH7720
214 bool "Support SH7720 processor"
215 select CPU_SH3
216 select CPU_HAS_DSP
217 help
218 Select SH7720 if you have a SH3-DSP SH7720 CPU.
219
220# SH-4 Processor Support
221
222config CPU_SUBTYPE_SH7750
223 bool "Support SH7750 processor"
224 select CPU_SH4
225 help
226 Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
227
228config CPU_SUBTYPE_SH7091
229 bool "Support SH7091 processor"
230 select CPU_SH4
231 help
232 Select SH7091 if you have an SH-4 based Sega device (such as
233 the Dreamcast, Naomi, and Naomi 2).
234
235config CPU_SUBTYPE_SH7750R
236 bool "Support SH7750R processor"
237 select CPU_SH4
238
239config CPU_SUBTYPE_SH7750S
240 bool "Support SH7750S processor"
241 select CPU_SH4
242
243config CPU_SUBTYPE_SH7751
244 bool "Support SH7751 processor"
245 select CPU_SH4
246 help
247 Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
248 or if you have a HD6417751R CPU.
249
250config CPU_SUBTYPE_SH7751R
251 bool "Support SH7751R processor"
252 select CPU_SH4
253
254config CPU_SUBTYPE_SH7760
255 bool "Support SH7760 processor"
256 select CPU_SH4
257
258config CPU_SUBTYPE_SH4_202
259 bool "Support SH4-202 processor"
260 select CPU_SH4
261
262# SH-4A Processor Support
263
264config CPU_SUBTYPE_SH7770
265 bool "Support SH7770 processor"
266 select CPU_SH4A
267
268config CPU_SUBTYPE_SH7780
269 bool "Support SH7780 processor"
270 select CPU_SH4A
271
272config CPU_SUBTYPE_SH7785
273 bool "Support SH7785 processor"
274 select CPU_SH4A
275 select CPU_SHX2
276 select ARCH_SPARSEMEM_ENABLE
277 select SYS_SUPPORTS_NUMA
278
279config CPU_SUBTYPE_SHX3
280 bool "Support SH-X3 processor"
281 select CPU_SH4A
282 select CPU_SHX3
283 select ARCH_SPARSEMEM_ENABLE
284 select SYS_SUPPORTS_NUMA
285 select SYS_SUPPORTS_SMP
286
287# SH4AL-DSP Processor Support
288
289config CPU_SUBTYPE_SH7343
290 bool "Support SH7343 processor"
291 select CPU_SH4AL_DSP
292
293config CPU_SUBTYPE_SH7722
294 bool "Support SH7722 processor"
295 select CPU_SH4AL_DSP
296 select CPU_SHX2
297 select ARCH_SPARSEMEM_ENABLE
298 select SYS_SUPPORTS_NUMA
299
Paul Mundtea0e1a92007-11-21 15:58:01 +0900300# SH-5 Processor Support
301
302config CPU_SUBTYPE_SH5_101
303 bool "Support SH5-101 processor"
304 select CPU_SH5
305
306config CPU_SUBTYPE_SH5_103
307 bool "Support SH5-103 processor"
308
Paul Mundtb5f42db2007-11-08 18:38:14 +0900309endchoice
310
Paul Mundtcad82442006-01-16 22:14:19 -0800311source "arch/sh/mm/Kconfig"
Paul Mundt4690bdc2007-11-09 13:45:42 +0900312source "arch/sh/Kconfig.cpu"
Paul Mundtcad82442006-01-16 22:14:19 -0800313
Paul Mundtf3d22292007-05-14 17:29:12 +0900314menu "Board support"
315
316config SOLUTION_ENGINE
317 bool
318
319config SH_SOLUTION_ENGINE
320 bool "SolutionEngine"
321 select SOLUTION_ENGINE
Magnus Damm56386f62007-07-20 18:44:49 +0900322 select CPU_HAS_IPR_IRQ
Nobuhiro Iwamatsua8199072007-11-05 07:44:41 +0900323 depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \
324 CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \
325 CPU_SUBTYPE_SH7750R
Paul Mundtf3d22292007-05-14 17:29:12 +0900326 help
Nobuhiro Iwamatsua8199072007-11-05 07:44:41 +0900327 Select SolutionEngine if configuring for a Hitachi SH7705, SH7709,
328 SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board.
Paul Mundtf3d22292007-05-14 17:29:12 +0900329
330config SH_7206_SOLUTION_ENGINE
331 bool "SolutionEngine7206"
332 select SOLUTION_ENGINE
333 depends on CPU_SUBTYPE_SH7206
334 help
335 Select 7206 SolutionEngine if configuring for a Hitachi SH7206
336 evaluation board.
337
338config SH_7619_SOLUTION_ENGINE
339 bool "SolutionEngine7619"
340 select SOLUTION_ENGINE
341 depends on CPU_SUBTYPE_SH7619
342 help
343 Select 7619 SolutionEngine if configuring for a Hitachi SH7619
344 evaluation board.
345
346config SH_7722_SOLUTION_ENGINE
347 bool "SolutionEngine7722"
348 select SOLUTION_ENGINE
349 depends on CPU_SUBTYPE_SH7722
350 help
351 Select 7722 SolutionEngine if configuring for a Hitachi SH772
352 evaluation board.
353
354config SH_7751_SOLUTION_ENGINE
355 bool "SolutionEngine7751"
356 select SOLUTION_ENGINE
Magnus Damm56386f62007-07-20 18:44:49 +0900357 select CPU_HAS_IPR_IRQ
Paul Mundtf3d22292007-05-14 17:29:12 +0900358 depends on CPU_SUBTYPE_SH7751
359 help
360 Select 7751 SolutionEngine if configuring for a Hitachi SH7751
361 evaluation board.
362
363config SH_7780_SOLUTION_ENGINE
364 bool "SolutionEngine7780"
365 select SOLUTION_ENGINE
Paul Mundt357d5942007-06-11 15:32:07 +0900366 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900367 depends on CPU_SUBTYPE_SH7780
368 help
369 Select 7780 SolutionEngine if configuring for a Renesas SH7780
370 evaluation board.
371
Paul Mundtf3d22292007-05-14 17:29:12 +0900372config SH_7343_SOLUTION_ENGINE
373 bool "SolutionEngine7343"
374 select SOLUTION_ENGINE
375 depends on CPU_SUBTYPE_SH7343
376 help
377 Select 7343 SolutionEngine if configuring for a Hitachi
378 SH7343 (SH-Mobile 3AS) evaluation board.
379
Paul Mundtf3d22292007-05-14 17:29:12 +0900380config SH_7751_SYSTEMH
381 bool "SystemH7751R"
382 depends on CPU_SUBTYPE_SH7751R
383 help
384 Select SystemH if you are configuring for a Renesas SystemH
385 7751R evaluation board.
386
387config SH_HP6XX
388 bool "HP6XX"
389 select SYS_SUPPORTS_APM_EMULATION
Paul Mundt357d5942007-06-11 15:32:07 +0900390 select HD6446X_SERIES
Paul Mundtf3d22292007-05-14 17:29:12 +0900391 depends on CPU_SUBTYPE_SH7709
392 help
393 Select HP6XX if configuring for a HP jornada HP6xx.
394 More information (hardware only) at
395 <http://www.hp.com/jornada/>.
396
Paul Mundtf3d22292007-05-14 17:29:12 +0900397config SH_DREAMCAST
398 bool "Dreamcast"
Paul Mundt357d5942007-06-11 15:32:07 +0900399 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900400 depends on CPU_SUBTYPE_SH7091
401 help
402 Select Dreamcast if configuring for a SEGA Dreamcast.
Adrian McMenaminad07b102007-10-15 10:38:31 +0900403 More information at <http://www.linux-sh.org>
Paul Mundtf3d22292007-05-14 17:29:12 +0900404
405config SH_MPC1211
406 bool "Interface MPC1211"
407 depends on CPU_SUBTYPE_SH7751 && BROKEN
408 help
409 CTP/PCI-SH02 is a CPU module computer that is produced
410 by Interface Corporation.
411 More information at <http://www.interface.co.jp>
412
413config SH_SH03
414 bool "Interface CTP/PCI-SH03"
Magnus Dammd59645d2007-08-03 14:23:35 +0900415 depends on CPU_SUBTYPE_SH7751
Magnus Damm56386f62007-07-20 18:44:49 +0900416 select CPU_HAS_IPR_IRQ
Paul Mundt357d5942007-06-11 15:32:07 +0900417 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900418 help
419 CTP/PCI-SH03 is a CPU module computer that is produced
420 by Interface Corporation.
421 More information at <http://www.interface.co.jp>
422
423config SH_SECUREEDGE5410
424 bool "SecureEdge5410"
425 depends on CPU_SUBTYPE_SH7751R
Magnus Damm56386f62007-07-20 18:44:49 +0900426 select CPU_HAS_IPR_IRQ
Paul Mundt357d5942007-06-11 15:32:07 +0900427 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900428 help
429 Select SecureEdge5410 if configuring for a SnapGear SH board.
430 This includes both the OEM SecureEdge products as well as the
431 SME product line.
432
433config SH_HS7751RVOIP
434 bool "HS7751RVOIP"
435 depends on CPU_SUBTYPE_SH7751R
436 help
437 Select HS7751RVOIP if configuring for a Renesas Technology
438 Sales VoIP board.
439
440config SH_7710VOIPGW
441 bool "SH7710-VOIP-GW"
442 depends on CPU_SUBTYPE_SH7710
443 help
444 Select this option to build a kernel for the SH7710 based
445 VOIP GW.
446
447config SH_RTS7751R2D
448 bool "RTS7751R2D"
449 depends on CPU_SUBTYPE_SH7751R
Paul Mundt357d5942007-06-11 15:32:07 +0900450 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900451 help
452 Select RTS7751R2D if configuring for a Renesas Technology
453 Sales SH-Graphics board.
454
455config SH_HIGHLANDER
456 bool "Highlander"
457 depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
Paul Mundt357d5942007-06-11 15:32:07 +0900458 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900459
460config SH_EDOSK7705
461 bool "EDOSK7705"
462 depends on CPU_SUBTYPE_SH7705
463
464config SH_SH4202_MICRODEV
465 bool "SH4-202 MicroDev"
466 depends on CPU_SUBTYPE_SH4_202
467 help
468 Select SH4-202 MicroDev if configuring for a SuperH MicroDev board
469 with an SH4-202 CPU.
470
471config SH_LANDISK
472 bool "LANDISK"
473 depends on CPU_SUBTYPE_SH7751R
Paul Mundt357d5942007-06-11 15:32:07 +0900474 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900475 help
476 I-O DATA DEVICE, INC. "LANDISK Series" support.
477
478config SH_TITAN
479 bool "TITAN"
480 depends on CPU_SUBTYPE_SH7751R
Magnus Damm56386f62007-07-20 18:44:49 +0900481 select CPU_HAS_IPR_IRQ
Paul Mundt357d5942007-06-11 15:32:07 +0900482 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900483 help
484 Select Titan if you are configuring for a Nimble Microsystems
485 NetEngine NP51R.
486
487config SH_SHMIN
488 bool "SHMIN"
489 depends on CPU_SUBTYPE_SH7706
Magnus Damm56386f62007-07-20 18:44:49 +0900490 select CPU_HAS_IPR_IRQ
Paul Mundtf3d22292007-05-14 17:29:12 +0900491 help
492 Select SHMIN if configuring for the SHMIN board.
493
494config SH_LBOX_RE2
495 bool "L-BOX RE2"
496 depends on CPU_SUBTYPE_SH7751R
Paul Mundt357d5942007-06-11 15:32:07 +0900497 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900498 help
499 Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2.
500
Paul Mundt94807a32007-08-08 15:22:04 +0900501config SH_X3PROTO
502 bool "SH-X3 Prototype board"
503 depends on CPU_SUBTYPE_SHX3
504
Markus Brunnerded54312007-09-12 11:54:58 +0900505config SH_MAGIC_PANEL_R2
506 bool "Magic Panel R2"
507 depends on CPU_SUBTYPE_SH7720
508 help
509 Select Magic Panel R2 if configuring for Magic Panel R2.
510
Paul Mundtea0e1a92007-11-21 15:58:01 +0900511config SH_SIMULATOR
512 bool "Simulator"
513 depends on SUPERH64
514
515config SH_CAYMAN
516 bool "Hitachi Cayman"
517 depends on CPU_SUBTYPE_SH5_101 || CPU_SUBTYPE_SH5_103
518
519config SH_HARP
520 bool "ST50 Harp"
521 depends on CPU_SH5
522
Paul Mundtf3d22292007-05-14 17:29:12 +0900523endmenu
524
525source "arch/sh/boards/renesas/hs7751rvoip/Kconfig"
526source "arch/sh/boards/renesas/rts7751r2d/Kconfig"
527source "arch/sh/boards/renesas/r7780rp/Kconfig"
Markus Brunnerded54312007-09-12 11:54:58 +0900528source "arch/sh/boards/magicpanelr2/Kconfig"
Paul Mundtf3d22292007-05-14 17:29:12 +0900529
Paul Mundt32351a22007-03-12 14:38:59 +0900530menu "Timer and clock configuration"
531
Paul Mundtcad82442006-01-16 22:14:19 -0800532config SH_TMU
533 bool "TMU timer support"
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900534 depends on CPU_SH3 || CPU_SH4
Paul Mundt57be2b42007-05-09 17:33:24 +0900535 select GENERIC_TIME
536 select GENERIC_CLOCKEVENTS
Paul Mundtcad82442006-01-16 22:14:19 -0800537 default y
538 help
539 This enables the use of the TMU as the system timer.
540
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900541config SH_CMT
542 bool "CMT timer support"
543 depends on CPU_SH2
544 default y
545 help
546 This enables the use of the CMT as the system timer.
547
548config SH_MTU2
549 bool "MTU2 timer support"
550 depends on CPU_SH2A
551 default n
552 help
553 This enables the use of the MTU2 as the system timer.
554
Paul Mundt417528a2006-11-20 11:18:30 +0900555config SH_TIMER_IRQ
556 int
Paul Mundt32351a22007-03-12 14:38:59 +0900557 default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
Paul Mundt417528a2006-11-20 11:18:30 +0900558 default "86" if CPU_SUBTYPE_SH7619
559 default "140" if CPU_SUBTYPE_SH7206
560 default "16"
561
Paul Mundtcad82442006-01-16 22:14:19 -0800562config SH_PCLK_FREQ
563 int "Peripheral clock frequency (in Hz)"
Magnus Damm870e8a22007-07-25 10:49:21 +0900564 default "27000000" if CPU_SUBTYPE_SH7343
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900565 default "31250000" if CPU_SUBTYPE_SH7619
Paul Mundt05627482007-05-15 16:25:47 +0900566 default "32000000" if CPU_SUBTYPE_SH7722
Magnus Dammd89ddd12007-07-25 11:42:56 +0900567 default "33333333" if CPU_SUBTYPE_SH7770 || \
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900568 CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
569 CPU_SUBTYPE_SH7206
Paul Mundt05627482007-05-15 16:25:47 +0900570 default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
Paul Mundtcad82442006-01-16 22:14:19 -0800571 default "66000000" if CPU_SUBTYPE_SH4_202
Paul Mundt05627482007-05-15 16:25:47 +0900572 default "50000000"
Paul Mundtcad82442006-01-16 22:14:19 -0800573 help
574 This option is used to specify the peripheral clock frequency.
575 This is necessary for determining the reference clock value on
576 platforms lacking an RTC.
577
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900578config SH_CLK_MD
579 int "CPU Mode Pin Setting"
580 depends on CPU_SUBTYPE_SH7619 || CPU_SUBTYPE_SH7206
Paul Mundt357d5942007-06-11 15:32:07 +0900581 default 6 if CPU_SUBTYPE_SH7206
582 default 5 if CPU_SUBTYPE_SH7619
583 default 0
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900584 help
Yoshinori Sato11cbb702006-12-07 18:07:27 +0900585 MD2 - MD0 pin setting.
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900586
Paul Mundt57be2b42007-05-09 17:33:24 +0900587source "kernel/time/Kconfig"
588
Paul Mundt32351a22007-03-12 14:38:59 +0900589endmenu
590
Paul Mundtcad82442006-01-16 22:14:19 -0800591menu "CPU Frequency scaling"
592
593source "drivers/cpufreq/Kconfig"
594
595config SH_CPU_FREQ
596 tristate "SuperH CPU Frequency driver"
Paul Mundtcb5ec752007-07-20 13:38:19 +0900597 depends on CPU_FREQ
Paul Mundtcad82442006-01-16 22:14:19 -0800598 select CPU_FREQ_TABLE
599 help
600 This adds the cpufreq driver for SuperH. At present, only
601 the SH-4 is supported.
602
603 For details, take a look at <file:Documentation/cpu-freq>.
604
605 If unsure, say N.
606
607endmenu
608
Paul Mundt9f5e8ee2006-11-24 11:22:57 +0900609source "arch/sh/drivers/Kconfig"
610
Paul Mundtcad82442006-01-16 22:14:19 -0800611endmenu
612
613config ISA_DMA_API
614 bool
Adrian Bunk05efc672006-02-17 13:52:42 -0800615 depends on SH_MPC1211
Paul Mundtcad82442006-01-16 22:14:19 -0800616 default y
617
618menu "Kernel features"
619
Paul Mundt91b91d02006-09-27 18:08:33 +0900620source kernel/Kconfig.hz
621
Paul Mundtcad82442006-01-16 22:14:19 -0800622config KEXEC
623 bool "kexec system call (EXPERIMENTAL)"
624 depends on EXPERIMENTAL
625 help
626 kexec is a system call that implements the ability to shutdown your
627 current kernel, and to start another kernel. It is like a reboot
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400628 but it is independent of the system firmware. And like a reboot
Paul Mundtcad82442006-01-16 22:14:19 -0800629 you can start any kernel with it, not just Linux.
630
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400631 The name comes from the similarity to the exec system call.
Paul Mundtcad82442006-01-16 22:14:19 -0800632
633 It is an ongoing process to be certain the hardware in a machine
634 is properly shutdown, so do not be surprised if this code does not
635 initially work for you. It may help to enable device hotplugging
636 support. As of this writing the exact hardware interface is
637 strongly in flux, so no good recommendation can be made.
638
Paul Mundt4d5ade52007-04-27 11:25:57 +0900639config CRASH_DUMP
640 bool "kernel crash dumps (EXPERIMENTAL)"
641 depends on EXPERIMENTAL
642 help
643 Generate crash dump after being started by kexec.
644 This should be normally only set in special crash dump kernels
645 which are loaded in the main kernel with kexec-tools into
646 a specially reserved region and then later executed after
647 a crash by kdump/kexec. The crash dump kernel must be compiled
648 to a memory address not used by the main kernel using
649 MEMORY_START.
650
651 For more details see Documentation/kdump/kdump.txt
652
Linus Torvalds1da177e2005-04-16 15:20:36 -0700653config SMP
654 bool "Symmetric multi-processing support"
Paul Mundt357d5942007-06-11 15:32:07 +0900655 depends on SYS_SUPPORTS_SMP
Linus Torvalds1da177e2005-04-16 15:20:36 -0700656 ---help---
657 This enables support for systems with more than one CPU. If you have
658 a system with only one CPU, like most personal computers, say N. If
659 you have a system with more than one CPU, say Y.
660
661 If you say N here, the kernel will run on single and multiprocessor
662 machines, but will use only one CPU of a multiprocessor machine. If
663 you say Y here, the kernel will run on many, but not all,
664 singleprocessor machines. On a singleprocessor machine, the kernel
665 will run faster if you say N here.
666
667 People using multiprocessor machines who say Y here should also say
668 Y to "Enhanced Real Time Clock Support", below.
669
670 See also the <file:Documentation/smp.txt>,
671 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available
672 at <http://www.tldp.org/docs.html#howto>.
673
674 If you don't know what to do here, say N.
675
676config NR_CPUS
677 int "Maximum number of CPUs (2-32)"
678 range 2 32
679 depends on SMP
Paul Mundt2b1bd1a2007-06-20 18:27:10 +0900680 default "4" if CPU_SHX3
Linus Torvalds1da177e2005-04-16 15:20:36 -0700681 default "2"
682 help
683 This allows you to specify the maximum number of CPUs which this
684 kernel will support. The maximum supported value is 32 and the
685 minimum value which makes sense is 2.
686
687 This is purely to save memory - each supported CPU adds
688 approximately eight kilobytes to the kernel image.
689
Paul Mundt91b91d02006-09-27 18:08:33 +0900690source "kernel/Kconfig.preempt"
691
Paul Mundt83662462007-09-28 16:04:49 +0900692config GUSA
693 def_bool y
694 depends on !SMP
695 help
696 This enables support for gUSA (general UserSpace Atomicity).
697 This is the default implementation for both UP and non-ll/sc
698 CPUs, and is used by the libc, amongst others.
699
700 For additional information, design information can be found
701 in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
702
703 This should only be disabled for special cases where alternate
704 atomicity implementations exist.
705
Paul Mundtcad82442006-01-16 22:14:19 -0800706endmenu
707
708menu "Boot options"
709
710config ZERO_PAGE_OFFSET
711 hex "Zero page offset"
712 default "0x00004000" if SH_MPC1211 || SH_SH03
Paul Mundt7a847f82006-12-26 15:29:19 +0900713 default "0x00010000" if PAGE_SIZE_64KB
714 default "0x00002000" if PAGE_SIZE_8KB
Paul Mundtcad82442006-01-16 22:14:19 -0800715 default "0x00001000"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700716 help
Paul Mundtcad82442006-01-16 22:14:19 -0800717 This sets the default offset of zero page.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700718
Paul Mundtcad82442006-01-16 22:14:19 -0800719config BOOT_LINK_OFFSET
720 hex "Link address offset for booting"
721 default "0x00800000"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700722 help
Paul Mundtcad82442006-01-16 22:14:19 -0800723 This option allows you to set the link address offset of the zImage.
724 This can be useful if you are on a board which has a small amount of
725 memory.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700726
Paul Mundtcad82442006-01-16 22:14:19 -0800727config UBC_WAKEUP
728 bool "Wakeup UBC on startup"
Paul Mundt0e3a9aa2007-11-06 15:55:36 +0900729 depends on CPU_SH4 && !CPU_SH4A
Paul Mundtcad82442006-01-16 22:14:19 -0800730 help
731 Selecting this option will wakeup the User Break Controller (UBC) on
732 startup. Although the UBC is left in an awake state when the processor
733 comes up, some boot loaders misbehave by putting the UBC to sleep in a
734 power saving state, which causes issues with things like ptrace().
Linus Torvalds1da177e2005-04-16 15:20:36 -0700735
736 If unsure, say N.
737
Paul Mundtcad82442006-01-16 22:14:19 -0800738config CMDLINE_BOOL
739 bool "Default bootloader kernel arguments"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700740
Paul Mundtcad82442006-01-16 22:14:19 -0800741config CMDLINE
742 string "Initial kernel command string"
743 depends on CMDLINE_BOOL
744 default "console=ttySC1,115200"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700745
746endmenu
747
Paul Mundtcad82442006-01-16 22:14:19 -0800748menu "Bus options"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700749
750# Even on SuperH devices which don't have an ISA bus,
751# this variable helps the PCMCIA modules handle
752# IRQ requesting properly -- Greg Banks.
753#
754# Though we're generally not interested in it when
755# we're not using PCMCIA, so we make it dependent on
756# PCMCIA outright. -- PFM.
757config ISA
Paul Mundt357d5942007-06-11 15:32:07 +0900758 def_bool y
759 depends on PCMCIA && HD6446X_SERIES
Linus Torvalds1da177e2005-04-16 15:20:36 -0700760 help
761 Find out whether you have ISA slots on your motherboard. ISA is the
762 name of a bus system, i.e. the way the CPU talks to the other stuff
763 inside your box. Other bus systems are PCI, EISA, MicroChannel
764 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
765 newer boards don't support it. If you have ISA, say Y, otherwise N.
766
767config EISA
768 bool
769 ---help---
770 The Extended Industry Standard Architecture (EISA) bus was
771 developed as an open alternative to the IBM MicroChannel bus.
772
773 The EISA bus provided some of the features of the IBM MicroChannel
774 bus while maintaining backward compatibility with cards made for
775 the older ISA bus. The EISA bus saw limited use between 1988 and
776 1995 when it was made obsolete by the PCI bus.
777
778 Say Y here if you are building a kernel for an EISA-based machine.
779
780 Otherwise, say N.
781
782config MCA
783 bool
784 help
785 MicroChannel Architecture is found in some IBM PS/2 machines and
786 laptops. It is a bus system similar to PCI or ISA. See
787 <file:Documentation/mca.txt> (and especially the web page given
788 there) before attempting to build an MCA bus kernel.
789
790config SBUS
791 bool
792
Paul Mundtcad82442006-01-16 22:14:19 -0800793config SUPERHYWAY
794 tristate "SuperHyway Bus support"
795 depends on CPU_SUBTYPE_SH4_202
Linus Torvalds1da177e2005-04-16 15:20:36 -0700796
Adrian McMenamin17be2d22007-09-21 15:55:55 +0900797config MAPLE
798 bool "Maple Bus support"
799 depends on SH_DREAMCAST
800 help
801 The Maple Bus is SEGA's serial communication bus for peripherals
802 on the Dreamcast. Without this bus support you won't be able to
803 get your Dreamcast keyboard etc to work, so most users
804 probably want to say 'Y' here, unless you are only using the
805 Dreamcast with a serial line terminal or a remote network
806 connection.
807
Paul Mundt824e55f2007-06-20 18:01:52 +0900808config CF_ENABLER
809 bool "Compact Flash Enabler support"
810 depends on SOLUTION_ENGINE || SH_SH03
811 ---help---
812 Compact Flash is a small, removable mass storage device introduced
813 in 1994 originally as a PCMCIA device. If you say `Y' here, you
814 compile in support for Compact Flash devices directly connected to
815 a SuperH processor. A Compact Flash FAQ is available at
816 <http://www.compactflash.org/faqs/faq.htm>.
817
818 If your board has "Directly Connected" CompactFlash at area 5 or 6,
819 you may want to enable this option. Then, you can use CF as
820 primary IDE drive (only tested for SanDisk).
821
822 If in doubt, select 'N'.
823
824choice
825 prompt "Compact Flash Connection Area"
826 depends on CF_ENABLER
827 default CF_AREA6
828
829config CF_AREA5
830 bool "Area5"
831 help
832 If your board has "Directly Connected" CompactFlash, You should
833 select the area where your CF is connected to.
834
835 - "Area5" if CompactFlash is connected to Area 5 (0x14000000)
836 - "Area6" if it is connected to Area 6 (0x18000000)
837
838 "Area6" will work for most boards.
839
840config CF_AREA6
841 bool "Area6"
842
843endchoice
844
845config CF_BASE_ADDR
846 hex
847 depends on CF_ENABLER
848 default "0xb8000000" if CF_AREA6
849 default "0xb4000000" if CF_AREA5
850
Linus Torvalds1da177e2005-04-16 15:20:36 -0700851source "arch/sh/drivers/pci/Kconfig"
852
853source "drivers/pci/Kconfig"
854
855source "drivers/pcmcia/Kconfig"
856
857source "drivers/pci/hotplug/Kconfig"
858
859endmenu
860
861menu "Executable file formats"
862
863source "fs/Kconfig.binfmt"
864
865endmenu
866
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900867menu "Power management options (EXPERIMENTAL)"
Paul Mundt357d5942007-06-11 15:32:07 +0900868depends on EXPERIMENTAL && SYS_SUPPORTS_PM
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900869
870source kernel/power/Kconfig
871
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900872endmenu
873
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700874source "net/Kconfig"
875
Linus Torvalds1da177e2005-04-16 15:20:36 -0700876source "drivers/Kconfig"
877
878source "fs/Kconfig"
879
Mathieu Desnoyers09caded2007-10-18 23:41:05 -0700880source "kernel/Kconfig.instrumentation"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700881
882source "arch/sh/Kconfig.debug"
883
884source "security/Kconfig"
885
886source "crypto/Kconfig"
887
888source "lib/Kconfig"