blob: f645f8416f1c3c6d28d7177e27ae36d41a5e7eec [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# For a description of the syntax of this configuration file,
3# see Documentation/kbuild/kconfig-language.txt.
4#
5
6mainmenu "Linux/SuperH Kernel Configuration"
7
8config SUPERH
Paul Mundtea0e1a92007-11-21 15:58:01 +09009 def_bool y
Paul Mundt7a440c92006-09-27 18:18:31 +090010 select EMBEDDED
Linus Torvalds1da177e2005-04-16 15:20:36 -070011 help
12 The SuperH is a RISC processor targeted for use in embedded systems
13 and consumer electronics; it was also used in the Sega Dreamcast
14 gaming console. The SuperH port has a home page at
15 <http://www.linux-sh.org/>.
16
Paul Mundt39d28a22007-11-08 18:39:33 +090017config SUPERH32
Paul Mundtea0e1a92007-11-21 15:58:01 +090018 def_bool !SUPERH64
19
20config SUPERH64
21 def_bool y if CPU_SH5
Paul Mundt39d28a22007-11-08 18:39:33 +090022
Linus Torvalds1da177e2005-04-16 15:20:36 -070023config RWSEM_GENERIC_SPINLOCK
24 bool
25 default y
26
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
35 bool
36 default y
37
38config GENERIC_HWEIGHT
39 bool
40 default y
41
Linus Torvalds1da177e2005-04-16 15:20:36 -070042config GENERIC_HARDIRQS
43 bool
44 default y
45
46config GENERIC_IRQ_PROBE
47 bool
48 default y
49
50config GENERIC_CALIBRATE_DELAY
51 bool
52 default y
53
Paul Mundtcad82442006-01-16 22:14:19 -080054config GENERIC_IOMAP
55 bool
56
Paul Mundt45882142006-10-04 13:21:45 +090057config GENERIC_TIME
58 def_bool n
59
Paul Mundt57be2b42007-05-09 17:33:24 +090060config GENERIC_CLOCKEVENTS
61 def_bool n
62
Paul Mundt357d5942007-06-11 15:32:07 +090063config SYS_SUPPORTS_PM
64 bool
65
Paul Mundt0a9b0db2007-01-24 21:56:20 +090066config SYS_SUPPORTS_APM_EMULATION
67 bool
Paul Mundt357d5942007-06-11 15:32:07 +090068 select SYS_SUPPORTS_PM
69
70config SYS_SUPPORTS_SMP
71 bool
72
73config SYS_SUPPORTS_NUMA
74 bool
75
76config SYS_SUPPORTS_PCI
77 bool
Paul Mundt0a9b0db2007-01-24 21:56:20 +090078
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010079config ARCH_MAY_HAVE_PC_FDC
80 bool
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010081
Paul Mundtafbfb522006-12-04 18:17:28 +090082config STACKTRACE_SUPPORT
83 bool
84 default y
85
86config LOCKDEP_SUPPORT
87 bool
88 default y
89
David Howellsf0d1b0b2006-12-08 02:37:49 -080090config ARCH_HAS_ILOG2_U32
91 bool
92 default n
93
94config ARCH_HAS_ILOG2_U64
95 bool
96 default n
97
Paul Mundte257ad02007-07-25 11:18:00 +090098config ARCH_NO_VIRT_TO_BUS
99 def_bool y
100
Linus Torvalds1da177e2005-04-16 15:20:36 -0700101source "init/Kconfig"
102
103menu "System type"
104
Paul Mundtb5f42db2007-11-08 18:38:14 +0900105#
106# Processor families
107#
108config CPU_SH2
109 bool
110
111config CPU_SH2A
112 bool
113 select CPU_SH2
114
115config CPU_SH3
116 bool
117 select CPU_HAS_INTEVT
118 select CPU_HAS_SR_RB
119
120config CPU_SH4
121 bool
122 select CPU_HAS_INTEVT
123 select CPU_HAS_SR_RB
124 select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2
125 select CPU_HAS_FPU if !CPU_SH4AL_DSP
126
127config CPU_SH4A
128 bool
129 select CPU_SH4
130
131config CPU_SH4AL_DSP
132 bool
133 select CPU_SH4A
134 select CPU_HAS_DSP
135
Paul Mundtea0e1a92007-11-21 15:58:01 +0900136config CPU_SH5
137 bool
138 select CPU_HAS_FPU
139
Paul Mundtb5f42db2007-11-08 18:38:14 +0900140config CPU_SHX2
141 bool
142
143config CPU_SHX3
144 bool
145
146choice
147 prompt "Processor sub-type selection"
148
149#
150# Processor subtypes
151#
152
153# SH-2 Processor Support
154
155config CPU_SUBTYPE_SH7619
156 bool "Support SH7619 processor"
157 select CPU_SH2
158
159# SH-2A Processor Support
160
Paul Mundt6d01f512007-11-26 18:17:21 +0900161config CPU_SUBTYPE_SH7203
162 bool "Support SH7203 processor"
163 select CPU_SH2A
Paul Mundt74d99a52007-11-26 20:38:36 +0900164 select CPU_HAS_FPU
Paul Mundt6d01f512007-11-26 18:17:21 +0900165
Paul Mundtb5f42db2007-11-08 18:38:14 +0900166config CPU_SUBTYPE_SH7206
167 bool "Support SH7206 processor"
168 select CPU_SH2A
169
Paul Mundta8f67f42007-11-26 19:54:02 +0900170config CPU_SUBTYPE_SH7263
171 bool "Support SH7263 processor"
172 select CPU_SH2A
Paul Mundt74d99a52007-11-26 20:38:36 +0900173 select CPU_HAS_FPU
Paul Mundta8f67f42007-11-26 19:54:02 +0900174
Paul Mundtb5f42db2007-11-08 18:38:14 +0900175# SH-3 Processor Support
176
177config CPU_SUBTYPE_SH7705
178 bool "Support SH7705 processor"
179 select CPU_SH3
180
181config CPU_SUBTYPE_SH7706
182 bool "Support SH7706 processor"
183 select CPU_SH3
184 help
185 Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
186
187config CPU_SUBTYPE_SH7707
188 bool "Support SH7707 processor"
189 select CPU_SH3
190 help
191 Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU.
192
193config CPU_SUBTYPE_SH7708
194 bool "Support SH7708 processor"
195 select CPU_SH3
196 help
197 Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or
198 if you have a 100 Mhz SH-3 HD6417708R CPU.
199
200config CPU_SUBTYPE_SH7709
201 bool "Support SH7709 processor"
202 select CPU_SH3
203 help
204 Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU.
205
206config CPU_SUBTYPE_SH7710
207 bool "Support SH7710 processor"
208 select CPU_SH3
209 select CPU_HAS_DSP
210 help
211 Select SH7710 if you have a SH3-DSP SH7710 CPU.
212
213config CPU_SUBTYPE_SH7712
214 bool "Support SH7712 processor"
215 select CPU_SH3
216 select CPU_HAS_DSP
217 help
218 Select SH7712 if you have a SH3-DSP SH7712 CPU.
219
220config CPU_SUBTYPE_SH7720
221 bool "Support SH7720 processor"
222 select CPU_SH3
223 select CPU_HAS_DSP
224 help
225 Select SH7720 if you have a SH3-DSP SH7720 CPU.
226
227# SH-4 Processor Support
228
229config CPU_SUBTYPE_SH7750
230 bool "Support SH7750 processor"
231 select CPU_SH4
232 help
233 Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
234
235config CPU_SUBTYPE_SH7091
236 bool "Support SH7091 processor"
237 select CPU_SH4
238 help
239 Select SH7091 if you have an SH-4 based Sega device (such as
240 the Dreamcast, Naomi, and Naomi 2).
241
242config CPU_SUBTYPE_SH7750R
243 bool "Support SH7750R processor"
244 select CPU_SH4
245
246config CPU_SUBTYPE_SH7750S
247 bool "Support SH7750S processor"
248 select CPU_SH4
249
250config CPU_SUBTYPE_SH7751
251 bool "Support SH7751 processor"
252 select CPU_SH4
253 help
254 Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
255 or if you have a HD6417751R CPU.
256
257config CPU_SUBTYPE_SH7751R
258 bool "Support SH7751R processor"
259 select CPU_SH4
260
261config CPU_SUBTYPE_SH7760
262 bool "Support SH7760 processor"
263 select CPU_SH4
264
265config CPU_SUBTYPE_SH4_202
266 bool "Support SH4-202 processor"
267 select CPU_SH4
268
269# SH-4A Processor Support
270
271config CPU_SUBTYPE_SH7770
272 bool "Support SH7770 processor"
273 select CPU_SH4A
274
275config CPU_SUBTYPE_SH7780
276 bool "Support SH7780 processor"
277 select CPU_SH4A
278
279config CPU_SUBTYPE_SH7785
280 bool "Support SH7785 processor"
281 select CPU_SH4A
282 select CPU_SHX2
283 select ARCH_SPARSEMEM_ENABLE
284 select SYS_SUPPORTS_NUMA
285
286config CPU_SUBTYPE_SHX3
287 bool "Support SH-X3 processor"
288 select CPU_SH4A
289 select CPU_SHX3
290 select ARCH_SPARSEMEM_ENABLE
291 select SYS_SUPPORTS_NUMA
292 select SYS_SUPPORTS_SMP
293
294# SH4AL-DSP Processor Support
295
296config CPU_SUBTYPE_SH7343
297 bool "Support SH7343 processor"
298 select CPU_SH4AL_DSP
299
300config CPU_SUBTYPE_SH7722
301 bool "Support SH7722 processor"
302 select CPU_SH4AL_DSP
303 select CPU_SHX2
304 select ARCH_SPARSEMEM_ENABLE
305 select SYS_SUPPORTS_NUMA
306
Paul Mundtea0e1a92007-11-21 15:58:01 +0900307# SH-5 Processor Support
308
309config CPU_SUBTYPE_SH5_101
310 bool "Support SH5-101 processor"
311 select CPU_SH5
312
313config CPU_SUBTYPE_SH5_103
314 bool "Support SH5-103 processor"
315
Paul Mundtb5f42db2007-11-08 18:38:14 +0900316endchoice
317
Paul Mundtcad82442006-01-16 22:14:19 -0800318source "arch/sh/mm/Kconfig"
Paul Mundt4690bdc2007-11-09 13:45:42 +0900319source "arch/sh/Kconfig.cpu"
Paul Mundtcad82442006-01-16 22:14:19 -0800320
Paul Mundtf3d22292007-05-14 17:29:12 +0900321menu "Board support"
322
323config SOLUTION_ENGINE
324 bool
325
326config SH_SOLUTION_ENGINE
327 bool "SolutionEngine"
328 select SOLUTION_ENGINE
Magnus Damm56386f62007-07-20 18:44:49 +0900329 select CPU_HAS_IPR_IRQ
Nobuhiro Iwamatsua8199072007-11-05 07:44:41 +0900330 depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \
331 CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \
332 CPU_SUBTYPE_SH7750R
Paul Mundtf3d22292007-05-14 17:29:12 +0900333 help
Nobuhiro Iwamatsua8199072007-11-05 07:44:41 +0900334 Select SolutionEngine if configuring for a Hitachi SH7705, SH7709,
335 SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board.
Paul Mundtf3d22292007-05-14 17:29:12 +0900336
337config SH_7206_SOLUTION_ENGINE
338 bool "SolutionEngine7206"
339 select SOLUTION_ENGINE
340 depends on CPU_SUBTYPE_SH7206
341 help
342 Select 7206 SolutionEngine if configuring for a Hitachi SH7206
343 evaluation board.
344
345config SH_7619_SOLUTION_ENGINE
346 bool "SolutionEngine7619"
347 select SOLUTION_ENGINE
348 depends on CPU_SUBTYPE_SH7619
349 help
350 Select 7619 SolutionEngine if configuring for a Hitachi SH7619
351 evaluation board.
352
353config SH_7722_SOLUTION_ENGINE
354 bool "SolutionEngine7722"
355 select SOLUTION_ENGINE
356 depends on CPU_SUBTYPE_SH7722
357 help
358 Select 7722 SolutionEngine if configuring for a Hitachi SH772
359 evaluation board.
360
361config SH_7751_SOLUTION_ENGINE
362 bool "SolutionEngine7751"
363 select SOLUTION_ENGINE
Magnus Damm56386f62007-07-20 18:44:49 +0900364 select CPU_HAS_IPR_IRQ
Paul Mundtf3d22292007-05-14 17:29:12 +0900365 depends on CPU_SUBTYPE_SH7751
366 help
367 Select 7751 SolutionEngine if configuring for a Hitachi SH7751
368 evaluation board.
369
370config SH_7780_SOLUTION_ENGINE
371 bool "SolutionEngine7780"
372 select SOLUTION_ENGINE
Paul Mundt357d5942007-06-11 15:32:07 +0900373 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900374 depends on CPU_SUBTYPE_SH7780
375 help
376 Select 7780 SolutionEngine if configuring for a Renesas SH7780
377 evaluation board.
378
Paul Mundtf3d22292007-05-14 17:29:12 +0900379config SH_7343_SOLUTION_ENGINE
380 bool "SolutionEngine7343"
381 select SOLUTION_ENGINE
382 depends on CPU_SUBTYPE_SH7343
383 help
384 Select 7343 SolutionEngine if configuring for a Hitachi
385 SH7343 (SH-Mobile 3AS) evaluation board.
386
Paul Mundtf3d22292007-05-14 17:29:12 +0900387config SH_7751_SYSTEMH
388 bool "SystemH7751R"
389 depends on CPU_SUBTYPE_SH7751R
390 help
391 Select SystemH if you are configuring for a Renesas SystemH
392 7751R evaluation board.
393
394config SH_HP6XX
395 bool "HP6XX"
396 select SYS_SUPPORTS_APM_EMULATION
Paul Mundt357d5942007-06-11 15:32:07 +0900397 select HD6446X_SERIES
Paul Mundtf3d22292007-05-14 17:29:12 +0900398 depends on CPU_SUBTYPE_SH7709
399 help
400 Select HP6XX if configuring for a HP jornada HP6xx.
401 More information (hardware only) at
402 <http://www.hp.com/jornada/>.
403
Paul Mundtf3d22292007-05-14 17:29:12 +0900404config SH_DREAMCAST
405 bool "Dreamcast"
Paul Mundt357d5942007-06-11 15:32:07 +0900406 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900407 depends on CPU_SUBTYPE_SH7091
408 help
409 Select Dreamcast if configuring for a SEGA Dreamcast.
Adrian McMenaminad07b102007-10-15 10:38:31 +0900410 More information at <http://www.linux-sh.org>
Paul Mundtf3d22292007-05-14 17:29:12 +0900411
412config SH_MPC1211
413 bool "Interface MPC1211"
414 depends on CPU_SUBTYPE_SH7751 && BROKEN
415 help
416 CTP/PCI-SH02 is a CPU module computer that is produced
417 by Interface Corporation.
418 More information at <http://www.interface.co.jp>
419
420config SH_SH03
421 bool "Interface CTP/PCI-SH03"
Magnus Dammd59645d2007-08-03 14:23:35 +0900422 depends on CPU_SUBTYPE_SH7751
Magnus Damm56386f62007-07-20 18:44:49 +0900423 select CPU_HAS_IPR_IRQ
Paul Mundt357d5942007-06-11 15:32:07 +0900424 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900425 help
426 CTP/PCI-SH03 is a CPU module computer that is produced
427 by Interface Corporation.
428 More information at <http://www.interface.co.jp>
429
430config SH_SECUREEDGE5410
431 bool "SecureEdge5410"
432 depends on CPU_SUBTYPE_SH7751R
Magnus Damm56386f62007-07-20 18:44:49 +0900433 select CPU_HAS_IPR_IRQ
Paul Mundt357d5942007-06-11 15:32:07 +0900434 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900435 help
436 Select SecureEdge5410 if configuring for a SnapGear SH board.
437 This includes both the OEM SecureEdge products as well as the
438 SME product line.
439
440config SH_HS7751RVOIP
441 bool "HS7751RVOIP"
442 depends on CPU_SUBTYPE_SH7751R
443 help
444 Select HS7751RVOIP if configuring for a Renesas Technology
445 Sales VoIP board.
446
447config 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
462config SH_HIGHLANDER
463 bool "Highlander"
464 depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
Paul Mundt357d5942007-06-11 15:32:07 +0900465 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900466
467config SH_EDOSK7705
468 bool "EDOSK7705"
469 depends on CPU_SUBTYPE_SH7705
470
471config SH_SH4202_MICRODEV
472 bool "SH4-202 MicroDev"
473 depends on CPU_SUBTYPE_SH4_202
474 help
475 Select SH4-202 MicroDev if configuring for a SuperH MicroDev board
476 with an SH4-202 CPU.
477
478config SH_LANDISK
479 bool "LANDISK"
480 depends on CPU_SUBTYPE_SH7751R
Paul Mundt357d5942007-06-11 15:32:07 +0900481 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900482 help
483 I-O DATA DEVICE, INC. "LANDISK Series" support.
484
485config SH_TITAN
486 bool "TITAN"
487 depends on CPU_SUBTYPE_SH7751R
Magnus Damm56386f62007-07-20 18:44:49 +0900488 select CPU_HAS_IPR_IRQ
Paul Mundt357d5942007-06-11 15:32:07 +0900489 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900490 help
491 Select Titan if you are configuring for a Nimble Microsystems
492 NetEngine NP51R.
493
494config SH_SHMIN
495 bool "SHMIN"
496 depends on CPU_SUBTYPE_SH7706
Magnus Damm56386f62007-07-20 18:44:49 +0900497 select CPU_HAS_IPR_IRQ
Paul Mundtf3d22292007-05-14 17:29:12 +0900498 help
499 Select SHMIN if configuring for the SHMIN board.
500
501config SH_LBOX_RE2
502 bool "L-BOX RE2"
503 depends on CPU_SUBTYPE_SH7751R
Paul Mundt357d5942007-06-11 15:32:07 +0900504 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900505 help
506 Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2.
507
Paul Mundt94807a32007-08-08 15:22:04 +0900508config SH_X3PROTO
509 bool "SH-X3 Prototype board"
510 depends on CPU_SUBTYPE_SHX3
511
Markus Brunnerded54312007-09-12 11:54:58 +0900512config SH_MAGIC_PANEL_R2
513 bool "Magic Panel R2"
514 depends on CPU_SUBTYPE_SH7720
515 help
516 Select Magic Panel R2 if configuring for Magic Panel R2.
517
Paul Mundtea0e1a92007-11-21 15:58:01 +0900518config SH_CAYMAN
519 bool "Hitachi Cayman"
520 depends on CPU_SUBTYPE_SH5_101 || CPU_SUBTYPE_SH5_103
Paul Mundtb6d7b662007-11-22 16:29:10 +0900521 select SYS_SUPPORTS_PCI
Paul Mundtea0e1a92007-11-21 15:58:01 +0900522
Paul Mundtf3d22292007-05-14 17:29:12 +0900523endmenu
524
525source "arch/sh/boards/renesas/hs7751rvoip/Kconfig"
526source "arch/sh/boards/renesas/rts7751r2d/Kconfig"
527source "arch/sh/boards/renesas/r7780rp/Kconfig"
Markus Brunnerded54312007-09-12 11:54:58 +0900528source "arch/sh/boards/magicpanelr2/Kconfig"
Paul Mundtf3d22292007-05-14 17:29:12 +0900529
Paul Mundt32351a22007-03-12 14:38:59 +0900530menu "Timer and clock configuration"
531
Paul Mundtcad82442006-01-16 22:14:19 -0800532config SH_TMU
533 bool "TMU timer support"
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900534 depends on CPU_SH3 || CPU_SH4
Paul Mundt57be2b42007-05-09 17:33:24 +0900535 select GENERIC_TIME
536 select GENERIC_CLOCKEVENTS
Paul Mundtcad82442006-01-16 22:14:19 -0800537 default y
538 help
539 This enables the use of the TMU as the system timer.
540
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900541config SH_CMT
542 bool "CMT timer support"
543 depends on CPU_SH2
544 default y
545 help
546 This enables the use of the CMT as the system timer.
547
548config SH_MTU2
549 bool "MTU2 timer support"
550 depends on CPU_SH2A
551 default n
552 help
553 This enables the use of the MTU2 as the system timer.
554
Paul Mundt417528a2006-11-20 11:18:30 +0900555config SH_TIMER_IRQ
556 int
Paul Mundt32351a22007-03-12 14:38:59 +0900557 default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
Paul Mundt417528a2006-11-20 11:18:30 +0900558 default "86" if CPU_SUBTYPE_SH7619
559 default "140" if CPU_SUBTYPE_SH7206
560 default "16"
561
Paul Mundtcad82442006-01-16 22:14:19 -0800562config SH_PCLK_FREQ
563 int "Peripheral clock frequency (in Hz)"
Magnus Damm870e8a22007-07-25 10:49:21 +0900564 default "27000000" if CPU_SUBTYPE_SH7343
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900565 default "31250000" if CPU_SUBTYPE_SH7619
Paul Mundt05627482007-05-15 16:25:47 +0900566 default "32000000" if CPU_SUBTYPE_SH7722
Magnus Dammd89ddd12007-07-25 11:42:56 +0900567 default "33333333" if CPU_SUBTYPE_SH7770 || \
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900568 CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
Paul Mundta8f67f42007-11-26 19:54:02 +0900569 CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \
570 CPU_SUBTYPE_SH7263
Paul Mundt05627482007-05-15 16:25:47 +0900571 default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
Paul Mundtcad82442006-01-16 22:14:19 -0800572 default "66000000" if CPU_SUBTYPE_SH4_202
Paul Mundt05627482007-05-15 16:25:47 +0900573 default "50000000"
Paul Mundtcad82442006-01-16 22:14:19 -0800574 help
575 This option is used to specify the peripheral clock frequency.
576 This is necessary for determining the reference clock value on
577 platforms lacking an RTC.
578
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900579config SH_CLK_MD
580 int "CPU Mode Pin Setting"
Paul Mundt6d01f512007-11-26 18:17:21 +0900581 depends on CPU_SH2
Paul Mundt357d5942007-06-11 15:32:07 +0900582 default 6 if CPU_SUBTYPE_SH7206
583 default 5 if CPU_SUBTYPE_SH7619
584 default 0
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900585 help
Yoshinori Sato11cbb702006-12-07 18:07:27 +0900586 MD2 - MD0 pin setting.
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900587
Paul Mundt57be2b42007-05-09 17:33:24 +0900588source "kernel/time/Kconfig"
589
Paul Mundt32351a22007-03-12 14:38:59 +0900590endmenu
591
Paul Mundtcad82442006-01-16 22:14:19 -0800592menu "CPU Frequency scaling"
593
594source "drivers/cpufreq/Kconfig"
595
596config SH_CPU_FREQ
597 tristate "SuperH CPU Frequency driver"
Paul Mundtcb5ec752007-07-20 13:38:19 +0900598 depends on CPU_FREQ
Paul Mundtcad82442006-01-16 22:14:19 -0800599 select CPU_FREQ_TABLE
600 help
601 This adds the cpufreq driver for SuperH. At present, only
602 the SH-4 is supported.
603
604 For details, take a look at <file:Documentation/cpu-freq>.
605
606 If unsure, say N.
607
608endmenu
609
Paul Mundt9f5e8ee2006-11-24 11:22:57 +0900610source "arch/sh/drivers/Kconfig"
611
Paul Mundtcad82442006-01-16 22:14:19 -0800612endmenu
613
614config ISA_DMA_API
615 bool
Adrian Bunk05efc672006-02-17 13:52:42 -0800616 depends on SH_MPC1211
Paul Mundtcad82442006-01-16 22:14:19 -0800617 default y
618
619menu "Kernel features"
620
Paul Mundt91b91d02006-09-27 18:08:33 +0900621source kernel/Kconfig.hz
622
Paul Mundtcad82442006-01-16 22:14:19 -0800623config KEXEC
624 bool "kexec system call (EXPERIMENTAL)"
625 depends on EXPERIMENTAL
626 help
627 kexec is a system call that implements the ability to shutdown your
628 current kernel, and to start another kernel. It is like a reboot
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400629 but it is independent of the system firmware. And like a reboot
Paul Mundtcad82442006-01-16 22:14:19 -0800630 you can start any kernel with it, not just Linux.
631
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400632 The name comes from the similarity to the exec system call.
Paul Mundtcad82442006-01-16 22:14:19 -0800633
634 It is an ongoing process to be certain the hardware in a machine
635 is properly shutdown, so do not be surprised if this code does not
636 initially work for you. It may help to enable device hotplugging
637 support. As of this writing the exact hardware interface is
638 strongly in flux, so no good recommendation can be made.
639
Paul Mundt4d5ade52007-04-27 11:25:57 +0900640config CRASH_DUMP
641 bool "kernel crash dumps (EXPERIMENTAL)"
642 depends on EXPERIMENTAL
643 help
644 Generate crash dump after being started by kexec.
645 This should be normally only set in special crash dump kernels
646 which are loaded in the main kernel with kexec-tools into
647 a specially reserved region and then later executed after
648 a crash by kdump/kexec. The crash dump kernel must be compiled
649 to a memory address not used by the main kernel using
650 MEMORY_START.
651
652 For more details see Documentation/kdump/kdump.txt
653
Linus Torvalds1da177e2005-04-16 15:20:36 -0700654config SMP
655 bool "Symmetric multi-processing support"
Paul Mundt357d5942007-06-11 15:32:07 +0900656 depends on SYS_SUPPORTS_SMP
Linus Torvalds1da177e2005-04-16 15:20:36 -0700657 ---help---
658 This enables support for systems with more than one CPU. If you have
659 a system with only one CPU, like most personal computers, say N. If
660 you have a system with more than one CPU, say Y.
661
662 If you say N here, the kernel will run on single and multiprocessor
663 machines, but will use only one CPU of a multiprocessor machine. If
664 you say Y here, the kernel will run on many, but not all,
665 singleprocessor machines. On a singleprocessor machine, the kernel
666 will run faster if you say N here.
667
668 People using multiprocessor machines who say Y here should also say
669 Y to "Enhanced Real Time Clock Support", below.
670
671 See also the <file:Documentation/smp.txt>,
672 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available
673 at <http://www.tldp.org/docs.html#howto>.
674
675 If you don't know what to do here, say N.
676
677config NR_CPUS
678 int "Maximum number of CPUs (2-32)"
679 range 2 32
680 depends on SMP
Paul Mundt2b1bd1a2007-06-20 18:27:10 +0900681 default "4" if CPU_SHX3
Linus Torvalds1da177e2005-04-16 15:20:36 -0700682 default "2"
683 help
684 This allows you to specify the maximum number of CPUs which this
685 kernel will support. The maximum supported value is 32 and the
686 minimum value which makes sense is 2.
687
688 This is purely to save memory - each supported CPU adds
689 approximately eight kilobytes to the kernel image.
690
Paul Mundt91b91d02006-09-27 18:08:33 +0900691source "kernel/Kconfig.preempt"
692
Paul Mundt83662462007-09-28 16:04:49 +0900693config GUSA
694 def_bool y
Stuart Menefy1efe4ce2007-11-30 16:12:36 +0900695 depends on !SMP && SUPERH32
Paul Mundt83662462007-09-28 16:04:49 +0900696 help
697 This enables support for gUSA (general UserSpace Atomicity).
698 This is the default implementation for both UP and non-ll/sc
699 CPUs, and is used by the libc, amongst others.
700
701 For additional information, design information can be found
702 in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
703
704 This should only be disabled for special cases where alternate
705 atomicity implementations exist.
706
Stuart Menefy1efe4ce2007-11-30 16:12:36 +0900707config GUSA_RB
708 bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)"
709 depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A)
710 help
711 Enabling this option will allow the kernel to implement some
712 atomic operations using a software implemention of load-locked/
713 store-conditional (LLSC). On machines which do not have hardware
714 LLSC, this should be more efficient than the other alternative of
715 disabling insterrupts around the atomic sequence.
716
Paul Mundtcad82442006-01-16 22:14:19 -0800717endmenu
718
719menu "Boot options"
720
721config ZERO_PAGE_OFFSET
722 hex "Zero page offset"
723 default "0x00004000" if SH_MPC1211 || SH_SH03
Paul Mundt7a847f82006-12-26 15:29:19 +0900724 default "0x00010000" if PAGE_SIZE_64KB
725 default "0x00002000" if PAGE_SIZE_8KB
Paul Mundtcad82442006-01-16 22:14:19 -0800726 default "0x00001000"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700727 help
Paul Mundtcad82442006-01-16 22:14:19 -0800728 This sets the default offset of zero page.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700729
Paul Mundtcad82442006-01-16 22:14:19 -0800730config BOOT_LINK_OFFSET
731 hex "Link address offset for booting"
732 default "0x00800000"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700733 help
Paul Mundtcad82442006-01-16 22:14:19 -0800734 This option allows you to set the link address offset of the zImage.
735 This can be useful if you are on a board which has a small amount of
736 memory.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700737
Paul Mundtcad82442006-01-16 22:14:19 -0800738config UBC_WAKEUP
739 bool "Wakeup UBC on startup"
Paul Mundt0e3a9aa2007-11-06 15:55:36 +0900740 depends on CPU_SH4 && !CPU_SH4A
Paul Mundtcad82442006-01-16 22:14:19 -0800741 help
742 Selecting this option will wakeup the User Break Controller (UBC) on
743 startup. Although the UBC is left in an awake state when the processor
744 comes up, some boot loaders misbehave by putting the UBC to sleep in a
745 power saving state, which causes issues with things like ptrace().
Linus Torvalds1da177e2005-04-16 15:20:36 -0700746
747 If unsure, say N.
748
Paul Mundtcad82442006-01-16 22:14:19 -0800749config CMDLINE_BOOL
750 bool "Default bootloader kernel arguments"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700751
Paul Mundtcad82442006-01-16 22:14:19 -0800752config CMDLINE
753 string "Initial kernel command string"
754 depends on CMDLINE_BOOL
755 default "console=ttySC1,115200"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700756
757endmenu
758
Paul Mundtcad82442006-01-16 22:14:19 -0800759menu "Bus options"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700760
761# Even on SuperH devices which don't have an ISA bus,
762# this variable helps the PCMCIA modules handle
763# IRQ requesting properly -- Greg Banks.
764#
765# Though we're generally not interested in it when
766# we're not using PCMCIA, so we make it dependent on
767# PCMCIA outright. -- PFM.
768config ISA
Paul Mundt357d5942007-06-11 15:32:07 +0900769 def_bool y
770 depends on PCMCIA && HD6446X_SERIES
Linus Torvalds1da177e2005-04-16 15:20:36 -0700771 help
772 Find out whether you have ISA slots on your motherboard. ISA is the
773 name of a bus system, i.e. the way the CPU talks to the other stuff
774 inside your box. Other bus systems are PCI, EISA, MicroChannel
775 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
776 newer boards don't support it. If you have ISA, say Y, otherwise N.
777
778config EISA
779 bool
780 ---help---
781 The Extended Industry Standard Architecture (EISA) bus was
782 developed as an open alternative to the IBM MicroChannel bus.
783
784 The EISA bus provided some of the features of the IBM MicroChannel
785 bus while maintaining backward compatibility with cards made for
786 the older ISA bus. The EISA bus saw limited use between 1988 and
787 1995 when it was made obsolete by the PCI bus.
788
789 Say Y here if you are building a kernel for an EISA-based machine.
790
791 Otherwise, say N.
792
793config MCA
794 bool
795 help
796 MicroChannel Architecture is found in some IBM PS/2 machines and
797 laptops. It is a bus system similar to PCI or ISA. See
798 <file:Documentation/mca.txt> (and especially the web page given
799 there) before attempting to build an MCA bus kernel.
800
801config SBUS
802 bool
803
Paul Mundtcad82442006-01-16 22:14:19 -0800804config SUPERHYWAY
805 tristate "SuperHyway Bus support"
806 depends on CPU_SUBTYPE_SH4_202
Linus Torvalds1da177e2005-04-16 15:20:36 -0700807
Adrian McMenamin17be2d22007-09-21 15:55:55 +0900808config MAPLE
809 bool "Maple Bus support"
810 depends on SH_DREAMCAST
811 help
812 The Maple Bus is SEGA's serial communication bus for peripherals
813 on the Dreamcast. Without this bus support you won't be able to
814 get your Dreamcast keyboard etc to work, so most users
815 probably want to say 'Y' here, unless you are only using the
816 Dreamcast with a serial line terminal or a remote network
817 connection.
818
Paul Mundt824e55f2007-06-20 18:01:52 +0900819config CF_ENABLER
820 bool "Compact Flash Enabler support"
821 depends on SOLUTION_ENGINE || SH_SH03
822 ---help---
823 Compact Flash is a small, removable mass storage device introduced
824 in 1994 originally as a PCMCIA device. If you say `Y' here, you
825 compile in support for Compact Flash devices directly connected to
826 a SuperH processor. A Compact Flash FAQ is available at
827 <http://www.compactflash.org/faqs/faq.htm>.
828
829 If your board has "Directly Connected" CompactFlash at area 5 or 6,
830 you may want to enable this option. Then, you can use CF as
831 primary IDE drive (only tested for SanDisk).
832
833 If in doubt, select 'N'.
834
835choice
836 prompt "Compact Flash Connection Area"
837 depends on CF_ENABLER
838 default CF_AREA6
839
840config CF_AREA5
841 bool "Area5"
842 help
843 If your board has "Directly Connected" CompactFlash, You should
844 select the area where your CF is connected to.
845
846 - "Area5" if CompactFlash is connected to Area 5 (0x14000000)
847 - "Area6" if it is connected to Area 6 (0x18000000)
848
849 "Area6" will work for most boards.
850
851config CF_AREA6
852 bool "Area6"
853
854endchoice
855
856config CF_BASE_ADDR
857 hex
858 depends on CF_ENABLER
859 default "0xb8000000" if CF_AREA6
860 default "0xb4000000" if CF_AREA5
861
Linus Torvalds1da177e2005-04-16 15:20:36 -0700862source "arch/sh/drivers/pci/Kconfig"
863
864source "drivers/pci/Kconfig"
865
866source "drivers/pcmcia/Kconfig"
867
868source "drivers/pci/hotplug/Kconfig"
869
870endmenu
871
872menu "Executable file formats"
873
874source "fs/Kconfig.binfmt"
875
876endmenu
877
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900878menu "Power management options (EXPERIMENTAL)"
Paul Mundt357d5942007-06-11 15:32:07 +0900879depends on EXPERIMENTAL && SYS_SUPPORTS_PM
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900880
881source kernel/power/Kconfig
882
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900883endmenu
884
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700885source "net/Kconfig"
886
Linus Torvalds1da177e2005-04-16 15:20:36 -0700887source "drivers/Kconfig"
888
889source "fs/Kconfig"
890
Mathieu Desnoyers09caded2007-10-18 23:41:05 -0700891source "kernel/Kconfig.instrumentation"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700892
893source "arch/sh/Kconfig.debug"
894
895source "security/Kconfig"
896
897source "crypto/Kconfig"
898
899source "lib/Kconfig"