blob: c18a5512ac82a7fbfb93ec18159053fa927e9238 [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
164
Paul Mundtb5f42db2007-11-08 18:38:14 +0900165config CPU_SUBTYPE_SH7206
166 bool "Support SH7206 processor"
167 select CPU_SH2A
168
Paul Mundta8f67f42007-11-26 19:54:02 +0900169config CPU_SUBTYPE_SH7263
170 bool "Support SH7263 processor"
171 select CPU_SH2A
172
Paul Mundtb5f42db2007-11-08 18:38:14 +0900173# SH-3 Processor Support
174
175config CPU_SUBTYPE_SH7705
176 bool "Support SH7705 processor"
177 select CPU_SH3
178
179config CPU_SUBTYPE_SH7706
180 bool "Support SH7706 processor"
181 select CPU_SH3
182 help
183 Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
184
185config CPU_SUBTYPE_SH7707
186 bool "Support SH7707 processor"
187 select CPU_SH3
188 help
189 Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU.
190
191config CPU_SUBTYPE_SH7708
192 bool "Support SH7708 processor"
193 select CPU_SH3
194 help
195 Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or
196 if you have a 100 Mhz SH-3 HD6417708R CPU.
197
198config CPU_SUBTYPE_SH7709
199 bool "Support SH7709 processor"
200 select CPU_SH3
201 help
202 Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU.
203
204config CPU_SUBTYPE_SH7710
205 bool "Support SH7710 processor"
206 select CPU_SH3
207 select CPU_HAS_DSP
208 help
209 Select SH7710 if you have a SH3-DSP SH7710 CPU.
210
211config CPU_SUBTYPE_SH7712
212 bool "Support SH7712 processor"
213 select CPU_SH3
214 select CPU_HAS_DSP
215 help
216 Select SH7712 if you have a SH3-DSP SH7712 CPU.
217
218config CPU_SUBTYPE_SH7720
219 bool "Support SH7720 processor"
220 select CPU_SH3
221 select CPU_HAS_DSP
222 help
223 Select SH7720 if you have a SH3-DSP SH7720 CPU.
224
225# 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
269config CPU_SUBTYPE_SH7770
270 bool "Support SH7770 processor"
271 select CPU_SH4A
272
273config CPU_SUBTYPE_SH7780
274 bool "Support SH7780 processor"
275 select CPU_SH4A
276
277config CPU_SUBTYPE_SH7785
278 bool "Support SH7785 processor"
279 select CPU_SH4A
280 select CPU_SHX2
281 select ARCH_SPARSEMEM_ENABLE
282 select SYS_SUPPORTS_NUMA
283
284config CPU_SUBTYPE_SHX3
285 bool "Support SH-X3 processor"
286 select CPU_SH4A
287 select CPU_SHX3
288 select ARCH_SPARSEMEM_ENABLE
289 select SYS_SUPPORTS_NUMA
290 select SYS_SUPPORTS_SMP
291
292# SH4AL-DSP Processor Support
293
294config CPU_SUBTYPE_SH7343
295 bool "Support SH7343 processor"
296 select CPU_SH4AL_DSP
297
298config CPU_SUBTYPE_SH7722
299 bool "Support SH7722 processor"
300 select CPU_SH4AL_DSP
301 select CPU_SHX2
302 select ARCH_SPARSEMEM_ENABLE
303 select SYS_SUPPORTS_NUMA
304
Paul Mundtea0e1a92007-11-21 15:58:01 +0900305# SH-5 Processor Support
306
307config CPU_SUBTYPE_SH5_101
308 bool "Support SH5-101 processor"
309 select CPU_SH5
310
311config CPU_SUBTYPE_SH5_103
312 bool "Support SH5-103 processor"
313
Paul Mundtb5f42db2007-11-08 18:38:14 +0900314endchoice
315
Paul Mundtcad82442006-01-16 22:14:19 -0800316source "arch/sh/mm/Kconfig"
Paul Mundt4690bdc2007-11-09 13:45:42 +0900317source "arch/sh/Kconfig.cpu"
Paul Mundtcad82442006-01-16 22:14:19 -0800318
Paul Mundtf3d22292007-05-14 17:29:12 +0900319menu "Board support"
320
321config SOLUTION_ENGINE
322 bool
323
324config SH_SOLUTION_ENGINE
325 bool "SolutionEngine"
326 select SOLUTION_ENGINE
Magnus Damm56386f62007-07-20 18:44:49 +0900327 select CPU_HAS_IPR_IRQ
Nobuhiro Iwamatsua8199072007-11-05 07:44:41 +0900328 depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \
329 CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \
330 CPU_SUBTYPE_SH7750R
Paul Mundtf3d22292007-05-14 17:29:12 +0900331 help
Nobuhiro Iwamatsua8199072007-11-05 07:44:41 +0900332 Select SolutionEngine if configuring for a Hitachi SH7705, SH7709,
333 SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board.
Paul Mundtf3d22292007-05-14 17:29:12 +0900334
335config SH_7206_SOLUTION_ENGINE
336 bool "SolutionEngine7206"
337 select SOLUTION_ENGINE
338 depends on CPU_SUBTYPE_SH7206
339 help
340 Select 7206 SolutionEngine if configuring for a Hitachi SH7206
341 evaluation board.
342
343config SH_7619_SOLUTION_ENGINE
344 bool "SolutionEngine7619"
345 select SOLUTION_ENGINE
346 depends on CPU_SUBTYPE_SH7619
347 help
348 Select 7619 SolutionEngine if configuring for a Hitachi SH7619
349 evaluation board.
350
351config SH_7722_SOLUTION_ENGINE
352 bool "SolutionEngine7722"
353 select SOLUTION_ENGINE
354 depends on CPU_SUBTYPE_SH7722
355 help
356 Select 7722 SolutionEngine if configuring for a Hitachi SH772
357 evaluation board.
358
359config SH_7751_SOLUTION_ENGINE
360 bool "SolutionEngine7751"
361 select SOLUTION_ENGINE
Magnus Damm56386f62007-07-20 18:44:49 +0900362 select CPU_HAS_IPR_IRQ
Paul Mundtf3d22292007-05-14 17:29:12 +0900363 depends on CPU_SUBTYPE_SH7751
364 help
365 Select 7751 SolutionEngine if configuring for a Hitachi SH7751
366 evaluation board.
367
368config SH_7780_SOLUTION_ENGINE
369 bool "SolutionEngine7780"
370 select SOLUTION_ENGINE
Paul Mundt357d5942007-06-11 15:32:07 +0900371 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900372 depends on CPU_SUBTYPE_SH7780
373 help
374 Select 7780 SolutionEngine if configuring for a Renesas SH7780
375 evaluation board.
376
Paul Mundtf3d22292007-05-14 17:29:12 +0900377config SH_7343_SOLUTION_ENGINE
378 bool "SolutionEngine7343"
379 select SOLUTION_ENGINE
380 depends on CPU_SUBTYPE_SH7343
381 help
382 Select 7343 SolutionEngine if configuring for a Hitachi
383 SH7343 (SH-Mobile 3AS) evaluation board.
384
Paul Mundtf3d22292007-05-14 17:29:12 +0900385config SH_7751_SYSTEMH
386 bool "SystemH7751R"
387 depends on CPU_SUBTYPE_SH7751R
388 help
389 Select SystemH if you are configuring for a Renesas SystemH
390 7751R evaluation board.
391
392config SH_HP6XX
393 bool "HP6XX"
394 select SYS_SUPPORTS_APM_EMULATION
Paul Mundt357d5942007-06-11 15:32:07 +0900395 select HD6446X_SERIES
Paul Mundtf3d22292007-05-14 17:29:12 +0900396 depends on CPU_SUBTYPE_SH7709
397 help
398 Select HP6XX if configuring for a HP jornada HP6xx.
399 More information (hardware only) at
400 <http://www.hp.com/jornada/>.
401
Paul Mundtf3d22292007-05-14 17:29:12 +0900402config SH_DREAMCAST
403 bool "Dreamcast"
Paul Mundt357d5942007-06-11 15:32:07 +0900404 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900405 depends on CPU_SUBTYPE_SH7091
406 help
407 Select Dreamcast if configuring for a SEGA Dreamcast.
Adrian McMenaminad07b102007-10-15 10:38:31 +0900408 More information at <http://www.linux-sh.org>
Paul Mundtf3d22292007-05-14 17:29:12 +0900409
410config SH_MPC1211
411 bool "Interface MPC1211"
412 depends on CPU_SUBTYPE_SH7751 && BROKEN
413 help
414 CTP/PCI-SH02 is a CPU module computer that is produced
415 by Interface Corporation.
416 More information at <http://www.interface.co.jp>
417
418config SH_SH03
419 bool "Interface CTP/PCI-SH03"
Magnus Dammd59645d2007-08-03 14:23:35 +0900420 depends on CPU_SUBTYPE_SH7751
Magnus Damm56386f62007-07-20 18:44:49 +0900421 select CPU_HAS_IPR_IRQ
Paul Mundt357d5942007-06-11 15:32:07 +0900422 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900423 help
424 CTP/PCI-SH03 is a CPU module computer that is produced
425 by Interface Corporation.
426 More information at <http://www.interface.co.jp>
427
428config SH_SECUREEDGE5410
429 bool "SecureEdge5410"
430 depends on CPU_SUBTYPE_SH7751R
Magnus Damm56386f62007-07-20 18:44:49 +0900431 select CPU_HAS_IPR_IRQ
Paul Mundt357d5942007-06-11 15:32:07 +0900432 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900433 help
434 Select SecureEdge5410 if configuring for a SnapGear SH board.
435 This includes both the OEM SecureEdge products as well as the
436 SME product line.
437
438config SH_HS7751RVOIP
439 bool "HS7751RVOIP"
440 depends on CPU_SUBTYPE_SH7751R
441 help
442 Select HS7751RVOIP if configuring for a Renesas Technology
443 Sales VoIP board.
444
445config SH_7710VOIPGW
446 bool "SH7710-VOIP-GW"
447 depends on CPU_SUBTYPE_SH7710
448 help
449 Select this option to build a kernel for the SH7710 based
450 VOIP GW.
451
452config SH_RTS7751R2D
453 bool "RTS7751R2D"
454 depends on CPU_SUBTYPE_SH7751R
Paul Mundt357d5942007-06-11 15:32:07 +0900455 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900456 help
457 Select RTS7751R2D if configuring for a Renesas Technology
458 Sales SH-Graphics board.
459
460config SH_HIGHLANDER
461 bool "Highlander"
462 depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
Paul Mundt357d5942007-06-11 15:32:07 +0900463 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900464
465config SH_EDOSK7705
466 bool "EDOSK7705"
467 depends on CPU_SUBTYPE_SH7705
468
469config SH_SH4202_MICRODEV
470 bool "SH4-202 MicroDev"
471 depends on CPU_SUBTYPE_SH4_202
472 help
473 Select SH4-202 MicroDev if configuring for a SuperH MicroDev board
474 with an SH4-202 CPU.
475
476config SH_LANDISK
477 bool "LANDISK"
478 depends on CPU_SUBTYPE_SH7751R
Paul Mundt357d5942007-06-11 15:32:07 +0900479 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900480 help
481 I-O DATA DEVICE, INC. "LANDISK Series" support.
482
483config SH_TITAN
484 bool "TITAN"
485 depends on CPU_SUBTYPE_SH7751R
Magnus Damm56386f62007-07-20 18:44:49 +0900486 select CPU_HAS_IPR_IRQ
Paul Mundt357d5942007-06-11 15:32:07 +0900487 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900488 help
489 Select Titan if you are configuring for a Nimble Microsystems
490 NetEngine NP51R.
491
492config SH_SHMIN
493 bool "SHMIN"
494 depends on CPU_SUBTYPE_SH7706
Magnus Damm56386f62007-07-20 18:44:49 +0900495 select CPU_HAS_IPR_IRQ
Paul Mundtf3d22292007-05-14 17:29:12 +0900496 help
497 Select SHMIN if configuring for the SHMIN board.
498
499config SH_LBOX_RE2
500 bool "L-BOX RE2"
501 depends on CPU_SUBTYPE_SH7751R
Paul Mundt357d5942007-06-11 15:32:07 +0900502 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900503 help
504 Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2.
505
Paul Mundt94807a32007-08-08 15:22:04 +0900506config SH_X3PROTO
507 bool "SH-X3 Prototype board"
508 depends on CPU_SUBTYPE_SHX3
509
Markus Brunnerded54312007-09-12 11:54:58 +0900510config SH_MAGIC_PANEL_R2
511 bool "Magic Panel R2"
512 depends on CPU_SUBTYPE_SH7720
513 help
514 Select Magic Panel R2 if configuring for Magic Panel R2.
515
Paul Mundtea0e1a92007-11-21 15:58:01 +0900516config SH_CAYMAN
517 bool "Hitachi Cayman"
518 depends on CPU_SUBTYPE_SH5_101 || CPU_SUBTYPE_SH5_103
Paul Mundtb6d7b662007-11-22 16:29:10 +0900519 select SYS_SUPPORTS_PCI
Paul Mundtea0e1a92007-11-21 15:58:01 +0900520
Paul Mundtf3d22292007-05-14 17:29:12 +0900521endmenu
522
523source "arch/sh/boards/renesas/hs7751rvoip/Kconfig"
524source "arch/sh/boards/renesas/rts7751r2d/Kconfig"
525source "arch/sh/boards/renesas/r7780rp/Kconfig"
Markus Brunnerded54312007-09-12 11:54:58 +0900526source "arch/sh/boards/magicpanelr2/Kconfig"
Paul Mundtf3d22292007-05-14 17:29:12 +0900527
Paul Mundt32351a22007-03-12 14:38:59 +0900528menu "Timer and clock configuration"
529
Paul Mundtcad82442006-01-16 22:14:19 -0800530config SH_TMU
531 bool "TMU timer support"
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900532 depends on CPU_SH3 || CPU_SH4
Paul Mundt57be2b42007-05-09 17:33:24 +0900533 select GENERIC_TIME
534 select GENERIC_CLOCKEVENTS
Paul Mundtcad82442006-01-16 22:14:19 -0800535 default y
536 help
537 This enables the use of the TMU as the system timer.
538
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900539config SH_CMT
540 bool "CMT timer support"
541 depends on CPU_SH2
542 default y
543 help
544 This enables the use of the CMT as the system timer.
545
546config SH_MTU2
547 bool "MTU2 timer support"
548 depends on CPU_SH2A
549 default n
550 help
551 This enables the use of the MTU2 as the system timer.
552
Paul Mundt417528a2006-11-20 11:18:30 +0900553config SH_TIMER_IRQ
554 int
Paul Mundt32351a22007-03-12 14:38:59 +0900555 default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
Paul Mundt417528a2006-11-20 11:18:30 +0900556 default "86" if CPU_SUBTYPE_SH7619
557 default "140" if CPU_SUBTYPE_SH7206
558 default "16"
559
Paul Mundtcad82442006-01-16 22:14:19 -0800560config SH_PCLK_FREQ
561 int "Peripheral clock frequency (in Hz)"
Magnus Damm870e8a22007-07-25 10:49:21 +0900562 default "27000000" if CPU_SUBTYPE_SH7343
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900563 default "31250000" if CPU_SUBTYPE_SH7619
Paul Mundt05627482007-05-15 16:25:47 +0900564 default "32000000" if CPU_SUBTYPE_SH7722
Magnus Dammd89ddd12007-07-25 11:42:56 +0900565 default "33333333" if CPU_SUBTYPE_SH7770 || \
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900566 CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
Paul Mundta8f67f42007-11-26 19:54:02 +0900567 CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \
568 CPU_SUBTYPE_SH7263
Paul Mundt05627482007-05-15 16:25:47 +0900569 default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
Paul Mundtcad82442006-01-16 22:14:19 -0800570 default "66000000" if CPU_SUBTYPE_SH4_202
Paul Mundt05627482007-05-15 16:25:47 +0900571 default "50000000"
Paul Mundtcad82442006-01-16 22:14:19 -0800572 help
573 This option is used to specify the peripheral clock frequency.
574 This is necessary for determining the reference clock value on
575 platforms lacking an RTC.
576
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900577config SH_CLK_MD
578 int "CPU Mode Pin Setting"
Paul Mundt6d01f512007-11-26 18:17:21 +0900579 depends on CPU_SH2
Paul Mundt357d5942007-06-11 15:32:07 +0900580 default 6 if CPU_SUBTYPE_SH7206
581 default 5 if CPU_SUBTYPE_SH7619
582 default 0
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900583 help
Yoshinori Sato11cbb702006-12-07 18:07:27 +0900584 MD2 - MD0 pin setting.
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900585
Paul Mundt57be2b42007-05-09 17:33:24 +0900586source "kernel/time/Kconfig"
587
Paul Mundt32351a22007-03-12 14:38:59 +0900588endmenu
589
Paul Mundtcad82442006-01-16 22:14:19 -0800590menu "CPU Frequency scaling"
591
592source "drivers/cpufreq/Kconfig"
593
594config SH_CPU_FREQ
595 tristate "SuperH CPU Frequency driver"
Paul Mundtcb5ec752007-07-20 13:38:19 +0900596 depends on CPU_FREQ
Paul Mundtcad82442006-01-16 22:14:19 -0800597 select CPU_FREQ_TABLE
598 help
599 This adds the cpufreq driver for SuperH. At present, only
600 the SH-4 is supported.
601
602 For details, take a look at <file:Documentation/cpu-freq>.
603
604 If unsure, say N.
605
606endmenu
607
Paul Mundt9f5e8ee2006-11-24 11:22:57 +0900608source "arch/sh/drivers/Kconfig"
609
Paul Mundtcad82442006-01-16 22:14:19 -0800610endmenu
611
612config ISA_DMA_API
613 bool
Adrian Bunk05efc672006-02-17 13:52:42 -0800614 depends on SH_MPC1211
Paul Mundtcad82442006-01-16 22:14:19 -0800615 default y
616
617menu "Kernel features"
618
Paul Mundt91b91d02006-09-27 18:08:33 +0900619source kernel/Kconfig.hz
620
Paul Mundtcad82442006-01-16 22:14:19 -0800621config KEXEC
622 bool "kexec system call (EXPERIMENTAL)"
623 depends on EXPERIMENTAL
624 help
625 kexec is a system call that implements the ability to shutdown your
626 current kernel, and to start another kernel. It is like a reboot
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400627 but it is independent of the system firmware. And like a reboot
Paul Mundtcad82442006-01-16 22:14:19 -0800628 you can start any kernel with it, not just Linux.
629
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400630 The name comes from the similarity to the exec system call.
Paul Mundtcad82442006-01-16 22:14:19 -0800631
632 It is an ongoing process to be certain the hardware in a machine
633 is properly shutdown, so do not be surprised if this code does not
634 initially work for you. It may help to enable device hotplugging
635 support. As of this writing the exact hardware interface is
636 strongly in flux, so no good recommendation can be made.
637
Paul Mundt4d5ade52007-04-27 11:25:57 +0900638config CRASH_DUMP
639 bool "kernel crash dumps (EXPERIMENTAL)"
640 depends on EXPERIMENTAL
641 help
642 Generate crash dump after being started by kexec.
643 This should be normally only set in special crash dump kernels
644 which are loaded in the main kernel with kexec-tools into
645 a specially reserved region and then later executed after
646 a crash by kdump/kexec. The crash dump kernel must be compiled
647 to a memory address not used by the main kernel using
648 MEMORY_START.
649
650 For more details see Documentation/kdump/kdump.txt
651
Linus Torvalds1da177e2005-04-16 15:20:36 -0700652config SMP
653 bool "Symmetric multi-processing support"
Paul Mundt357d5942007-06-11 15:32:07 +0900654 depends on SYS_SUPPORTS_SMP
Linus Torvalds1da177e2005-04-16 15:20:36 -0700655 ---help---
656 This enables support for systems with more than one CPU. If you have
657 a system with only one CPU, like most personal computers, say N. If
658 you have a system with more than one CPU, say Y.
659
660 If you say N here, the kernel will run on single and multiprocessor
661 machines, but will use only one CPU of a multiprocessor machine. If
662 you say Y here, the kernel will run on many, but not all,
663 singleprocessor machines. On a singleprocessor machine, the kernel
664 will run faster if you say N here.
665
666 People using multiprocessor machines who say Y here should also say
667 Y to "Enhanced Real Time Clock Support", below.
668
669 See also the <file:Documentation/smp.txt>,
670 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available
671 at <http://www.tldp.org/docs.html#howto>.
672
673 If you don't know what to do here, say N.
674
675config NR_CPUS
676 int "Maximum number of CPUs (2-32)"
677 range 2 32
678 depends on SMP
Paul Mundt2b1bd1a2007-06-20 18:27:10 +0900679 default "4" if CPU_SHX3
Linus Torvalds1da177e2005-04-16 15:20:36 -0700680 default "2"
681 help
682 This allows you to specify the maximum number of CPUs which this
683 kernel will support. The maximum supported value is 32 and the
684 minimum value which makes sense is 2.
685
686 This is purely to save memory - each supported CPU adds
687 approximately eight kilobytes to the kernel image.
688
Paul Mundt91b91d02006-09-27 18:08:33 +0900689source "kernel/Kconfig.preempt"
690
Paul Mundt83662462007-09-28 16:04:49 +0900691config GUSA
692 def_bool y
693 depends on !SMP
694 help
695 This enables support for gUSA (general UserSpace Atomicity).
696 This is the default implementation for both UP and non-ll/sc
697 CPUs, and is used by the libc, amongst others.
698
699 For additional information, design information can be found
700 in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
701
702 This should only be disabled for special cases where alternate
703 atomicity implementations exist.
704
Paul Mundtcad82442006-01-16 22:14:19 -0800705endmenu
706
707menu "Boot options"
708
709config ZERO_PAGE_OFFSET
710 hex "Zero page offset"
711 default "0x00004000" if SH_MPC1211 || SH_SH03
Paul Mundt7a847f82006-12-26 15:29:19 +0900712 default "0x00010000" if PAGE_SIZE_64KB
713 default "0x00002000" if PAGE_SIZE_8KB
Paul Mundtcad82442006-01-16 22:14:19 -0800714 default "0x00001000"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700715 help
Paul Mundtcad82442006-01-16 22:14:19 -0800716 This sets the default offset of zero page.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700717
Paul Mundtcad82442006-01-16 22:14:19 -0800718config BOOT_LINK_OFFSET
719 hex "Link address offset for booting"
720 default "0x00800000"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700721 help
Paul Mundtcad82442006-01-16 22:14:19 -0800722 This option allows you to set the link address offset of the zImage.
723 This can be useful if you are on a board which has a small amount of
724 memory.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700725
Paul Mundtcad82442006-01-16 22:14:19 -0800726config UBC_WAKEUP
727 bool "Wakeup UBC on startup"
Paul Mundt0e3a9aa2007-11-06 15:55:36 +0900728 depends on CPU_SH4 && !CPU_SH4A
Paul Mundtcad82442006-01-16 22:14:19 -0800729 help
730 Selecting this option will wakeup the User Break Controller (UBC) on
731 startup. Although the UBC is left in an awake state when the processor
732 comes up, some boot loaders misbehave by putting the UBC to sleep in a
733 power saving state, which causes issues with things like ptrace().
Linus Torvalds1da177e2005-04-16 15:20:36 -0700734
735 If unsure, say N.
736
Paul Mundtcad82442006-01-16 22:14:19 -0800737config CMDLINE_BOOL
738 bool "Default bootloader kernel arguments"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700739
Paul Mundtcad82442006-01-16 22:14:19 -0800740config CMDLINE
741 string "Initial kernel command string"
742 depends on CMDLINE_BOOL
743 default "console=ttySC1,115200"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700744
745endmenu
746
Paul Mundtcad82442006-01-16 22:14:19 -0800747menu "Bus options"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700748
749# Even on SuperH devices which don't have an ISA bus,
750# this variable helps the PCMCIA modules handle
751# IRQ requesting properly -- Greg Banks.
752#
753# Though we're generally not interested in it when
754# we're not using PCMCIA, so we make it dependent on
755# PCMCIA outright. -- PFM.
756config ISA
Paul Mundt357d5942007-06-11 15:32:07 +0900757 def_bool y
758 depends on PCMCIA && HD6446X_SERIES
Linus Torvalds1da177e2005-04-16 15:20:36 -0700759 help
760 Find out whether you have ISA slots on your motherboard. ISA is the
761 name of a bus system, i.e. the way the CPU talks to the other stuff
762 inside your box. Other bus systems are PCI, EISA, MicroChannel
763 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
764 newer boards don't support it. If you have ISA, say Y, otherwise N.
765
766config EISA
767 bool
768 ---help---
769 The Extended Industry Standard Architecture (EISA) bus was
770 developed as an open alternative to the IBM MicroChannel bus.
771
772 The EISA bus provided some of the features of the IBM MicroChannel
773 bus while maintaining backward compatibility with cards made for
774 the older ISA bus. The EISA bus saw limited use between 1988 and
775 1995 when it was made obsolete by the PCI bus.
776
777 Say Y here if you are building a kernel for an EISA-based machine.
778
779 Otherwise, say N.
780
781config MCA
782 bool
783 help
784 MicroChannel Architecture is found in some IBM PS/2 machines and
785 laptops. It is a bus system similar to PCI or ISA. See
786 <file:Documentation/mca.txt> (and especially the web page given
787 there) before attempting to build an MCA bus kernel.
788
789config SBUS
790 bool
791
Paul Mundtcad82442006-01-16 22:14:19 -0800792config SUPERHYWAY
793 tristate "SuperHyway Bus support"
794 depends on CPU_SUBTYPE_SH4_202
Linus Torvalds1da177e2005-04-16 15:20:36 -0700795
Adrian McMenamin17be2d22007-09-21 15:55:55 +0900796config MAPLE
797 bool "Maple Bus support"
798 depends on SH_DREAMCAST
799 help
800 The Maple Bus is SEGA's serial communication bus for peripherals
801 on the Dreamcast. Without this bus support you won't be able to
802 get your Dreamcast keyboard etc to work, so most users
803 probably want to say 'Y' here, unless you are only using the
804 Dreamcast with a serial line terminal or a remote network
805 connection.
806
Paul Mundt824e55f2007-06-20 18:01:52 +0900807config CF_ENABLER
808 bool "Compact Flash Enabler support"
809 depends on SOLUTION_ENGINE || SH_SH03
810 ---help---
811 Compact Flash is a small, removable mass storage device introduced
812 in 1994 originally as a PCMCIA device. If you say `Y' here, you
813 compile in support for Compact Flash devices directly connected to
814 a SuperH processor. A Compact Flash FAQ is available at
815 <http://www.compactflash.org/faqs/faq.htm>.
816
817 If your board has "Directly Connected" CompactFlash at area 5 or 6,
818 you may want to enable this option. Then, you can use CF as
819 primary IDE drive (only tested for SanDisk).
820
821 If in doubt, select 'N'.
822
823choice
824 prompt "Compact Flash Connection Area"
825 depends on CF_ENABLER
826 default CF_AREA6
827
828config CF_AREA5
829 bool "Area5"
830 help
831 If your board has "Directly Connected" CompactFlash, You should
832 select the area where your CF is connected to.
833
834 - "Area5" if CompactFlash is connected to Area 5 (0x14000000)
835 - "Area6" if it is connected to Area 6 (0x18000000)
836
837 "Area6" will work for most boards.
838
839config CF_AREA6
840 bool "Area6"
841
842endchoice
843
844config CF_BASE_ADDR
845 hex
846 depends on CF_ENABLER
847 default "0xb8000000" if CF_AREA6
848 default "0xb4000000" if CF_AREA5
849
Linus Torvalds1da177e2005-04-16 15:20:36 -0700850source "arch/sh/drivers/pci/Kconfig"
851
852source "drivers/pci/Kconfig"
853
854source "drivers/pcmcia/Kconfig"
855
856source "drivers/pci/hotplug/Kconfig"
857
858endmenu
859
860menu "Executable file formats"
861
862source "fs/Kconfig.binfmt"
863
864endmenu
865
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900866menu "Power management options (EXPERIMENTAL)"
Paul Mundt357d5942007-06-11 15:32:07 +0900867depends on EXPERIMENTAL && SYS_SUPPORTS_PM
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900868
869source kernel/power/Kconfig
870
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900871endmenu
872
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700873source "net/Kconfig"
874
Linus Torvalds1da177e2005-04-16 15:20:36 -0700875source "drivers/Kconfig"
876
877source "fs/Kconfig"
878
Mathieu Desnoyers09caded2007-10-18 23:41:05 -0700879source "kernel/Kconfig.instrumentation"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700880
881source "arch/sh/Kconfig.debug"
882
883source "security/Kconfig"
884
885source "crypto/Kconfig"
886
887source "lib/Kconfig"