blob: b30c4c376a831c2a40563b1da7d16c3b64cac731 [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
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090024 def_bool y
Linus Torvalds1da177e2005-04-16 15:20:36 -070025
26config RWSEM_XCHGADD_ALGORITHM
27 bool
28
Paul Mundtfa691512007-03-08 19:41:21 +090029config GENERIC_BUG
30 def_bool y
Paul Mundta82d53e2007-11-21 18:22:05 +090031 depends on BUG && SUPERH32
Paul Mundtfa691512007-03-08 19:41:21 +090032
Akinobu Mitae2268c72006-03-26 01:39:35 -080033config GENERIC_FIND_NEXT_BIT
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090034 def_bool y
Akinobu Mitae2268c72006-03-26 01:39:35 -080035
36config GENERIC_HWEIGHT
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090037 def_bool y
Akinobu Mitae2268c72006-03-26 01:39:35 -080038
Linus Torvalds1da177e2005-04-16 15:20:36 -070039config GENERIC_HARDIRQS
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090040 def_bool y
Linus Torvalds1da177e2005-04-16 15:20:36 -070041
42config GENERIC_IRQ_PROBE
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090043 def_bool y
Linus Torvalds1da177e2005-04-16 15:20:36 -070044
45config GENERIC_CALIBRATE_DELAY
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090046 def_bool y
Linus Torvalds1da177e2005-04-16 15:20:36 -070047
Paul Mundtcad82442006-01-16 22:14:19 -080048config GENERIC_IOMAP
49 bool
50
Paul Mundt45882142006-10-04 13:21:45 +090051config GENERIC_TIME
52 def_bool n
53
Paul Mundt57be2b42007-05-09 17:33:24 +090054config GENERIC_CLOCKEVENTS
55 def_bool n
56
Paul Mundt357d5942007-06-11 15:32:07 +090057config SYS_SUPPORTS_PM
58 bool
59
Paul Mundt0a9b0db2007-01-24 21:56:20 +090060config SYS_SUPPORTS_APM_EMULATION
61 bool
Paul Mundt357d5942007-06-11 15:32:07 +090062 select SYS_SUPPORTS_PM
63
64config SYS_SUPPORTS_SMP
65 bool
66
67config SYS_SUPPORTS_NUMA
68 bool
69
70config SYS_SUPPORTS_PCI
71 bool
Paul Mundt0a9b0db2007-01-24 21:56:20 +090072
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010073config ARCH_MAY_HAVE_PC_FDC
74 bool
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010075
Paul Mundtafbfb522006-12-04 18:17:28 +090076config STACKTRACE_SUPPORT
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090077 def_bool y
Paul Mundtafbfb522006-12-04 18:17:28 +090078
79config LOCKDEP_SUPPORT
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090080 def_bool y
Paul Mundtafbfb522006-12-04 18:17:28 +090081
David Howellsf0d1b0b2006-12-08 02:37:49 -080082config ARCH_HAS_ILOG2_U32
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090083 def_bool n
David Howellsf0d1b0b2006-12-08 02:37:49 -080084
85config ARCH_HAS_ILOG2_U64
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090086 def_bool n
David Howellsf0d1b0b2006-12-08 02:37:49 -080087
Paul Mundte257ad02007-07-25 11:18:00 +090088config ARCH_NO_VIRT_TO_BUS
89 def_bool y
90
Linus Torvalds1da177e2005-04-16 15:20:36 -070091source "init/Kconfig"
92
93menu "System type"
94
Paul Mundtb5f42db2007-11-08 18:38:14 +090095#
96# Processor families
97#
98config CPU_SH2
99 bool
100
101config CPU_SH2A
102 bool
103 select CPU_SH2
104
105config CPU_SH3
106 bool
107 select CPU_HAS_INTEVT
108 select CPU_HAS_SR_RB
109
110config CPU_SH4
111 bool
112 select CPU_HAS_INTEVT
113 select CPU_HAS_SR_RB
114 select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2
115 select CPU_HAS_FPU if !CPU_SH4AL_DSP
116
117config CPU_SH4A
118 bool
119 select CPU_SH4
120
121config CPU_SH4AL_DSP
122 bool
123 select CPU_SH4A
124 select CPU_HAS_DSP
125
Paul Mundtea0e1a92007-11-21 15:58:01 +0900126config CPU_SH5
127 bool
128 select CPU_HAS_FPU
129
Paul Mundtb5f42db2007-11-08 18:38:14 +0900130config CPU_SHX2
131 bool
132
133config CPU_SHX3
134 bool
135
136choice
137 prompt "Processor sub-type selection"
138
139#
140# Processor subtypes
141#
142
143# SH-2 Processor Support
144
145config CPU_SUBTYPE_SH7619
146 bool "Support SH7619 processor"
147 select CPU_SH2
148
149# SH-2A Processor Support
150
Paul Mundt6d01f512007-11-26 18:17:21 +0900151config CPU_SUBTYPE_SH7203
152 bool "Support SH7203 processor"
153 select CPU_SH2A
Paul Mundt74d99a52007-11-26 20:38:36 +0900154 select CPU_HAS_FPU
Paul Mundt6d01f512007-11-26 18:17:21 +0900155
Paul Mundtb5f42db2007-11-08 18:38:14 +0900156config CPU_SUBTYPE_SH7206
157 bool "Support SH7206 processor"
158 select CPU_SH2A
159
Paul Mundta8f67f42007-11-26 19:54:02 +0900160config CPU_SUBTYPE_SH7263
161 bool "Support SH7263 processor"
162 select CPU_SH2A
Paul Mundt74d99a52007-11-26 20:38:36 +0900163 select CPU_HAS_FPU
Paul Mundta8f67f42007-11-26 19:54:02 +0900164
Paul Mundtb5f42db2007-11-08 18:38:14 +0900165# SH-3 Processor Support
166
167config CPU_SUBTYPE_SH7705
168 bool "Support SH7705 processor"
169 select CPU_SH3
170
171config CPU_SUBTYPE_SH7706
172 bool "Support SH7706 processor"
173 select CPU_SH3
174 help
175 Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
176
177config CPU_SUBTYPE_SH7707
178 bool "Support SH7707 processor"
179 select CPU_SH3
180 help
181 Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU.
182
183config CPU_SUBTYPE_SH7708
184 bool "Support SH7708 processor"
185 select CPU_SH3
186 help
187 Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or
188 if you have a 100 Mhz SH-3 HD6417708R CPU.
189
190config CPU_SUBTYPE_SH7709
191 bool "Support SH7709 processor"
192 select CPU_SH3
193 help
194 Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU.
195
196config CPU_SUBTYPE_SH7710
197 bool "Support SH7710 processor"
198 select CPU_SH3
199 select CPU_HAS_DSP
200 help
201 Select SH7710 if you have a SH3-DSP SH7710 CPU.
202
203config CPU_SUBTYPE_SH7712
204 bool "Support SH7712 processor"
205 select CPU_SH3
206 select CPU_HAS_DSP
207 help
208 Select SH7712 if you have a SH3-DSP SH7712 CPU.
209
210config CPU_SUBTYPE_SH7720
211 bool "Support SH7720 processor"
212 select CPU_SH3
213 select CPU_HAS_DSP
214 help
215 Select SH7720 if you have a SH3-DSP SH7720 CPU.
216
Yoshihiro Shimoda31a49c42007-12-26 11:45:06 +0900217config CPU_SUBTYPE_SH7721
218 bool "Support SH7721 processor"
219 select CPU_SH3
220 select CPU_HAS_DSP
221 help
222 Select SH7721 if you have a SH3-DSP SH7721 CPU.
223
Paul Mundtb5f42db2007-11-08 18:38:14 +0900224# SH-4 Processor Support
225
226config CPU_SUBTYPE_SH7750
227 bool "Support SH7750 processor"
228 select CPU_SH4
229 help
230 Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
231
232config CPU_SUBTYPE_SH7091
233 bool "Support SH7091 processor"
234 select CPU_SH4
235 help
236 Select SH7091 if you have an SH-4 based Sega device (such as
237 the Dreamcast, Naomi, and Naomi 2).
238
239config CPU_SUBTYPE_SH7750R
240 bool "Support SH7750R processor"
241 select CPU_SH4
242
243config CPU_SUBTYPE_SH7750S
244 bool "Support SH7750S processor"
245 select CPU_SH4
246
247config CPU_SUBTYPE_SH7751
248 bool "Support SH7751 processor"
249 select CPU_SH4
250 help
251 Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
252 or if you have a HD6417751R CPU.
253
254config CPU_SUBTYPE_SH7751R
255 bool "Support SH7751R processor"
256 select CPU_SH4
257
258config CPU_SUBTYPE_SH7760
259 bool "Support SH7760 processor"
260 select CPU_SH4
261
262config CPU_SUBTYPE_SH4_202
263 bool "Support SH4-202 processor"
264 select CPU_SH4
265
266# SH-4A Processor Support
267
Yoshihiro Shimoda7d740a02008-01-07 14:40:07 +0900268config CPU_SUBTYPE_SH7763
269 bool "Support SH7763 processor"
270 select CPU_SH4A
271 help
272 Select SH7763 if you have a SH4A SH7763(R5S77631) CPU.
273
Paul Mundtb5f42db2007-11-08 18:38:14 +0900274config CPU_SUBTYPE_SH7770
275 bool "Support SH7770 processor"
276 select CPU_SH4A
277
278config CPU_SUBTYPE_SH7780
279 bool "Support SH7780 processor"
280 select CPU_SH4A
281
282config CPU_SUBTYPE_SH7785
283 bool "Support SH7785 processor"
284 select CPU_SH4A
285 select CPU_SHX2
286 select ARCH_SPARSEMEM_ENABLE
287 select SYS_SUPPORTS_NUMA
288
289config CPU_SUBTYPE_SHX3
290 bool "Support SH-X3 processor"
291 select CPU_SH4A
292 select CPU_SHX3
293 select ARCH_SPARSEMEM_ENABLE
294 select SYS_SUPPORTS_NUMA
295 select SYS_SUPPORTS_SMP
296
297# SH4AL-DSP Processor Support
298
299config CPU_SUBTYPE_SH7343
300 bool "Support SH7343 processor"
301 select CPU_SH4AL_DSP
302
303config CPU_SUBTYPE_SH7722
304 bool "Support SH7722 processor"
305 select CPU_SH4AL_DSP
306 select CPU_SHX2
307 select ARCH_SPARSEMEM_ENABLE
308 select SYS_SUPPORTS_NUMA
309
Paul Mundtea0e1a92007-11-21 15:58:01 +0900310# SH-5 Processor Support
311
312config CPU_SUBTYPE_SH5_101
313 bool "Support SH5-101 processor"
314 select CPU_SH5
315
316config CPU_SUBTYPE_SH5_103
317 bool "Support SH5-103 processor"
318
Paul Mundtb5f42db2007-11-08 18:38:14 +0900319endchoice
320
Paul Mundtcad82442006-01-16 22:14:19 -0800321source "arch/sh/mm/Kconfig"
Paul Mundt4690bdc2007-11-09 13:45:42 +0900322source "arch/sh/Kconfig.cpu"
Paul Mundtcad82442006-01-16 22:14:19 -0800323
Paul Mundtf3d22292007-05-14 17:29:12 +0900324menu "Board support"
325
326config SOLUTION_ENGINE
327 bool
328
329config SH_SOLUTION_ENGINE
330 bool "SolutionEngine"
331 select SOLUTION_ENGINE
Magnus Damm56386f62007-07-20 18:44:49 +0900332 select CPU_HAS_IPR_IRQ
Nobuhiro Iwamatsua8199072007-11-05 07:44:41 +0900333 depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \
334 CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \
335 CPU_SUBTYPE_SH7750R
Paul Mundtf3d22292007-05-14 17:29:12 +0900336 help
Nobuhiro Iwamatsua8199072007-11-05 07:44:41 +0900337 Select SolutionEngine if configuring for a Hitachi SH7705, SH7709,
338 SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board.
Paul Mundtf3d22292007-05-14 17:29:12 +0900339
340config SH_7206_SOLUTION_ENGINE
341 bool "SolutionEngine7206"
342 select SOLUTION_ENGINE
343 depends on CPU_SUBTYPE_SH7206
344 help
345 Select 7206 SolutionEngine if configuring for a Hitachi SH7206
346 evaluation board.
347
348config SH_7619_SOLUTION_ENGINE
349 bool "SolutionEngine7619"
350 select SOLUTION_ENGINE
351 depends on CPU_SUBTYPE_SH7619
352 help
353 Select 7619 SolutionEngine if configuring for a Hitachi SH7619
354 evaluation board.
355
356config SH_7722_SOLUTION_ENGINE
357 bool "SolutionEngine7722"
358 select SOLUTION_ENGINE
359 depends on CPU_SUBTYPE_SH7722
360 help
361 Select 7722 SolutionEngine if configuring for a Hitachi SH772
362 evaluation board.
363
364config SH_7751_SOLUTION_ENGINE
365 bool "SolutionEngine7751"
366 select SOLUTION_ENGINE
Magnus Damm56386f62007-07-20 18:44:49 +0900367 select CPU_HAS_IPR_IRQ
Paul Mundtf3d22292007-05-14 17:29:12 +0900368 depends on CPU_SUBTYPE_SH7751
369 help
370 Select 7751 SolutionEngine if configuring for a Hitachi SH7751
371 evaluation board.
372
373config SH_7780_SOLUTION_ENGINE
374 bool "SolutionEngine7780"
375 select SOLUTION_ENGINE
Paul Mundt357d5942007-06-11 15:32:07 +0900376 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900377 depends on CPU_SUBTYPE_SH7780
378 help
379 Select 7780 SolutionEngine if configuring for a Renesas SH7780
380 evaluation board.
381
Paul Mundtf3d22292007-05-14 17:29:12 +0900382config SH_7343_SOLUTION_ENGINE
383 bool "SolutionEngine7343"
384 select SOLUTION_ENGINE
385 depends on CPU_SUBTYPE_SH7343
386 help
387 Select 7343 SolutionEngine if configuring for a Hitachi
388 SH7343 (SH-Mobile 3AS) evaluation board.
389
Paul Mundtf3d22292007-05-14 17:29:12 +0900390config SH_7751_SYSTEMH
391 bool "SystemH7751R"
392 depends on CPU_SUBTYPE_SH7751R
393 help
394 Select SystemH if you are configuring for a Renesas SystemH
395 7751R evaluation board.
396
397config SH_HP6XX
398 bool "HP6XX"
399 select SYS_SUPPORTS_APM_EMULATION
Paul Mundt357d5942007-06-11 15:32:07 +0900400 select HD6446X_SERIES
Paul Mundtf3d22292007-05-14 17:29:12 +0900401 depends on CPU_SUBTYPE_SH7709
402 help
403 Select HP6XX if configuring for a HP jornada HP6xx.
404 More information (hardware only) at
405 <http://www.hp.com/jornada/>.
406
Paul Mundtf3d22292007-05-14 17:29:12 +0900407config SH_DREAMCAST
408 bool "Dreamcast"
Paul Mundt357d5942007-06-11 15:32:07 +0900409 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900410 depends on CPU_SUBTYPE_SH7091
411 help
412 Select Dreamcast if configuring for a SEGA Dreamcast.
Adrian McMenaminad07b102007-10-15 10:38:31 +0900413 More information at <http://www.linux-sh.org>
Paul Mundtf3d22292007-05-14 17:29:12 +0900414
415config SH_MPC1211
416 bool "Interface MPC1211"
417 depends on CPU_SUBTYPE_SH7751 && BROKEN
418 help
419 CTP/PCI-SH02 is a CPU module computer that is produced
420 by Interface Corporation.
421 More information at <http://www.interface.co.jp>
422
423config SH_SH03
424 bool "Interface CTP/PCI-SH03"
Magnus Dammd59645d2007-08-03 14:23:35 +0900425 depends on CPU_SUBTYPE_SH7751
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 CTP/PCI-SH03 is a CPU module computer that is produced
430 by Interface Corporation.
431 More information at <http://www.interface.co.jp>
432
433config SH_SECUREEDGE5410
434 bool "SecureEdge5410"
435 depends on CPU_SUBTYPE_SH7751R
Magnus Damm56386f62007-07-20 18:44:49 +0900436 select CPU_HAS_IPR_IRQ
Paul Mundt357d5942007-06-11 15:32:07 +0900437 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900438 help
439 Select SecureEdge5410 if configuring for a SnapGear SH board.
440 This includes both the OEM SecureEdge products as well as the
441 SME product line.
442
Paul Mundtf3d22292007-05-14 17:29:12 +0900443config SH_7710VOIPGW
444 bool "SH7710-VOIP-GW"
445 depends on CPU_SUBTYPE_SH7710
446 help
447 Select this option to build a kernel for the SH7710 based
448 VOIP GW.
449
450config SH_RTS7751R2D
451 bool "RTS7751R2D"
452 depends on CPU_SUBTYPE_SH7751R
Paul Mundt357d5942007-06-11 15:32:07 +0900453 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900454 help
455 Select RTS7751R2D if configuring for a Renesas Technology
456 Sales SH-Graphics board.
457
Nicholas Beck4862ec02008-01-23 12:50:51 +0900458config SH_SDK7780
459 bool "SDK7780R3"
460 depends on CPU_SUBTYPE_SH7780
461 select SYS_SUPPORTS_PCI
462 help
463 Select SDK7780 if configuring for a Renesas SH7780 SDK7780R3
464 evaluation board.
465
Paul Mundtf3d22292007-05-14 17:29:12 +0900466config SH_HIGHLANDER
467 bool "Highlander"
468 depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
Paul Mundt357d5942007-06-11 15:32:07 +0900469 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900470
471config SH_EDOSK7705
472 bool "EDOSK7705"
473 depends on CPU_SUBTYPE_SH7705
474
475config SH_SH4202_MICRODEV
476 bool "SH4-202 MicroDev"
477 depends on CPU_SUBTYPE_SH4_202
478 help
479 Select SH4-202 MicroDev if configuring for a SuperH MicroDev board
480 with an SH4-202 CPU.
481
482config SH_LANDISK
483 bool "LANDISK"
484 depends on CPU_SUBTYPE_SH7751R
Paul Mundt357d5942007-06-11 15:32:07 +0900485 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900486 help
487 I-O DATA DEVICE, INC. "LANDISK Series" support.
488
489config SH_TITAN
490 bool "TITAN"
491 depends on CPU_SUBTYPE_SH7751R
Magnus Damm56386f62007-07-20 18:44:49 +0900492 select CPU_HAS_IPR_IRQ
Paul Mundt357d5942007-06-11 15:32:07 +0900493 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900494 help
495 Select Titan if you are configuring for a Nimble Microsystems
496 NetEngine NP51R.
497
498config SH_SHMIN
499 bool "SHMIN"
500 depends on CPU_SUBTYPE_SH7706
Magnus Damm56386f62007-07-20 18:44:49 +0900501 select CPU_HAS_IPR_IRQ
Paul Mundtf3d22292007-05-14 17:29:12 +0900502 help
503 Select SHMIN if configuring for the SHMIN board.
504
505config SH_LBOX_RE2
506 bool "L-BOX RE2"
507 depends on CPU_SUBTYPE_SH7751R
Paul Mundt357d5942007-06-11 15:32:07 +0900508 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900509 help
510 Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2.
511
Paul Mundt94807a32007-08-08 15:22:04 +0900512config SH_X3PROTO
513 bool "SH-X3 Prototype board"
514 depends on CPU_SUBTYPE_SHX3
515
Markus Brunnerded54312007-09-12 11:54:58 +0900516config SH_MAGIC_PANEL_R2
517 bool "Magic Panel R2"
518 depends on CPU_SUBTYPE_SH7720
519 help
520 Select Magic Panel R2 if configuring for Magic Panel R2.
521
Paul Mundtea0e1a92007-11-21 15:58:01 +0900522config SH_CAYMAN
523 bool "Hitachi Cayman"
524 depends on CPU_SUBTYPE_SH5_101 || CPU_SUBTYPE_SH5_103
Paul Mundtb6d7b662007-11-22 16:29:10 +0900525 select SYS_SUPPORTS_PCI
Paul Mundtea0e1a92007-11-21 15:58:01 +0900526
Paul Mundtf3d22292007-05-14 17:29:12 +0900527endmenu
528
Paul Mundtf3d22292007-05-14 17:29:12 +0900529source "arch/sh/boards/renesas/rts7751r2d/Kconfig"
530source "arch/sh/boards/renesas/r7780rp/Kconfig"
Nicholas Beck4862ec02008-01-23 12:50:51 +0900531source "arch/sh/boards/renesas/sdk7780/Kconfig"
Markus Brunnerded54312007-09-12 11:54:58 +0900532source "arch/sh/boards/magicpanelr2/Kconfig"
Paul Mundtf3d22292007-05-14 17:29:12 +0900533
Paul Mundt32351a22007-03-12 14:38:59 +0900534menu "Timer and clock configuration"
535
Paul Mundtcad82442006-01-16 22:14:19 -0800536config SH_TMU
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900537 def_bool y
538 prompt "TMU timer support"
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900539 depends on CPU_SH3 || CPU_SH4
Paul Mundt57be2b42007-05-09 17:33:24 +0900540 select GENERIC_TIME
541 select GENERIC_CLOCKEVENTS
Paul Mundtcad82442006-01-16 22:14:19 -0800542 help
543 This enables the use of the TMU as the system timer.
544
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900545config SH_CMT
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900546 def_bool y
547 prompt "CMT timer support"
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900548 depends on CPU_SH2
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900549 help
550 This enables the use of the CMT as the system timer.
551
552config SH_MTU2
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900553 def_bool n
554 prompt "MTU2 timer support"
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900555 depends on CPU_SH2A
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900556 help
557 This enables the use of the MTU2 as the system timer.
558
Paul Mundt417528a2006-11-20 11:18:30 +0900559config SH_TIMER_IRQ
560 int
Yoshihiro Shimoda7d740a02008-01-07 14:40:07 +0900561 default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || \
562 CPU_SUBTYPE_SH7763
Paul Mundt417528a2006-11-20 11:18:30 +0900563 default "86" if CPU_SUBTYPE_SH7619
564 default "140" if CPU_SUBTYPE_SH7206
565 default "16"
566
Paul Mundtcad82442006-01-16 22:14:19 -0800567config SH_PCLK_FREQ
568 int "Peripheral clock frequency (in Hz)"
Magnus Damm870e8a22007-07-25 10:49:21 +0900569 default "27000000" if CPU_SUBTYPE_SH7343
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900570 default "31250000" if CPU_SUBTYPE_SH7619
Paul Mundt05627482007-05-15 16:25:47 +0900571 default "32000000" if CPU_SUBTYPE_SH7722
Magnus Dammd89ddd12007-07-25 11:42:56 +0900572 default "33333333" if CPU_SUBTYPE_SH7770 || \
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900573 CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
Paul Mundta8f67f42007-11-26 19:54:02 +0900574 CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \
575 CPU_SUBTYPE_SH7263
Paul Mundt05627482007-05-15 16:25:47 +0900576 default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
Paul Mundtcad82442006-01-16 22:14:19 -0800577 default "66000000" if CPU_SUBTYPE_SH4_202
Paul Mundt05627482007-05-15 16:25:47 +0900578 default "50000000"
Paul Mundtcad82442006-01-16 22:14:19 -0800579 help
580 This option is used to specify the peripheral clock frequency.
581 This is necessary for determining the reference clock value on
582 platforms lacking an RTC.
583
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900584config SH_CLK_MD
585 int "CPU Mode Pin Setting"
Paul Mundt6d01f512007-11-26 18:17:21 +0900586 depends on CPU_SH2
Paul Mundt357d5942007-06-11 15:32:07 +0900587 default 6 if CPU_SUBTYPE_SH7206
588 default 5 if CPU_SUBTYPE_SH7619
589 default 0
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900590 help
Yoshinori Sato11cbb702006-12-07 18:07:27 +0900591 MD2 - MD0 pin setting.
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900592
Paul Mundt57be2b42007-05-09 17:33:24 +0900593source "kernel/time/Kconfig"
594
Paul Mundt32351a22007-03-12 14:38:59 +0900595endmenu
596
Paul Mundtcad82442006-01-16 22:14:19 -0800597menu "CPU Frequency scaling"
598
599source "drivers/cpufreq/Kconfig"
600
601config SH_CPU_FREQ
602 tristate "SuperH CPU Frequency driver"
Paul Mundtcb5ec752007-07-20 13:38:19 +0900603 depends on CPU_FREQ
Paul Mundtcad82442006-01-16 22:14:19 -0800604 select CPU_FREQ_TABLE
605 help
606 This adds the cpufreq driver for SuperH. At present, only
607 the SH-4 is supported.
608
609 For details, take a look at <file:Documentation/cpu-freq>.
610
611 If unsure, say N.
612
613endmenu
614
Paul Mundt9f5e8ee2006-11-24 11:22:57 +0900615source "arch/sh/drivers/Kconfig"
616
Paul Mundtcad82442006-01-16 22:14:19 -0800617endmenu
618
619config ISA_DMA_API
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900620 def_bool y
Adrian Bunk05efc672006-02-17 13:52:42 -0800621 depends on SH_MPC1211
Paul Mundtcad82442006-01-16 22:14:19 -0800622
623menu "Kernel features"
624
Paul Mundt91b91d02006-09-27 18:08:33 +0900625source kernel/Kconfig.hz
626
Paul Mundtcad82442006-01-16 22:14:19 -0800627config KEXEC
628 bool "kexec system call (EXPERIMENTAL)"
629 depends on EXPERIMENTAL
630 help
631 kexec is a system call that implements the ability to shutdown your
632 current kernel, and to start another kernel. It is like a reboot
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400633 but it is independent of the system firmware. And like a reboot
Paul Mundtcad82442006-01-16 22:14:19 -0800634 you can start any kernel with it, not just Linux.
635
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400636 The name comes from the similarity to the exec system call.
Paul Mundtcad82442006-01-16 22:14:19 -0800637
638 It is an ongoing process to be certain the hardware in a machine
639 is properly shutdown, so do not be surprised if this code does not
640 initially work for you. It may help to enable device hotplugging
641 support. As of this writing the exact hardware interface is
642 strongly in flux, so no good recommendation can be made.
643
Paul Mundt4d5ade52007-04-27 11:25:57 +0900644config CRASH_DUMP
645 bool "kernel crash dumps (EXPERIMENTAL)"
646 depends on EXPERIMENTAL
647 help
648 Generate crash dump after being started by kexec.
649 This should be normally only set in special crash dump kernels
650 which are loaded in the main kernel with kexec-tools into
651 a specially reserved region and then later executed after
652 a crash by kdump/kexec. The crash dump kernel must be compiled
653 to a memory address not used by the main kernel using
654 MEMORY_START.
655
656 For more details see Documentation/kdump/kdump.txt
657
Linus Torvalds1da177e2005-04-16 15:20:36 -0700658config SMP
659 bool "Symmetric multi-processing support"
Paul Mundt357d5942007-06-11 15:32:07 +0900660 depends on SYS_SUPPORTS_SMP
Linus Torvalds1da177e2005-04-16 15:20:36 -0700661 ---help---
662 This enables support for systems with more than one CPU. If you have
663 a system with only one CPU, like most personal computers, say N. If
664 you have a system with more than one CPU, say Y.
665
666 If you say N here, the kernel will run on single and multiprocessor
667 machines, but will use only one CPU of a multiprocessor machine. If
668 you say Y here, the kernel will run on many, but not all,
669 singleprocessor machines. On a singleprocessor machine, the kernel
670 will run faster if you say N here.
671
672 People using multiprocessor machines who say Y here should also say
673 Y to "Enhanced Real Time Clock Support", below.
674
675 See also the <file:Documentation/smp.txt>,
676 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available
677 at <http://www.tldp.org/docs.html#howto>.
678
679 If you don't know what to do here, say N.
680
681config NR_CPUS
682 int "Maximum number of CPUs (2-32)"
683 range 2 32
684 depends on SMP
Paul Mundt2b1bd1a2007-06-20 18:27:10 +0900685 default "4" if CPU_SHX3
Linus Torvalds1da177e2005-04-16 15:20:36 -0700686 default "2"
687 help
688 This allows you to specify the maximum number of CPUs which this
689 kernel will support. The maximum supported value is 32 and the
690 minimum value which makes sense is 2.
691
692 This is purely to save memory - each supported CPU adds
693 approximately eight kilobytes to the kernel image.
694
Paul Mundt91b91d02006-09-27 18:08:33 +0900695source "kernel/Kconfig.preempt"
696
Paul Mundt83662462007-09-28 16:04:49 +0900697config GUSA
698 def_bool y
Stuart Menefy1efe4ce2007-11-30 16:12:36 +0900699 depends on !SMP && SUPERH32
Paul Mundt83662462007-09-28 16:04:49 +0900700 help
701 This enables support for gUSA (general UserSpace Atomicity).
702 This is the default implementation for both UP and non-ll/sc
703 CPUs, and is used by the libc, amongst others.
704
705 For additional information, design information can be found
706 in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
707
708 This should only be disabled for special cases where alternate
709 atomicity implementations exist.
710
Stuart Menefy1efe4ce2007-11-30 16:12:36 +0900711config GUSA_RB
712 bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)"
713 depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A)
714 help
715 Enabling this option will allow the kernel to implement some
716 atomic operations using a software implemention of load-locked/
717 store-conditional (LLSC). On machines which do not have hardware
718 LLSC, this should be more efficient than the other alternative of
719 disabling insterrupts around the atomic sequence.
720
Paul Mundtcad82442006-01-16 22:14:19 -0800721endmenu
722
723menu "Boot options"
724
725config ZERO_PAGE_OFFSET
726 hex "Zero page offset"
727 default "0x00004000" if SH_MPC1211 || SH_SH03
Paul Mundt7a847f82006-12-26 15:29:19 +0900728 default "0x00010000" if PAGE_SIZE_64KB
729 default "0x00002000" if PAGE_SIZE_8KB
Paul Mundtcad82442006-01-16 22:14:19 -0800730 default "0x00001000"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700731 help
Paul Mundtcad82442006-01-16 22:14:19 -0800732 This sets the default offset of zero page.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700733
Paul Mundtcad82442006-01-16 22:14:19 -0800734config BOOT_LINK_OFFSET
735 hex "Link address offset for booting"
736 default "0x00800000"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700737 help
Paul Mundtcad82442006-01-16 22:14:19 -0800738 This option allows you to set the link address offset of the zImage.
739 This can be useful if you are on a board which has a small amount of
740 memory.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700741
Paul Mundtcad82442006-01-16 22:14:19 -0800742config UBC_WAKEUP
743 bool "Wakeup UBC on startup"
Paul Mundt0e3a9aa2007-11-06 15:55:36 +0900744 depends on CPU_SH4 && !CPU_SH4A
Paul Mundtcad82442006-01-16 22:14:19 -0800745 help
746 Selecting this option will wakeup the User Break Controller (UBC) on
747 startup. Although the UBC is left in an awake state when the processor
748 comes up, some boot loaders misbehave by putting the UBC to sleep in a
749 power saving state, which causes issues with things like ptrace().
Linus Torvalds1da177e2005-04-16 15:20:36 -0700750
751 If unsure, say N.
752
Paul Mundtcad82442006-01-16 22:14:19 -0800753config CMDLINE_BOOL
754 bool "Default bootloader kernel arguments"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700755
Paul Mundtcad82442006-01-16 22:14:19 -0800756config CMDLINE
757 string "Initial kernel command string"
758 depends on CMDLINE_BOOL
759 default "console=ttySC1,115200"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700760
761endmenu
762
Paul Mundtcad82442006-01-16 22:14:19 -0800763menu "Bus options"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700764
765# Even on SuperH devices which don't have an ISA bus,
766# this variable helps the PCMCIA modules handle
767# IRQ requesting properly -- Greg Banks.
768#
769# Though we're generally not interested in it when
770# we're not using PCMCIA, so we make it dependent on
771# PCMCIA outright. -- PFM.
772config ISA
Paul Mundt357d5942007-06-11 15:32:07 +0900773 def_bool y
774 depends on PCMCIA && HD6446X_SERIES
Linus Torvalds1da177e2005-04-16 15:20:36 -0700775 help
776 Find out whether you have ISA slots on your motherboard. ISA is the
777 name of a bus system, i.e. the way the CPU talks to the other stuff
778 inside your box. Other bus systems are PCI, EISA, MicroChannel
779 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
780 newer boards don't support it. If you have ISA, say Y, otherwise N.
781
782config EISA
783 bool
784 ---help---
785 The Extended Industry Standard Architecture (EISA) bus was
786 developed as an open alternative to the IBM MicroChannel bus.
787
788 The EISA bus provided some of the features of the IBM MicroChannel
789 bus while maintaining backward compatibility with cards made for
790 the older ISA bus. The EISA bus saw limited use between 1988 and
791 1995 when it was made obsolete by the PCI bus.
792
793 Say Y here if you are building a kernel for an EISA-based machine.
794
795 Otherwise, say N.
796
797config MCA
798 bool
799 help
800 MicroChannel Architecture is found in some IBM PS/2 machines and
801 laptops. It is a bus system similar to PCI or ISA. See
802 <file:Documentation/mca.txt> (and especially the web page given
803 there) before attempting to build an MCA bus kernel.
804
805config SBUS
806 bool
807
Paul Mundtcad82442006-01-16 22:14:19 -0800808config SUPERHYWAY
809 tristate "SuperHyway Bus support"
810 depends on CPU_SUBTYPE_SH4_202
Linus Torvalds1da177e2005-04-16 15:20:36 -0700811
Adrian McMenamin17be2d22007-09-21 15:55:55 +0900812config MAPLE
813 bool "Maple Bus support"
814 depends on SH_DREAMCAST
815 help
816 The Maple Bus is SEGA's serial communication bus for peripherals
817 on the Dreamcast. Without this bus support you won't be able to
818 get your Dreamcast keyboard etc to work, so most users
819 probably want to say 'Y' here, unless you are only using the
820 Dreamcast with a serial line terminal or a remote network
821 connection.
822
Paul Mundt824e55f2007-06-20 18:01:52 +0900823config CF_ENABLER
824 bool "Compact Flash Enabler support"
825 depends on SOLUTION_ENGINE || SH_SH03
826 ---help---
827 Compact Flash is a small, removable mass storage device introduced
828 in 1994 originally as a PCMCIA device. If you say `Y' here, you
829 compile in support for Compact Flash devices directly connected to
830 a SuperH processor. A Compact Flash FAQ is available at
831 <http://www.compactflash.org/faqs/faq.htm>.
832
833 If your board has "Directly Connected" CompactFlash at area 5 or 6,
834 you may want to enable this option. Then, you can use CF as
835 primary IDE drive (only tested for SanDisk).
836
837 If in doubt, select 'N'.
838
839choice
840 prompt "Compact Flash Connection Area"
841 depends on CF_ENABLER
842 default CF_AREA6
843
844config CF_AREA5
845 bool "Area5"
846 help
847 If your board has "Directly Connected" CompactFlash, You should
848 select the area where your CF is connected to.
849
850 - "Area5" if CompactFlash is connected to Area 5 (0x14000000)
851 - "Area6" if it is connected to Area 6 (0x18000000)
852
853 "Area6" will work for most boards.
854
855config CF_AREA6
856 bool "Area6"
857
858endchoice
859
860config CF_BASE_ADDR
861 hex
862 depends on CF_ENABLER
863 default "0xb8000000" if CF_AREA6
864 default "0xb4000000" if CF_AREA5
865
Linus Torvalds1da177e2005-04-16 15:20:36 -0700866source "arch/sh/drivers/pci/Kconfig"
867
868source "drivers/pci/Kconfig"
869
870source "drivers/pcmcia/Kconfig"
871
872source "drivers/pci/hotplug/Kconfig"
873
874endmenu
875
876menu "Executable file formats"
877
878source "fs/Kconfig.binfmt"
879
880endmenu
881
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900882menu "Power management options (EXPERIMENTAL)"
Paul Mundt357d5942007-06-11 15:32:07 +0900883depends on EXPERIMENTAL && SYS_SUPPORTS_PM
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900884
Johannes Bergf4cb5702007-12-08 02:14:00 +0100885config ARCH_SUSPEND_POSSIBLE
886 def_bool y
887 depends on !SMP
888
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900889source kernel/power/Kconfig
890
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900891endmenu
892
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700893source "net/Kconfig"
894
Linus Torvalds1da177e2005-04-16 15:20:36 -0700895source "drivers/Kconfig"
896
897source "fs/Kconfig"
898
Mathieu Desnoyers09caded2007-10-18 23:41:05 -0700899source "kernel/Kconfig.instrumentation"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700900
901source "arch/sh/Kconfig.debug"
902
903source "security/Kconfig"
904
905source "crypto/Kconfig"
906
907source "lib/Kconfig"