blob: 1c3a90835c7e00caf0cb6960c4da7a75f603ea51 [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
Mathieu Desnoyers42d4b832008-02-02 15:10:34 -050011 select HAVE_OPROFILE
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
Paul Mundtea0e1a92007-11-21 15:58:01 +090019 def_bool !SUPERH64
20
21config SUPERH64
22 def_bool y if CPU_SH5
Paul Mundt39d28a22007-11-08 18:39:33 +090023
Linus Torvalds1da177e2005-04-16 15:20:36 -070024config RWSEM_GENERIC_SPINLOCK
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090025 def_bool y
Linus Torvalds1da177e2005-04-16 15:20:36 -070026
27config RWSEM_XCHGADD_ALGORITHM
28 bool
29
Paul Mundtfa691512007-03-08 19:41:21 +090030config GENERIC_BUG
31 def_bool y
Paul Mundta82d53e2007-11-21 18:22:05 +090032 depends on BUG && SUPERH32
Paul Mundtfa691512007-03-08 19:41:21 +090033
Akinobu Mitae2268c72006-03-26 01:39:35 -080034config GENERIC_FIND_NEXT_BIT
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090035 def_bool y
Akinobu Mitae2268c72006-03-26 01:39:35 -080036
37config GENERIC_HWEIGHT
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090038 def_bool y
Akinobu Mitae2268c72006-03-26 01:39:35 -080039
Linus Torvalds1da177e2005-04-16 15:20:36 -070040config GENERIC_HARDIRQS
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090041 def_bool y
Linus Torvalds1da177e2005-04-16 15:20:36 -070042
43config GENERIC_IRQ_PROBE
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090044 def_bool y
Linus Torvalds1da177e2005-04-16 15:20:36 -070045
46config GENERIC_CALIBRATE_DELAY
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090047 def_bool y
Linus Torvalds1da177e2005-04-16 15:20:36 -070048
Paul Mundtcad82442006-01-16 22:14:19 -080049config GENERIC_IOMAP
50 bool
51
Paul Mundt45882142006-10-04 13:21:45 +090052config GENERIC_TIME
53 def_bool n
54
Paul Mundt57be2b42007-05-09 17:33:24 +090055config GENERIC_CLOCKEVENTS
56 def_bool n
57
Paul Mundt357d5942007-06-11 15:32:07 +090058config SYS_SUPPORTS_PM
59 bool
60
Paul Mundt0a9b0db2007-01-24 21:56:20 +090061config SYS_SUPPORTS_APM_EMULATION
62 bool
Paul Mundt357d5942007-06-11 15:32:07 +090063 select SYS_SUPPORTS_PM
64
65config SYS_SUPPORTS_SMP
66 bool
67
68config SYS_SUPPORTS_NUMA
69 bool
70
71config SYS_SUPPORTS_PCI
72 bool
Paul Mundt0a9b0db2007-01-24 21:56:20 +090073
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010074config ARCH_MAY_HAVE_PC_FDC
75 bool
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010076
Paul Mundtafbfb522006-12-04 18:17:28 +090077config STACKTRACE_SUPPORT
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090078 def_bool y
Paul Mundtafbfb522006-12-04 18:17:28 +090079
80config LOCKDEP_SUPPORT
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090081 def_bool y
Paul Mundtafbfb522006-12-04 18:17:28 +090082
David Howellsf0d1b0b2006-12-08 02:37:49 -080083config ARCH_HAS_ILOG2_U32
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090084 def_bool n
David Howellsf0d1b0b2006-12-08 02:37:49 -080085
86config ARCH_HAS_ILOG2_U64
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090087 def_bool n
David Howellsf0d1b0b2006-12-08 02:37:49 -080088
Paul Mundte257ad02007-07-25 11:18:00 +090089config ARCH_NO_VIRT_TO_BUS
90 def_bool y
91
Linus Torvalds1da177e2005-04-16 15:20:36 -070092source "init/Kconfig"
93
94menu "System type"
95
Paul Mundtb5f42db2007-11-08 18:38:14 +090096#
97# Processor families
98#
99config CPU_SH2
100 bool
101
102config CPU_SH2A
103 bool
104 select CPU_SH2
105
106config CPU_SH3
107 bool
108 select CPU_HAS_INTEVT
109 select CPU_HAS_SR_RB
110
111config CPU_SH4
112 bool
113 select CPU_HAS_INTEVT
114 select CPU_HAS_SR_RB
115 select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2
116 select CPU_HAS_FPU if !CPU_SH4AL_DSP
117
118config CPU_SH4A
119 bool
120 select CPU_SH4
121
122config CPU_SH4AL_DSP
123 bool
124 select CPU_SH4A
125 select CPU_HAS_DSP
126
Paul Mundtea0e1a92007-11-21 15:58:01 +0900127config CPU_SH5
128 bool
129 select CPU_HAS_FPU
130
Paul Mundtb5f42db2007-11-08 18:38:14 +0900131config CPU_SHX2
132 bool
133
134config CPU_SHX3
135 bool
136
137choice
138 prompt "Processor sub-type selection"
139
140#
141# Processor subtypes
142#
143
144# SH-2 Processor Support
145
146config CPU_SUBTYPE_SH7619
147 bool "Support SH7619 processor"
148 select CPU_SH2
149
150# SH-2A Processor Support
151
Paul Mundt6d01f512007-11-26 18:17:21 +0900152config CPU_SUBTYPE_SH7203
153 bool "Support SH7203 processor"
154 select CPU_SH2A
Paul Mundt74d99a52007-11-26 20:38:36 +0900155 select CPU_HAS_FPU
Paul Mundt6d01f512007-11-26 18:17:21 +0900156
Paul Mundtb5f42db2007-11-08 18:38:14 +0900157config CPU_SUBTYPE_SH7206
158 bool "Support SH7206 processor"
159 select CPU_SH2A
160
Paul Mundta8f67f42007-11-26 19:54:02 +0900161config CPU_SUBTYPE_SH7263
162 bool "Support SH7263 processor"
163 select CPU_SH2A
Paul Mundt74d99a52007-11-26 20:38:36 +0900164 select CPU_HAS_FPU
Paul Mundta8f67f42007-11-26 19:54:02 +0900165
Paul Mundtb5f42db2007-11-08 18:38:14 +0900166# SH-3 Processor Support
167
168config CPU_SUBTYPE_SH7705
169 bool "Support SH7705 processor"
170 select CPU_SH3
171
172config CPU_SUBTYPE_SH7706
173 bool "Support SH7706 processor"
174 select CPU_SH3
175 help
176 Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
177
178config CPU_SUBTYPE_SH7707
179 bool "Support SH7707 processor"
180 select CPU_SH3
181 help
182 Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU.
183
184config CPU_SUBTYPE_SH7708
185 bool "Support SH7708 processor"
186 select CPU_SH3
187 help
188 Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or
189 if you have a 100 Mhz SH-3 HD6417708R CPU.
190
191config CPU_SUBTYPE_SH7709
192 bool "Support SH7709 processor"
193 select CPU_SH3
194 help
195 Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU.
196
197config CPU_SUBTYPE_SH7710
198 bool "Support SH7710 processor"
199 select CPU_SH3
200 select CPU_HAS_DSP
201 help
202 Select SH7710 if you have a SH3-DSP SH7710 CPU.
203
204config CPU_SUBTYPE_SH7712
205 bool "Support SH7712 processor"
206 select CPU_SH3
207 select CPU_HAS_DSP
208 help
209 Select SH7712 if you have a SH3-DSP SH7712 CPU.
210
211config CPU_SUBTYPE_SH7720
212 bool "Support SH7720 processor"
213 select CPU_SH3
214 select CPU_HAS_DSP
215 help
216 Select SH7720 if you have a SH3-DSP SH7720 CPU.
217
Yoshihiro Shimoda31a49c42007-12-26 11:45:06 +0900218config CPU_SUBTYPE_SH7721
219 bool "Support SH7721 processor"
220 select CPU_SH3
221 select CPU_HAS_DSP
222 help
223 Select SH7721 if you have a SH3-DSP SH7721 CPU.
224
Paul Mundtb5f42db2007-11-08 18:38:14 +0900225# SH-4 Processor Support
226
227config CPU_SUBTYPE_SH7750
228 bool "Support SH7750 processor"
229 select CPU_SH4
230 help
231 Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
232
233config CPU_SUBTYPE_SH7091
234 bool "Support SH7091 processor"
235 select CPU_SH4
236 help
237 Select SH7091 if you have an SH-4 based Sega device (such as
238 the Dreamcast, Naomi, and Naomi 2).
239
240config CPU_SUBTYPE_SH7750R
241 bool "Support SH7750R processor"
242 select CPU_SH4
243
244config CPU_SUBTYPE_SH7750S
245 bool "Support SH7750S processor"
246 select CPU_SH4
247
248config CPU_SUBTYPE_SH7751
249 bool "Support SH7751 processor"
250 select CPU_SH4
251 help
252 Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
253 or if you have a HD6417751R CPU.
254
255config CPU_SUBTYPE_SH7751R
256 bool "Support SH7751R processor"
257 select CPU_SH4
258
259config CPU_SUBTYPE_SH7760
260 bool "Support SH7760 processor"
261 select CPU_SH4
262
263config CPU_SUBTYPE_SH4_202
264 bool "Support SH4-202 processor"
265 select CPU_SH4
266
267# SH-4A Processor Support
268
Yoshihiro Shimoda7d740a02008-01-07 14:40:07 +0900269config CPU_SUBTYPE_SH7763
270 bool "Support SH7763 processor"
271 select CPU_SH4A
272 help
273 Select SH7763 if you have a SH4A SH7763(R5S77631) CPU.
274
Paul Mundtb5f42db2007-11-08 18:38:14 +0900275config CPU_SUBTYPE_SH7770
276 bool "Support SH7770 processor"
277 select CPU_SH4A
278
279config CPU_SUBTYPE_SH7780
280 bool "Support SH7780 processor"
281 select CPU_SH4A
282
283config CPU_SUBTYPE_SH7785
284 bool "Support SH7785 processor"
285 select CPU_SH4A
286 select CPU_SHX2
287 select ARCH_SPARSEMEM_ENABLE
288 select SYS_SUPPORTS_NUMA
289
290config CPU_SUBTYPE_SHX3
291 bool "Support SH-X3 processor"
292 select CPU_SH4A
293 select CPU_SHX3
294 select ARCH_SPARSEMEM_ENABLE
295 select SYS_SUPPORTS_NUMA
296 select SYS_SUPPORTS_SMP
297
298# SH4AL-DSP Processor Support
299
300config CPU_SUBTYPE_SH7343
301 bool "Support SH7343 processor"
302 select CPU_SH4AL_DSP
303
304config CPU_SUBTYPE_SH7722
305 bool "Support SH7722 processor"
306 select CPU_SH4AL_DSP
307 select CPU_SHX2
308 select ARCH_SPARSEMEM_ENABLE
309 select SYS_SUPPORTS_NUMA
310
Paul Mundtea0e1a92007-11-21 15:58:01 +0900311# SH-5 Processor Support
312
313config CPU_SUBTYPE_SH5_101
314 bool "Support SH5-101 processor"
315 select CPU_SH5
316
317config CPU_SUBTYPE_SH5_103
318 bool "Support SH5-103 processor"
319
Paul Mundtb5f42db2007-11-08 18:38:14 +0900320endchoice
321
Paul Mundtcad82442006-01-16 22:14:19 -0800322source "arch/sh/mm/Kconfig"
Paul Mundt4690bdc2007-11-09 13:45:42 +0900323source "arch/sh/Kconfig.cpu"
Paul Mundtcad82442006-01-16 22:14:19 -0800324
Paul Mundtf3d22292007-05-14 17:29:12 +0900325menu "Board support"
326
327config SOLUTION_ENGINE
328 bool
329
330config SH_SOLUTION_ENGINE
331 bool "SolutionEngine"
332 select SOLUTION_ENGINE
Magnus Damm56386f62007-07-20 18:44:49 +0900333 select CPU_HAS_IPR_IRQ
Nobuhiro Iwamatsua8199072007-11-05 07:44:41 +0900334 depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \
335 CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \
336 CPU_SUBTYPE_SH7750R
Paul Mundtf3d22292007-05-14 17:29:12 +0900337 help
Nobuhiro Iwamatsua8199072007-11-05 07:44:41 +0900338 Select SolutionEngine if configuring for a Hitachi SH7705, SH7709,
339 SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board.
Paul Mundtf3d22292007-05-14 17:29:12 +0900340
341config SH_7206_SOLUTION_ENGINE
342 bool "SolutionEngine7206"
343 select SOLUTION_ENGINE
344 depends on CPU_SUBTYPE_SH7206
345 help
346 Select 7206 SolutionEngine if configuring for a Hitachi SH7206
347 evaluation board.
348
349config SH_7619_SOLUTION_ENGINE
350 bool "SolutionEngine7619"
351 select SOLUTION_ENGINE
352 depends on CPU_SUBTYPE_SH7619
353 help
354 Select 7619 SolutionEngine if configuring for a Hitachi SH7619
355 evaluation board.
356
357config SH_7722_SOLUTION_ENGINE
358 bool "SolutionEngine7722"
359 select SOLUTION_ENGINE
360 depends on CPU_SUBTYPE_SH7722
361 help
362 Select 7722 SolutionEngine if configuring for a Hitachi SH772
363 evaluation board.
364
365config SH_7751_SOLUTION_ENGINE
366 bool "SolutionEngine7751"
367 select SOLUTION_ENGINE
Magnus Damm56386f62007-07-20 18:44:49 +0900368 select CPU_HAS_IPR_IRQ
Paul Mundtf3d22292007-05-14 17:29:12 +0900369 depends on CPU_SUBTYPE_SH7751
370 help
371 Select 7751 SolutionEngine if configuring for a Hitachi SH7751
372 evaluation board.
373
374config SH_7780_SOLUTION_ENGINE
375 bool "SolutionEngine7780"
376 select SOLUTION_ENGINE
Paul Mundt357d5942007-06-11 15:32:07 +0900377 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900378 depends on CPU_SUBTYPE_SH7780
379 help
380 Select 7780 SolutionEngine if configuring for a Renesas SH7780
381 evaluation board.
382
Paul Mundtf3d22292007-05-14 17:29:12 +0900383config SH_7343_SOLUTION_ENGINE
384 bool "SolutionEngine7343"
385 select SOLUTION_ENGINE
386 depends on CPU_SUBTYPE_SH7343
387 help
388 Select 7343 SolutionEngine if configuring for a Hitachi
389 SH7343 (SH-Mobile 3AS) evaluation board.
390
Paul Mundtf3d22292007-05-14 17:29:12 +0900391config SH_7751_SYSTEMH
392 bool "SystemH7751R"
393 depends on CPU_SUBTYPE_SH7751R
394 help
395 Select SystemH if you are configuring for a Renesas SystemH
396 7751R evaluation board.
397
398config SH_HP6XX
399 bool "HP6XX"
400 select SYS_SUPPORTS_APM_EMULATION
Paul Mundt357d5942007-06-11 15:32:07 +0900401 select HD6446X_SERIES
Paul Mundtf3d22292007-05-14 17:29:12 +0900402 depends on CPU_SUBTYPE_SH7709
403 help
404 Select HP6XX if configuring for a HP jornada HP6xx.
405 More information (hardware only) at
406 <http://www.hp.com/jornada/>.
407
Paul Mundtf3d22292007-05-14 17:29:12 +0900408config SH_DREAMCAST
409 bool "Dreamcast"
Paul Mundt357d5942007-06-11 15:32:07 +0900410 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900411 depends on CPU_SUBTYPE_SH7091
412 help
413 Select Dreamcast if configuring for a SEGA Dreamcast.
Adrian McMenaminad07b102007-10-15 10:38:31 +0900414 More information at <http://www.linux-sh.org>
Paul Mundtf3d22292007-05-14 17:29:12 +0900415
416config SH_MPC1211
417 bool "Interface MPC1211"
418 depends on CPU_SUBTYPE_SH7751 && BROKEN
419 help
420 CTP/PCI-SH02 is a CPU module computer that is produced
421 by Interface Corporation.
422 More information at <http://www.interface.co.jp>
423
424config SH_SH03
425 bool "Interface CTP/PCI-SH03"
Magnus Dammd59645d2007-08-03 14:23:35 +0900426 depends on CPU_SUBTYPE_SH7751
Magnus Damm56386f62007-07-20 18:44:49 +0900427 select CPU_HAS_IPR_IRQ
Paul Mundt357d5942007-06-11 15:32:07 +0900428 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900429 help
430 CTP/PCI-SH03 is a CPU module computer that is produced
431 by Interface Corporation.
432 More information at <http://www.interface.co.jp>
433
434config SH_SECUREEDGE5410
435 bool "SecureEdge5410"
436 depends on CPU_SUBTYPE_SH7751R
Magnus Damm56386f62007-07-20 18:44:49 +0900437 select CPU_HAS_IPR_IRQ
Paul Mundt357d5942007-06-11 15:32:07 +0900438 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900439 help
440 Select SecureEdge5410 if configuring for a SnapGear SH board.
441 This includes both the OEM SecureEdge products as well as the
442 SME product line.
443
Paul Mundtf3d22292007-05-14 17:29:12 +0900444config SH_7710VOIPGW
445 bool "SH7710-VOIP-GW"
446 depends on CPU_SUBTYPE_SH7710
447 help
448 Select this option to build a kernel for the SH7710 based
449 VOIP GW.
450
451config SH_RTS7751R2D
452 bool "RTS7751R2D"
453 depends on CPU_SUBTYPE_SH7751R
Paul Mundt357d5942007-06-11 15:32:07 +0900454 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900455 help
456 Select RTS7751R2D if configuring for a Renesas Technology
457 Sales SH-Graphics board.
458
Nicholas Beck4862ec02008-01-23 12:50:51 +0900459config SH_SDK7780
460 bool "SDK7780R3"
461 depends on CPU_SUBTYPE_SH7780
462 select SYS_SUPPORTS_PCI
463 help
464 Select SDK7780 if configuring for a Renesas SH7780 SDK7780R3
465 evaluation board.
466
Paul Mundtf3d22292007-05-14 17:29:12 +0900467config SH_HIGHLANDER
468 bool "Highlander"
469 depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
Paul Mundt357d5942007-06-11 15:32:07 +0900470 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900471
472config SH_EDOSK7705
473 bool "EDOSK7705"
474 depends on CPU_SUBTYPE_SH7705
475
476config SH_SH4202_MICRODEV
477 bool "SH4-202 MicroDev"
478 depends on CPU_SUBTYPE_SH4_202
479 help
480 Select SH4-202 MicroDev if configuring for a SuperH MicroDev board
481 with an SH4-202 CPU.
482
483config SH_LANDISK
484 bool "LANDISK"
485 depends on CPU_SUBTYPE_SH7751R
Paul Mundt357d5942007-06-11 15:32:07 +0900486 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900487 help
488 I-O DATA DEVICE, INC. "LANDISK Series" support.
489
490config SH_TITAN
491 bool "TITAN"
492 depends on CPU_SUBTYPE_SH7751R
Magnus Damm56386f62007-07-20 18:44:49 +0900493 select CPU_HAS_IPR_IRQ
Paul Mundt357d5942007-06-11 15:32:07 +0900494 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900495 help
496 Select Titan if you are configuring for a Nimble Microsystems
497 NetEngine NP51R.
498
499config SH_SHMIN
500 bool "SHMIN"
501 depends on CPU_SUBTYPE_SH7706
Magnus Damm56386f62007-07-20 18:44:49 +0900502 select CPU_HAS_IPR_IRQ
Paul Mundtf3d22292007-05-14 17:29:12 +0900503 help
504 Select SHMIN if configuring for the SHMIN board.
505
506config SH_LBOX_RE2
507 bool "L-BOX RE2"
508 depends on CPU_SUBTYPE_SH7751R
Paul Mundt357d5942007-06-11 15:32:07 +0900509 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900510 help
511 Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2.
512
Paul Mundt94807a32007-08-08 15:22:04 +0900513config SH_X3PROTO
514 bool "SH-X3 Prototype board"
515 depends on CPU_SUBTYPE_SHX3
516
Markus Brunnerded54312007-09-12 11:54:58 +0900517config SH_MAGIC_PANEL_R2
518 bool "Magic Panel R2"
519 depends on CPU_SUBTYPE_SH7720
520 help
521 Select Magic Panel R2 if configuring for Magic Panel R2.
522
Paul Mundtea0e1a92007-11-21 15:58:01 +0900523config SH_CAYMAN
524 bool "Hitachi Cayman"
525 depends on CPU_SUBTYPE_SH5_101 || CPU_SUBTYPE_SH5_103
Paul Mundtb6d7b662007-11-22 16:29:10 +0900526 select SYS_SUPPORTS_PCI
Paul Mundtea0e1a92007-11-21 15:58:01 +0900527
Paul Mundtf3d22292007-05-14 17:29:12 +0900528endmenu
529
Paul Mundtf3d22292007-05-14 17:29:12 +0900530source "arch/sh/boards/renesas/rts7751r2d/Kconfig"
531source "arch/sh/boards/renesas/r7780rp/Kconfig"
Nicholas Beck4862ec02008-01-23 12:50:51 +0900532source "arch/sh/boards/renesas/sdk7780/Kconfig"
Markus Brunnerded54312007-09-12 11:54:58 +0900533source "arch/sh/boards/magicpanelr2/Kconfig"
Paul Mundtf3d22292007-05-14 17:29:12 +0900534
Paul Mundt32351a22007-03-12 14:38:59 +0900535menu "Timer and clock configuration"
536
Paul Mundtcad82442006-01-16 22:14:19 -0800537config SH_TMU
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900538 def_bool y
539 prompt "TMU timer support"
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900540 depends on CPU_SH3 || CPU_SH4
Paul Mundt57be2b42007-05-09 17:33:24 +0900541 select GENERIC_TIME
542 select GENERIC_CLOCKEVENTS
Paul Mundtcad82442006-01-16 22:14:19 -0800543 help
544 This enables the use of the TMU as the system timer.
545
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900546config SH_CMT
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900547 def_bool y
548 prompt "CMT timer support"
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900549 depends on CPU_SH2
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900550 help
551 This enables the use of the CMT as the system timer.
552
553config SH_MTU2
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900554 def_bool n
555 prompt "MTU2 timer support"
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900556 depends on CPU_SH2A
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900557 help
558 This enables the use of the MTU2 as the system timer.
559
Paul Mundt417528a2006-11-20 11:18:30 +0900560config SH_TIMER_IRQ
561 int
Yoshihiro Shimoda7d740a02008-01-07 14:40:07 +0900562 default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || \
563 CPU_SUBTYPE_SH7763
Paul Mundt417528a2006-11-20 11:18:30 +0900564 default "86" if CPU_SUBTYPE_SH7619
565 default "140" if CPU_SUBTYPE_SH7206
566 default "16"
567
Paul Mundtcad82442006-01-16 22:14:19 -0800568config SH_PCLK_FREQ
569 int "Peripheral clock frequency (in Hz)"
Magnus Damm870e8a22007-07-25 10:49:21 +0900570 default "27000000" if CPU_SUBTYPE_SH7343
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900571 default "31250000" if CPU_SUBTYPE_SH7619
Paul Mundt05627482007-05-15 16:25:47 +0900572 default "32000000" if CPU_SUBTYPE_SH7722
Magnus Dammd89ddd12007-07-25 11:42:56 +0900573 default "33333333" if CPU_SUBTYPE_SH7770 || \
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900574 CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
Paul Mundta8f67f42007-11-26 19:54:02 +0900575 CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \
576 CPU_SUBTYPE_SH7263
Paul Mundt05627482007-05-15 16:25:47 +0900577 default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
Paul Mundtcad82442006-01-16 22:14:19 -0800578 default "66000000" if CPU_SUBTYPE_SH4_202
Paul Mundt05627482007-05-15 16:25:47 +0900579 default "50000000"
Paul Mundtcad82442006-01-16 22:14:19 -0800580 help
581 This option is used to specify the peripheral clock frequency.
582 This is necessary for determining the reference clock value on
583 platforms lacking an RTC.
584
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900585config SH_CLK_MD
586 int "CPU Mode Pin Setting"
Paul Mundt6d01f512007-11-26 18:17:21 +0900587 depends on CPU_SH2
Paul Mundt357d5942007-06-11 15:32:07 +0900588 default 6 if CPU_SUBTYPE_SH7206
589 default 5 if CPU_SUBTYPE_SH7619
590 default 0
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900591 help
Yoshinori Sato11cbb702006-12-07 18:07:27 +0900592 MD2 - MD0 pin setting.
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900593
Paul Mundt57be2b42007-05-09 17:33:24 +0900594source "kernel/time/Kconfig"
595
Paul Mundt32351a22007-03-12 14:38:59 +0900596endmenu
597
Paul Mundtcad82442006-01-16 22:14:19 -0800598menu "CPU Frequency scaling"
599
600source "drivers/cpufreq/Kconfig"
601
602config SH_CPU_FREQ
603 tristate "SuperH CPU Frequency driver"
Paul Mundtcb5ec752007-07-20 13:38:19 +0900604 depends on CPU_FREQ
Paul Mundtcad82442006-01-16 22:14:19 -0800605 select CPU_FREQ_TABLE
606 help
607 This adds the cpufreq driver for SuperH. At present, only
608 the SH-4 is supported.
609
610 For details, take a look at <file:Documentation/cpu-freq>.
611
612 If unsure, say N.
613
614endmenu
615
Paul Mundt9f5e8ee2006-11-24 11:22:57 +0900616source "arch/sh/drivers/Kconfig"
617
Paul Mundtcad82442006-01-16 22:14:19 -0800618endmenu
619
620config ISA_DMA_API
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900621 def_bool y
Adrian Bunk05efc672006-02-17 13:52:42 -0800622 depends on SH_MPC1211
Paul Mundtcad82442006-01-16 22:14:19 -0800623
624menu "Kernel features"
625
Paul Mundt91b91d02006-09-27 18:08:33 +0900626source kernel/Kconfig.hz
627
Paul Mundtcad82442006-01-16 22:14:19 -0800628config KEXEC
629 bool "kexec system call (EXPERIMENTAL)"
630 depends on EXPERIMENTAL
631 help
632 kexec is a system call that implements the ability to shutdown your
633 current kernel, and to start another kernel. It is like a reboot
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400634 but it is independent of the system firmware. And like a reboot
Paul Mundtcad82442006-01-16 22:14:19 -0800635 you can start any kernel with it, not just Linux.
636
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400637 The name comes from the similarity to the exec system call.
Paul Mundtcad82442006-01-16 22:14:19 -0800638
639 It is an ongoing process to be certain the hardware in a machine
640 is properly shutdown, so do not be surprised if this code does not
641 initially work for you. It may help to enable device hotplugging
642 support. As of this writing the exact hardware interface is
643 strongly in flux, so no good recommendation can be made.
644
Paul Mundt4d5ade52007-04-27 11:25:57 +0900645config CRASH_DUMP
646 bool "kernel crash dumps (EXPERIMENTAL)"
647 depends on EXPERIMENTAL
648 help
649 Generate crash dump after being started by kexec.
650 This should be normally only set in special crash dump kernels
651 which are loaded in the main kernel with kexec-tools into
652 a specially reserved region and then later executed after
653 a crash by kdump/kexec. The crash dump kernel must be compiled
654 to a memory address not used by the main kernel using
655 MEMORY_START.
656
657 For more details see Documentation/kdump/kdump.txt
658
Linus Torvalds1da177e2005-04-16 15:20:36 -0700659config SMP
660 bool "Symmetric multi-processing support"
Paul Mundt357d5942007-06-11 15:32:07 +0900661 depends on SYS_SUPPORTS_SMP
Linus Torvalds1da177e2005-04-16 15:20:36 -0700662 ---help---
663 This enables support for systems with more than one CPU. If you have
664 a system with only one CPU, like most personal computers, say N. If
665 you have a system with more than one CPU, say Y.
666
667 If you say N here, the kernel will run on single and multiprocessor
668 machines, but will use only one CPU of a multiprocessor machine. If
669 you say Y here, the kernel will run on many, but not all,
670 singleprocessor machines. On a singleprocessor machine, the kernel
671 will run faster if you say N here.
672
673 People using multiprocessor machines who say Y here should also say
674 Y to "Enhanced Real Time Clock Support", below.
675
Adrian Bunk03502fa2008-02-03 15:50:21 +0200676 See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
677 available at <http://www.tldp.org/docs.html#howto>.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700678
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
Linus Torvalds1da177e2005-04-16 15:20:36 -0700899source "arch/sh/Kconfig.debug"
900
901source "security/Kconfig"
902
903source "crypto/Kconfig"
904
905source "lib/Kconfig"