blob: 6e035d1cf7895663f5c51eed1b4167f16dd1d759 [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
David Howellsb0b933c2008-02-08 04:19:27 -080092config ARCH_SUPPORTS_AOUT
93 def_bool y
94
Linus Torvalds1da177e2005-04-16 15:20:36 -070095source "init/Kconfig"
96
97menu "System type"
98
Paul Mundtb5f42db2007-11-08 18:38:14 +090099#
100# Processor families
101#
102config CPU_SH2
103 bool
104
105config CPU_SH2A
106 bool
107 select CPU_SH2
108
109config CPU_SH3
110 bool
111 select CPU_HAS_INTEVT
112 select CPU_HAS_SR_RB
113
114config CPU_SH4
115 bool
116 select CPU_HAS_INTEVT
117 select CPU_HAS_SR_RB
118 select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2
119 select CPU_HAS_FPU if !CPU_SH4AL_DSP
120
121config CPU_SH4A
122 bool
123 select CPU_SH4
124
125config CPU_SH4AL_DSP
126 bool
127 select CPU_SH4A
128 select CPU_HAS_DSP
129
Paul Mundtea0e1a92007-11-21 15:58:01 +0900130config CPU_SH5
131 bool
132 select CPU_HAS_FPU
133
Paul Mundtb5f42db2007-11-08 18:38:14 +0900134config CPU_SHX2
135 bool
136
137config CPU_SHX3
138 bool
139
140choice
141 prompt "Processor sub-type selection"
142
143#
144# Processor subtypes
145#
146
147# SH-2 Processor Support
148
149config CPU_SUBTYPE_SH7619
150 bool "Support SH7619 processor"
151 select CPU_SH2
152
153# SH-2A Processor Support
154
Paul Mundt6d01f512007-11-26 18:17:21 +0900155config CPU_SUBTYPE_SH7203
156 bool "Support SH7203 processor"
157 select CPU_SH2A
Paul Mundt74d99a52007-11-26 20:38:36 +0900158 select CPU_HAS_FPU
Paul Mundt6d01f512007-11-26 18:17:21 +0900159
Paul Mundtb5f42db2007-11-08 18:38:14 +0900160config CPU_SUBTYPE_SH7206
161 bool "Support SH7206 processor"
162 select CPU_SH2A
163
Paul Mundta8f67f42007-11-26 19:54:02 +0900164config CPU_SUBTYPE_SH7263
165 bool "Support SH7263 processor"
166 select CPU_SH2A
Paul Mundt74d99a52007-11-26 20:38:36 +0900167 select CPU_HAS_FPU
Paul Mundta8f67f42007-11-26 19:54:02 +0900168
Paul Mundtb5f42db2007-11-08 18:38:14 +0900169# SH-3 Processor Support
170
171config CPU_SUBTYPE_SH7705
172 bool "Support SH7705 processor"
173 select CPU_SH3
174
175config CPU_SUBTYPE_SH7706
176 bool "Support SH7706 processor"
177 select CPU_SH3
178 help
179 Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
180
181config CPU_SUBTYPE_SH7707
182 bool "Support SH7707 processor"
183 select CPU_SH3
184 help
185 Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU.
186
187config CPU_SUBTYPE_SH7708
188 bool "Support SH7708 processor"
189 select CPU_SH3
190 help
191 Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or
192 if you have a 100 Mhz SH-3 HD6417708R CPU.
193
194config CPU_SUBTYPE_SH7709
195 bool "Support SH7709 processor"
196 select CPU_SH3
197 help
198 Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU.
199
200config CPU_SUBTYPE_SH7710
201 bool "Support SH7710 processor"
202 select CPU_SH3
203 select CPU_HAS_DSP
204 help
205 Select SH7710 if you have a SH3-DSP SH7710 CPU.
206
207config CPU_SUBTYPE_SH7712
208 bool "Support SH7712 processor"
209 select CPU_SH3
210 select CPU_HAS_DSP
211 help
212 Select SH7712 if you have a SH3-DSP SH7712 CPU.
213
214config CPU_SUBTYPE_SH7720
215 bool "Support SH7720 processor"
216 select CPU_SH3
217 select CPU_HAS_DSP
218 help
219 Select SH7720 if you have a SH3-DSP SH7720 CPU.
220
Yoshihiro Shimoda31a49c42007-12-26 11:45:06 +0900221config CPU_SUBTYPE_SH7721
222 bool "Support SH7721 processor"
223 select CPU_SH3
224 select CPU_HAS_DSP
225 help
226 Select SH7721 if you have a SH3-DSP SH7721 CPU.
227
Paul Mundtb5f42db2007-11-08 18:38:14 +0900228# SH-4 Processor Support
229
230config CPU_SUBTYPE_SH7750
231 bool "Support SH7750 processor"
232 select CPU_SH4
233 help
234 Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
235
236config CPU_SUBTYPE_SH7091
237 bool "Support SH7091 processor"
238 select CPU_SH4
239 help
240 Select SH7091 if you have an SH-4 based Sega device (such as
241 the Dreamcast, Naomi, and Naomi 2).
242
243config CPU_SUBTYPE_SH7750R
244 bool "Support SH7750R processor"
245 select CPU_SH4
246
247config CPU_SUBTYPE_SH7750S
248 bool "Support SH7750S processor"
249 select CPU_SH4
250
251config CPU_SUBTYPE_SH7751
252 bool "Support SH7751 processor"
253 select CPU_SH4
254 help
255 Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
256 or if you have a HD6417751R CPU.
257
258config CPU_SUBTYPE_SH7751R
259 bool "Support SH7751R processor"
260 select CPU_SH4
261
262config CPU_SUBTYPE_SH7760
263 bool "Support SH7760 processor"
264 select CPU_SH4
265
266config CPU_SUBTYPE_SH4_202
267 bool "Support SH4-202 processor"
268 select CPU_SH4
269
270# SH-4A Processor Support
271
Yoshihiro Shimoda7d740a02008-01-07 14:40:07 +0900272config CPU_SUBTYPE_SH7763
273 bool "Support SH7763 processor"
274 select CPU_SH4A
275 help
276 Select SH7763 if you have a SH4A SH7763(R5S77631) CPU.
277
Paul Mundtb5f42db2007-11-08 18:38:14 +0900278config CPU_SUBTYPE_SH7770
279 bool "Support SH7770 processor"
280 select CPU_SH4A
281
282config CPU_SUBTYPE_SH7780
283 bool "Support SH7780 processor"
284 select CPU_SH4A
285
286config CPU_SUBTYPE_SH7785
287 bool "Support SH7785 processor"
288 select CPU_SH4A
289 select CPU_SHX2
290 select ARCH_SPARSEMEM_ENABLE
291 select SYS_SUPPORTS_NUMA
292
293config CPU_SUBTYPE_SHX3
294 bool "Support SH-X3 processor"
295 select CPU_SH4A
296 select CPU_SHX3
297 select ARCH_SPARSEMEM_ENABLE
298 select SYS_SUPPORTS_NUMA
299 select SYS_SUPPORTS_SMP
300
301# SH4AL-DSP Processor Support
302
303config CPU_SUBTYPE_SH7343
304 bool "Support SH7343 processor"
305 select CPU_SH4AL_DSP
306
307config CPU_SUBTYPE_SH7722
308 bool "Support SH7722 processor"
309 select CPU_SH4AL_DSP
310 select CPU_SHX2
311 select ARCH_SPARSEMEM_ENABLE
312 select SYS_SUPPORTS_NUMA
313
Paul Mundtea0e1a92007-11-21 15:58:01 +0900314# SH-5 Processor Support
315
316config CPU_SUBTYPE_SH5_101
317 bool "Support SH5-101 processor"
318 select CPU_SH5
319
320config CPU_SUBTYPE_SH5_103
321 bool "Support SH5-103 processor"
322
Paul Mundtb5f42db2007-11-08 18:38:14 +0900323endchoice
324
Paul Mundtcad82442006-01-16 22:14:19 -0800325source "arch/sh/mm/Kconfig"
Paul Mundt4690bdc2007-11-09 13:45:42 +0900326source "arch/sh/Kconfig.cpu"
Paul Mundtcad82442006-01-16 22:14:19 -0800327
Paul Mundtf3d22292007-05-14 17:29:12 +0900328menu "Board support"
329
330config SOLUTION_ENGINE
331 bool
332
333config SH_SOLUTION_ENGINE
334 bool "SolutionEngine"
335 select SOLUTION_ENGINE
Magnus Damm56386f62007-07-20 18:44:49 +0900336 select CPU_HAS_IPR_IRQ
Nobuhiro Iwamatsua8199072007-11-05 07:44:41 +0900337 depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \
338 CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \
339 CPU_SUBTYPE_SH7750R
Paul Mundtf3d22292007-05-14 17:29:12 +0900340 help
Nobuhiro Iwamatsua8199072007-11-05 07:44:41 +0900341 Select SolutionEngine if configuring for a Hitachi SH7705, SH7709,
342 SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board.
Paul Mundtf3d22292007-05-14 17:29:12 +0900343
344config SH_7206_SOLUTION_ENGINE
345 bool "SolutionEngine7206"
346 select SOLUTION_ENGINE
347 depends on CPU_SUBTYPE_SH7206
348 help
349 Select 7206 SolutionEngine if configuring for a Hitachi SH7206
350 evaluation board.
351
352config SH_7619_SOLUTION_ENGINE
353 bool "SolutionEngine7619"
354 select SOLUTION_ENGINE
355 depends on CPU_SUBTYPE_SH7619
356 help
357 Select 7619 SolutionEngine if configuring for a Hitachi SH7619
358 evaluation board.
359
360config SH_7722_SOLUTION_ENGINE
361 bool "SolutionEngine7722"
362 select SOLUTION_ENGINE
363 depends on CPU_SUBTYPE_SH7722
364 help
365 Select 7722 SolutionEngine if configuring for a Hitachi SH772
366 evaluation board.
367
368config SH_7751_SOLUTION_ENGINE
369 bool "SolutionEngine7751"
370 select SOLUTION_ENGINE
Magnus Damm56386f62007-07-20 18:44:49 +0900371 select CPU_HAS_IPR_IRQ
Paul Mundtf3d22292007-05-14 17:29:12 +0900372 depends on CPU_SUBTYPE_SH7751
373 help
374 Select 7751 SolutionEngine if configuring for a Hitachi SH7751
375 evaluation board.
376
377config SH_7780_SOLUTION_ENGINE
378 bool "SolutionEngine7780"
379 select SOLUTION_ENGINE
Paul Mundt357d5942007-06-11 15:32:07 +0900380 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900381 depends on CPU_SUBTYPE_SH7780
382 help
383 Select 7780 SolutionEngine if configuring for a Renesas SH7780
384 evaluation board.
385
Paul Mundtf3d22292007-05-14 17:29:12 +0900386config SH_7343_SOLUTION_ENGINE
387 bool "SolutionEngine7343"
388 select SOLUTION_ENGINE
389 depends on CPU_SUBTYPE_SH7343
390 help
391 Select 7343 SolutionEngine if configuring for a Hitachi
392 SH7343 (SH-Mobile 3AS) evaluation board.
393
Paul Mundtf3d22292007-05-14 17:29:12 +0900394config SH_7751_SYSTEMH
395 bool "SystemH7751R"
396 depends on CPU_SUBTYPE_SH7751R
397 help
398 Select SystemH if you are configuring for a Renesas SystemH
399 7751R evaluation board.
400
401config SH_HP6XX
402 bool "HP6XX"
403 select SYS_SUPPORTS_APM_EMULATION
Paul Mundt357d5942007-06-11 15:32:07 +0900404 select HD6446X_SERIES
Paul Mundtf3d22292007-05-14 17:29:12 +0900405 depends on CPU_SUBTYPE_SH7709
406 help
407 Select HP6XX if configuring for a HP jornada HP6xx.
408 More information (hardware only) at
409 <http://www.hp.com/jornada/>.
410
Paul Mundtf3d22292007-05-14 17:29:12 +0900411config SH_DREAMCAST
412 bool "Dreamcast"
Paul Mundt357d5942007-06-11 15:32:07 +0900413 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900414 depends on CPU_SUBTYPE_SH7091
415 help
416 Select Dreamcast if configuring for a SEGA Dreamcast.
Adrian McMenaminad07b102007-10-15 10:38:31 +0900417 More information at <http://www.linux-sh.org>
Paul Mundtf3d22292007-05-14 17:29:12 +0900418
419config SH_MPC1211
420 bool "Interface MPC1211"
421 depends on CPU_SUBTYPE_SH7751 && BROKEN
422 help
423 CTP/PCI-SH02 is a CPU module computer that is produced
424 by Interface Corporation.
425 More information at <http://www.interface.co.jp>
426
427config SH_SH03
428 bool "Interface CTP/PCI-SH03"
Magnus Dammd59645d2007-08-03 14:23:35 +0900429 depends on CPU_SUBTYPE_SH7751
Magnus Damm56386f62007-07-20 18:44:49 +0900430 select CPU_HAS_IPR_IRQ
Paul Mundt357d5942007-06-11 15:32:07 +0900431 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900432 help
433 CTP/PCI-SH03 is a CPU module computer that is produced
434 by Interface Corporation.
435 More information at <http://www.interface.co.jp>
436
437config SH_SECUREEDGE5410
438 bool "SecureEdge5410"
439 depends on CPU_SUBTYPE_SH7751R
Magnus Damm56386f62007-07-20 18:44:49 +0900440 select CPU_HAS_IPR_IRQ
Paul Mundt357d5942007-06-11 15:32:07 +0900441 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900442 help
443 Select SecureEdge5410 if configuring for a SnapGear SH board.
444 This includes both the OEM SecureEdge products as well as the
445 SME product line.
446
Paul Mundtf3d22292007-05-14 17:29:12 +0900447config SH_7710VOIPGW
448 bool "SH7710-VOIP-GW"
449 depends on CPU_SUBTYPE_SH7710
450 help
451 Select this option to build a kernel for the SH7710 based
452 VOIP GW.
453
454config SH_RTS7751R2D
455 bool "RTS7751R2D"
456 depends on CPU_SUBTYPE_SH7751R
Paul Mundt357d5942007-06-11 15:32:07 +0900457 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900458 help
459 Select RTS7751R2D if configuring for a Renesas Technology
460 Sales SH-Graphics board.
461
Nicholas Beck4862ec02008-01-23 12:50:51 +0900462config SH_SDK7780
463 bool "SDK7780R3"
464 depends on CPU_SUBTYPE_SH7780
465 select SYS_SUPPORTS_PCI
466 help
467 Select SDK7780 if configuring for a Renesas SH7780 SDK7780R3
468 evaluation board.
469
Paul Mundtf3d22292007-05-14 17:29:12 +0900470config SH_HIGHLANDER
471 bool "Highlander"
472 depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
Paul Mundt357d5942007-06-11 15:32:07 +0900473 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900474
475config SH_EDOSK7705
476 bool "EDOSK7705"
477 depends on CPU_SUBTYPE_SH7705
478
479config SH_SH4202_MICRODEV
480 bool "SH4-202 MicroDev"
481 depends on CPU_SUBTYPE_SH4_202
482 help
483 Select SH4-202 MicroDev if configuring for a SuperH MicroDev board
484 with an SH4-202 CPU.
485
486config SH_LANDISK
487 bool "LANDISK"
488 depends on CPU_SUBTYPE_SH7751R
Paul Mundt357d5942007-06-11 15:32:07 +0900489 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900490 help
491 I-O DATA DEVICE, INC. "LANDISK Series" support.
492
493config SH_TITAN
494 bool "TITAN"
495 depends on CPU_SUBTYPE_SH7751R
Magnus Damm56386f62007-07-20 18:44:49 +0900496 select CPU_HAS_IPR_IRQ
Paul Mundt357d5942007-06-11 15:32:07 +0900497 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900498 help
499 Select Titan if you are configuring for a Nimble Microsystems
500 NetEngine NP51R.
501
502config SH_SHMIN
503 bool "SHMIN"
504 depends on CPU_SUBTYPE_SH7706
Magnus Damm56386f62007-07-20 18:44:49 +0900505 select CPU_HAS_IPR_IRQ
Paul Mundtf3d22292007-05-14 17:29:12 +0900506 help
507 Select SHMIN if configuring for the SHMIN board.
508
509config SH_LBOX_RE2
510 bool "L-BOX RE2"
511 depends on CPU_SUBTYPE_SH7751R
Paul Mundt357d5942007-06-11 15:32:07 +0900512 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900513 help
514 Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2.
515
Paul Mundt94807a32007-08-08 15:22:04 +0900516config SH_X3PROTO
517 bool "SH-X3 Prototype board"
518 depends on CPU_SUBTYPE_SHX3
519
Markus Brunnerded54312007-09-12 11:54:58 +0900520config SH_MAGIC_PANEL_R2
521 bool "Magic Panel R2"
522 depends on CPU_SUBTYPE_SH7720
523 help
524 Select Magic Panel R2 if configuring for Magic Panel R2.
525
Paul Mundtea0e1a92007-11-21 15:58:01 +0900526config SH_CAYMAN
527 bool "Hitachi Cayman"
528 depends on CPU_SUBTYPE_SH5_101 || CPU_SUBTYPE_SH5_103
Paul Mundtb6d7b662007-11-22 16:29:10 +0900529 select SYS_SUPPORTS_PCI
Paul Mundtea0e1a92007-11-21 15:58:01 +0900530
Paul Mundtf3d22292007-05-14 17:29:12 +0900531endmenu
532
Paul Mundtf3d22292007-05-14 17:29:12 +0900533source "arch/sh/boards/renesas/rts7751r2d/Kconfig"
534source "arch/sh/boards/renesas/r7780rp/Kconfig"
Nicholas Beck4862ec02008-01-23 12:50:51 +0900535source "arch/sh/boards/renesas/sdk7780/Kconfig"
Markus Brunnerded54312007-09-12 11:54:58 +0900536source "arch/sh/boards/magicpanelr2/Kconfig"
Paul Mundtf3d22292007-05-14 17:29:12 +0900537
Paul Mundt32351a22007-03-12 14:38:59 +0900538menu "Timer and clock configuration"
539
Paul Mundtcad82442006-01-16 22:14:19 -0800540config SH_TMU
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900541 def_bool y
542 prompt "TMU timer support"
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900543 depends on CPU_SH3 || CPU_SH4
Paul Mundt57be2b42007-05-09 17:33:24 +0900544 select GENERIC_TIME
545 select GENERIC_CLOCKEVENTS
Paul Mundtcad82442006-01-16 22:14:19 -0800546 help
547 This enables the use of the TMU as the system timer.
548
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900549config SH_CMT
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900550 def_bool y
551 prompt "CMT timer support"
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900552 depends on CPU_SH2
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900553 help
554 This enables the use of the CMT as the system timer.
555
556config SH_MTU2
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900557 def_bool n
558 prompt "MTU2 timer support"
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900559 depends on CPU_SH2A
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900560 help
561 This enables the use of the MTU2 as the system timer.
562
Paul Mundt417528a2006-11-20 11:18:30 +0900563config SH_TIMER_IRQ
564 int
Yoshihiro Shimoda7d740a02008-01-07 14:40:07 +0900565 default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || \
566 CPU_SUBTYPE_SH7763
Paul Mundt417528a2006-11-20 11:18:30 +0900567 default "86" if CPU_SUBTYPE_SH7619
568 default "140" if CPU_SUBTYPE_SH7206
569 default "16"
570
Paul Mundtcad82442006-01-16 22:14:19 -0800571config SH_PCLK_FREQ
572 int "Peripheral clock frequency (in Hz)"
Magnus Damm870e8a22007-07-25 10:49:21 +0900573 default "27000000" if CPU_SUBTYPE_SH7343
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900574 default "31250000" if CPU_SUBTYPE_SH7619
Paul Mundt05627482007-05-15 16:25:47 +0900575 default "32000000" if CPU_SUBTYPE_SH7722
Magnus Dammd89ddd12007-07-25 11:42:56 +0900576 default "33333333" if CPU_SUBTYPE_SH7770 || \
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900577 CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
Paul Mundta8f67f42007-11-26 19:54:02 +0900578 CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \
579 CPU_SUBTYPE_SH7263
Paul Mundt05627482007-05-15 16:25:47 +0900580 default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
Paul Mundtcad82442006-01-16 22:14:19 -0800581 default "66000000" if CPU_SUBTYPE_SH4_202
Paul Mundt05627482007-05-15 16:25:47 +0900582 default "50000000"
Paul Mundtcad82442006-01-16 22:14:19 -0800583 help
584 This option is used to specify the peripheral clock frequency.
585 This is necessary for determining the reference clock value on
586 platforms lacking an RTC.
587
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900588config SH_CLK_MD
589 int "CPU Mode Pin Setting"
Paul Mundt6d01f512007-11-26 18:17:21 +0900590 depends on CPU_SH2
Paul Mundt357d5942007-06-11 15:32:07 +0900591 default 6 if CPU_SUBTYPE_SH7206
592 default 5 if CPU_SUBTYPE_SH7619
593 default 0
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900594 help
Yoshinori Sato11cbb702006-12-07 18:07:27 +0900595 MD2 - MD0 pin setting.
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900596
Paul Mundt57be2b42007-05-09 17:33:24 +0900597source "kernel/time/Kconfig"
598
Paul Mundt32351a22007-03-12 14:38:59 +0900599endmenu
600
Paul Mundtcad82442006-01-16 22:14:19 -0800601menu "CPU Frequency scaling"
602
603source "drivers/cpufreq/Kconfig"
604
605config SH_CPU_FREQ
606 tristate "SuperH CPU Frequency driver"
Paul Mundtcb5ec752007-07-20 13:38:19 +0900607 depends on CPU_FREQ
Paul Mundtcad82442006-01-16 22:14:19 -0800608 select CPU_FREQ_TABLE
609 help
610 This adds the cpufreq driver for SuperH. At present, only
611 the SH-4 is supported.
612
613 For details, take a look at <file:Documentation/cpu-freq>.
614
615 If unsure, say N.
616
617endmenu
618
Paul Mundt9f5e8ee2006-11-24 11:22:57 +0900619source "arch/sh/drivers/Kconfig"
620
Paul Mundtcad82442006-01-16 22:14:19 -0800621endmenu
622
623config ISA_DMA_API
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900624 def_bool y
Adrian Bunk05efc672006-02-17 13:52:42 -0800625 depends on SH_MPC1211
Paul Mundtcad82442006-01-16 22:14:19 -0800626
627menu "Kernel features"
628
Paul Mundt91b91d02006-09-27 18:08:33 +0900629source kernel/Kconfig.hz
630
Paul Mundtcad82442006-01-16 22:14:19 -0800631config KEXEC
632 bool "kexec system call (EXPERIMENTAL)"
633 depends on EXPERIMENTAL
634 help
635 kexec is a system call that implements the ability to shutdown your
636 current kernel, and to start another kernel. It is like a reboot
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400637 but it is independent of the system firmware. And like a reboot
Paul Mundtcad82442006-01-16 22:14:19 -0800638 you can start any kernel with it, not just Linux.
639
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400640 The name comes from the similarity to the exec system call.
Paul Mundtcad82442006-01-16 22:14:19 -0800641
642 It is an ongoing process to be certain the hardware in a machine
643 is properly shutdown, so do not be surprised if this code does not
644 initially work for you. It may help to enable device hotplugging
645 support. As of this writing the exact hardware interface is
646 strongly in flux, so no good recommendation can be made.
647
Paul Mundt4d5ade52007-04-27 11:25:57 +0900648config CRASH_DUMP
649 bool "kernel crash dumps (EXPERIMENTAL)"
650 depends on EXPERIMENTAL
651 help
652 Generate crash dump after being started by kexec.
653 This should be normally only set in special crash dump kernels
654 which are loaded in the main kernel with kexec-tools into
655 a specially reserved region and then later executed after
656 a crash by kdump/kexec. The crash dump kernel must be compiled
657 to a memory address not used by the main kernel using
658 MEMORY_START.
659
660 For more details see Documentation/kdump/kdump.txt
661
Linus Torvalds1da177e2005-04-16 15:20:36 -0700662config SMP
663 bool "Symmetric multi-processing support"
Paul Mundt357d5942007-06-11 15:32:07 +0900664 depends on SYS_SUPPORTS_SMP
Linus Torvalds1da177e2005-04-16 15:20:36 -0700665 ---help---
666 This enables support for systems with more than one CPU. If you have
667 a system with only one CPU, like most personal computers, say N. If
668 you have a system with more than one CPU, say Y.
669
670 If you say N here, the kernel will run on single and multiprocessor
671 machines, but will use only one CPU of a multiprocessor machine. If
672 you say Y here, the kernel will run on many, but not all,
673 singleprocessor machines. On a singleprocessor machine, the kernel
674 will run faster if you say N here.
675
676 People using multiprocessor machines who say Y here should also say
677 Y to "Enhanced Real Time Clock Support", below.
678
Adrian Bunk03502fa2008-02-03 15:50:21 +0200679 See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
680 available at <http://www.tldp.org/docs.html#howto>.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700681
682 If you don't know what to do here, say N.
683
684config NR_CPUS
685 int "Maximum number of CPUs (2-32)"
686 range 2 32
687 depends on SMP
Paul Mundt2b1bd1a2007-06-20 18:27:10 +0900688 default "4" if CPU_SHX3
Linus Torvalds1da177e2005-04-16 15:20:36 -0700689 default "2"
690 help
691 This allows you to specify the maximum number of CPUs which this
692 kernel will support. The maximum supported value is 32 and the
693 minimum value which makes sense is 2.
694
695 This is purely to save memory - each supported CPU adds
696 approximately eight kilobytes to the kernel image.
697
Paul Mundt91b91d02006-09-27 18:08:33 +0900698source "kernel/Kconfig.preempt"
699
Paul Mundt83662462007-09-28 16:04:49 +0900700config GUSA
701 def_bool y
Stuart Menefy1efe4ce2007-11-30 16:12:36 +0900702 depends on !SMP && SUPERH32
Paul Mundt83662462007-09-28 16:04:49 +0900703 help
704 This enables support for gUSA (general UserSpace Atomicity).
705 This is the default implementation for both UP and non-ll/sc
706 CPUs, and is used by the libc, amongst others.
707
708 For additional information, design information can be found
709 in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
710
711 This should only be disabled for special cases where alternate
712 atomicity implementations exist.
713
Stuart Menefy1efe4ce2007-11-30 16:12:36 +0900714config GUSA_RB
715 bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)"
716 depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A)
717 help
718 Enabling this option will allow the kernel to implement some
719 atomic operations using a software implemention of load-locked/
720 store-conditional (LLSC). On machines which do not have hardware
721 LLSC, this should be more efficient than the other alternative of
722 disabling insterrupts around the atomic sequence.
723
Paul Mundtcad82442006-01-16 22:14:19 -0800724endmenu
725
726menu "Boot options"
727
728config ZERO_PAGE_OFFSET
729 hex "Zero page offset"
730 default "0x00004000" if SH_MPC1211 || SH_SH03
Paul Mundt7a847f82006-12-26 15:29:19 +0900731 default "0x00010000" if PAGE_SIZE_64KB
732 default "0x00002000" if PAGE_SIZE_8KB
Paul Mundtcad82442006-01-16 22:14:19 -0800733 default "0x00001000"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700734 help
Paul Mundtcad82442006-01-16 22:14:19 -0800735 This sets the default offset of zero page.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700736
Paul Mundtcad82442006-01-16 22:14:19 -0800737config BOOT_LINK_OFFSET
738 hex "Link address offset for booting"
739 default "0x00800000"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700740 help
Paul Mundtcad82442006-01-16 22:14:19 -0800741 This option allows you to set the link address offset of the zImage.
742 This can be useful if you are on a board which has a small amount of
743 memory.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700744
Paul Mundtcad82442006-01-16 22:14:19 -0800745config UBC_WAKEUP
746 bool "Wakeup UBC on startup"
Paul Mundt0e3a9aa2007-11-06 15:55:36 +0900747 depends on CPU_SH4 && !CPU_SH4A
Paul Mundtcad82442006-01-16 22:14:19 -0800748 help
749 Selecting this option will wakeup the User Break Controller (UBC) on
750 startup. Although the UBC is left in an awake state when the processor
751 comes up, some boot loaders misbehave by putting the UBC to sleep in a
752 power saving state, which causes issues with things like ptrace().
Linus Torvalds1da177e2005-04-16 15:20:36 -0700753
754 If unsure, say N.
755
Paul Mundtcad82442006-01-16 22:14:19 -0800756config CMDLINE_BOOL
757 bool "Default bootloader kernel arguments"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700758
Paul Mundtcad82442006-01-16 22:14:19 -0800759config CMDLINE
760 string "Initial kernel command string"
761 depends on CMDLINE_BOOL
762 default "console=ttySC1,115200"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700763
764endmenu
765
Paul Mundtcad82442006-01-16 22:14:19 -0800766menu "Bus options"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700767
768# Even on SuperH devices which don't have an ISA bus,
769# this variable helps the PCMCIA modules handle
770# IRQ requesting properly -- Greg Banks.
771#
772# Though we're generally not interested in it when
773# we're not using PCMCIA, so we make it dependent on
774# PCMCIA outright. -- PFM.
775config ISA
Paul Mundt357d5942007-06-11 15:32:07 +0900776 def_bool y
777 depends on PCMCIA && HD6446X_SERIES
Linus Torvalds1da177e2005-04-16 15:20:36 -0700778 help
779 Find out whether you have ISA slots on your motherboard. ISA is the
780 name of a bus system, i.e. the way the CPU talks to the other stuff
781 inside your box. Other bus systems are PCI, EISA, MicroChannel
782 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
783 newer boards don't support it. If you have ISA, say Y, otherwise N.
784
785config EISA
786 bool
787 ---help---
788 The Extended Industry Standard Architecture (EISA) bus was
789 developed as an open alternative to the IBM MicroChannel bus.
790
791 The EISA bus provided some of the features of the IBM MicroChannel
792 bus while maintaining backward compatibility with cards made for
793 the older ISA bus. The EISA bus saw limited use between 1988 and
794 1995 when it was made obsolete by the PCI bus.
795
796 Say Y here if you are building a kernel for an EISA-based machine.
797
798 Otherwise, say N.
799
800config MCA
801 bool
802 help
803 MicroChannel Architecture is found in some IBM PS/2 machines and
804 laptops. It is a bus system similar to PCI or ISA. See
805 <file:Documentation/mca.txt> (and especially the web page given
806 there) before attempting to build an MCA bus kernel.
807
808config SBUS
809 bool
810
Paul Mundtcad82442006-01-16 22:14:19 -0800811config SUPERHYWAY
812 tristate "SuperHyway Bus support"
813 depends on CPU_SUBTYPE_SH4_202
Linus Torvalds1da177e2005-04-16 15:20:36 -0700814
Adrian McMenamin17be2d22007-09-21 15:55:55 +0900815config MAPLE
816 bool "Maple Bus support"
817 depends on SH_DREAMCAST
818 help
819 The Maple Bus is SEGA's serial communication bus for peripherals
820 on the Dreamcast. Without this bus support you won't be able to
821 get your Dreamcast keyboard etc to work, so most users
822 probably want to say 'Y' here, unless you are only using the
823 Dreamcast with a serial line terminal or a remote network
824 connection.
825
Paul Mundt824e55f2007-06-20 18:01:52 +0900826config CF_ENABLER
827 bool "Compact Flash Enabler support"
828 depends on SOLUTION_ENGINE || SH_SH03
829 ---help---
830 Compact Flash is a small, removable mass storage device introduced
831 in 1994 originally as a PCMCIA device. If you say `Y' here, you
832 compile in support for Compact Flash devices directly connected to
833 a SuperH processor. A Compact Flash FAQ is available at
834 <http://www.compactflash.org/faqs/faq.htm>.
835
836 If your board has "Directly Connected" CompactFlash at area 5 or 6,
837 you may want to enable this option. Then, you can use CF as
838 primary IDE drive (only tested for SanDisk).
839
840 If in doubt, select 'N'.
841
842choice
843 prompt "Compact Flash Connection Area"
844 depends on CF_ENABLER
845 default CF_AREA6
846
847config CF_AREA5
848 bool "Area5"
849 help
850 If your board has "Directly Connected" CompactFlash, You should
851 select the area where your CF is connected to.
852
853 - "Area5" if CompactFlash is connected to Area 5 (0x14000000)
854 - "Area6" if it is connected to Area 6 (0x18000000)
855
856 "Area6" will work for most boards.
857
858config CF_AREA6
859 bool "Area6"
860
861endchoice
862
863config CF_BASE_ADDR
864 hex
865 depends on CF_ENABLER
866 default "0xb8000000" if CF_AREA6
867 default "0xb4000000" if CF_AREA5
868
Linus Torvalds1da177e2005-04-16 15:20:36 -0700869source "arch/sh/drivers/pci/Kconfig"
870
871source "drivers/pci/Kconfig"
872
873source "drivers/pcmcia/Kconfig"
874
875source "drivers/pci/hotplug/Kconfig"
876
877endmenu
878
879menu "Executable file formats"
880
881source "fs/Kconfig.binfmt"
882
883endmenu
884
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900885menu "Power management options (EXPERIMENTAL)"
Paul Mundt357d5942007-06-11 15:32:07 +0900886depends on EXPERIMENTAL && SYS_SUPPORTS_PM
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900887
Johannes Bergf4cb5702007-12-08 02:14:00 +0100888config ARCH_SUSPEND_POSSIBLE
889 def_bool y
890 depends on !SMP
891
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900892source kernel/power/Kconfig
893
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900894endmenu
895
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700896source "net/Kconfig"
897
Linus Torvalds1da177e2005-04-16 15:20:36 -0700898source "drivers/Kconfig"
899
900source "fs/Kconfig"
901
Linus Torvalds1da177e2005-04-16 15:20:36 -0700902source "arch/sh/Kconfig.debug"
903
904source "security/Kconfig"
905
906source "crypto/Kconfig"
907
908source "lib/Kconfig"