blob: d8f62b84265634cba46b29a8ec7fecb6668a24fc [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
169# 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
221# SH-4 Processor Support
222
223config CPU_SUBTYPE_SH7750
224 bool "Support SH7750 processor"
225 select CPU_SH4
226 help
227 Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
228
229config CPU_SUBTYPE_SH7091
230 bool "Support SH7091 processor"
231 select CPU_SH4
232 help
233 Select SH7091 if you have an SH-4 based Sega device (such as
234 the Dreamcast, Naomi, and Naomi 2).
235
236config CPU_SUBTYPE_SH7750R
237 bool "Support SH7750R processor"
238 select CPU_SH4
239
240config CPU_SUBTYPE_SH7750S
241 bool "Support SH7750S processor"
242 select CPU_SH4
243
244config CPU_SUBTYPE_SH7751
245 bool "Support SH7751 processor"
246 select CPU_SH4
247 help
248 Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
249 or if you have a HD6417751R CPU.
250
251config CPU_SUBTYPE_SH7751R
252 bool "Support SH7751R processor"
253 select CPU_SH4
254
255config CPU_SUBTYPE_SH7760
256 bool "Support SH7760 processor"
257 select CPU_SH4
258
259config CPU_SUBTYPE_SH4_202
260 bool "Support SH4-202 processor"
261 select CPU_SH4
262
263# SH-4A Processor Support
264
265config CPU_SUBTYPE_SH7770
266 bool "Support SH7770 processor"
267 select CPU_SH4A
268
269config CPU_SUBTYPE_SH7780
270 bool "Support SH7780 processor"
271 select CPU_SH4A
272
273config CPU_SUBTYPE_SH7785
274 bool "Support SH7785 processor"
275 select CPU_SH4A
276 select CPU_SHX2
277 select ARCH_SPARSEMEM_ENABLE
278 select SYS_SUPPORTS_NUMA
279
280config CPU_SUBTYPE_SHX3
281 bool "Support SH-X3 processor"
282 select CPU_SH4A
283 select CPU_SHX3
284 select ARCH_SPARSEMEM_ENABLE
285 select SYS_SUPPORTS_NUMA
286 select SYS_SUPPORTS_SMP
287
288# SH4AL-DSP Processor Support
289
290config CPU_SUBTYPE_SH7343
291 bool "Support SH7343 processor"
292 select CPU_SH4AL_DSP
293
294config CPU_SUBTYPE_SH7722
295 bool "Support SH7722 processor"
296 select CPU_SH4AL_DSP
297 select CPU_SHX2
298 select ARCH_SPARSEMEM_ENABLE
299 select SYS_SUPPORTS_NUMA
300
Paul Mundtea0e1a92007-11-21 15:58:01 +0900301# SH-5 Processor Support
302
303config CPU_SUBTYPE_SH5_101
304 bool "Support SH5-101 processor"
305 select CPU_SH5
306
307config CPU_SUBTYPE_SH5_103
308 bool "Support SH5-103 processor"
309
Paul Mundtb5f42db2007-11-08 18:38:14 +0900310endchoice
311
Paul Mundtcad82442006-01-16 22:14:19 -0800312source "arch/sh/mm/Kconfig"
Paul Mundt4690bdc2007-11-09 13:45:42 +0900313source "arch/sh/Kconfig.cpu"
Paul Mundtcad82442006-01-16 22:14:19 -0800314
Paul Mundtf3d22292007-05-14 17:29:12 +0900315menu "Board support"
316
317config SOLUTION_ENGINE
318 bool
319
320config SH_SOLUTION_ENGINE
321 bool "SolutionEngine"
322 select SOLUTION_ENGINE
Magnus Damm56386f62007-07-20 18:44:49 +0900323 select CPU_HAS_IPR_IRQ
Nobuhiro Iwamatsua8199072007-11-05 07:44:41 +0900324 depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \
325 CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \
326 CPU_SUBTYPE_SH7750R
Paul Mundtf3d22292007-05-14 17:29:12 +0900327 help
Nobuhiro Iwamatsua8199072007-11-05 07:44:41 +0900328 Select SolutionEngine if configuring for a Hitachi SH7705, SH7709,
329 SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board.
Paul Mundtf3d22292007-05-14 17:29:12 +0900330
331config SH_7206_SOLUTION_ENGINE
332 bool "SolutionEngine7206"
333 select SOLUTION_ENGINE
334 depends on CPU_SUBTYPE_SH7206
335 help
336 Select 7206 SolutionEngine if configuring for a Hitachi SH7206
337 evaluation board.
338
339config SH_7619_SOLUTION_ENGINE
340 bool "SolutionEngine7619"
341 select SOLUTION_ENGINE
342 depends on CPU_SUBTYPE_SH7619
343 help
344 Select 7619 SolutionEngine if configuring for a Hitachi SH7619
345 evaluation board.
346
347config SH_7722_SOLUTION_ENGINE
348 bool "SolutionEngine7722"
349 select SOLUTION_ENGINE
350 depends on CPU_SUBTYPE_SH7722
351 help
352 Select 7722 SolutionEngine if configuring for a Hitachi SH772
353 evaluation board.
354
355config SH_7751_SOLUTION_ENGINE
356 bool "SolutionEngine7751"
357 select SOLUTION_ENGINE
Magnus Damm56386f62007-07-20 18:44:49 +0900358 select CPU_HAS_IPR_IRQ
Paul Mundtf3d22292007-05-14 17:29:12 +0900359 depends on CPU_SUBTYPE_SH7751
360 help
361 Select 7751 SolutionEngine if configuring for a Hitachi SH7751
362 evaluation board.
363
364config SH_7780_SOLUTION_ENGINE
365 bool "SolutionEngine7780"
366 select SOLUTION_ENGINE
Paul Mundt357d5942007-06-11 15:32:07 +0900367 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900368 depends on CPU_SUBTYPE_SH7780
369 help
370 Select 7780 SolutionEngine if configuring for a Renesas SH7780
371 evaluation board.
372
Paul Mundtf3d22292007-05-14 17:29:12 +0900373config SH_7343_SOLUTION_ENGINE
374 bool "SolutionEngine7343"
375 select SOLUTION_ENGINE
376 depends on CPU_SUBTYPE_SH7343
377 help
378 Select 7343 SolutionEngine if configuring for a Hitachi
379 SH7343 (SH-Mobile 3AS) evaluation board.
380
Paul Mundtf3d22292007-05-14 17:29:12 +0900381config SH_7751_SYSTEMH
382 bool "SystemH7751R"
383 depends on CPU_SUBTYPE_SH7751R
384 help
385 Select SystemH if you are configuring for a Renesas SystemH
386 7751R evaluation board.
387
388config SH_HP6XX
389 bool "HP6XX"
390 select SYS_SUPPORTS_APM_EMULATION
Paul Mundt357d5942007-06-11 15:32:07 +0900391 select HD6446X_SERIES
Paul Mundtf3d22292007-05-14 17:29:12 +0900392 depends on CPU_SUBTYPE_SH7709
393 help
394 Select HP6XX if configuring for a HP jornada HP6xx.
395 More information (hardware only) at
396 <http://www.hp.com/jornada/>.
397
Paul Mundtf3d22292007-05-14 17:29:12 +0900398config SH_DREAMCAST
399 bool "Dreamcast"
Paul Mundt357d5942007-06-11 15:32:07 +0900400 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900401 depends on CPU_SUBTYPE_SH7091
402 help
403 Select Dreamcast if configuring for a SEGA Dreamcast.
Adrian McMenaminad07b102007-10-15 10:38:31 +0900404 More information at <http://www.linux-sh.org>
Paul Mundtf3d22292007-05-14 17:29:12 +0900405
406config SH_MPC1211
407 bool "Interface MPC1211"
408 depends on CPU_SUBTYPE_SH7751 && BROKEN
409 help
410 CTP/PCI-SH02 is a CPU module computer that is produced
411 by Interface Corporation.
412 More information at <http://www.interface.co.jp>
413
414config SH_SH03
415 bool "Interface CTP/PCI-SH03"
Magnus Dammd59645d2007-08-03 14:23:35 +0900416 depends on CPU_SUBTYPE_SH7751
Magnus Damm56386f62007-07-20 18:44:49 +0900417 select CPU_HAS_IPR_IRQ
Paul Mundt357d5942007-06-11 15:32:07 +0900418 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900419 help
420 CTP/PCI-SH03 is a CPU module computer that is produced
421 by Interface Corporation.
422 More information at <http://www.interface.co.jp>
423
424config SH_SECUREEDGE5410
425 bool "SecureEdge5410"
426 depends on CPU_SUBTYPE_SH7751R
Magnus Damm56386f62007-07-20 18:44:49 +0900427 select CPU_HAS_IPR_IRQ
Paul Mundt357d5942007-06-11 15:32:07 +0900428 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900429 help
430 Select SecureEdge5410 if configuring for a SnapGear SH board.
431 This includes both the OEM SecureEdge products as well as the
432 SME product line.
433
434config SH_HS7751RVOIP
435 bool "HS7751RVOIP"
436 depends on CPU_SUBTYPE_SH7751R
437 help
438 Select HS7751RVOIP if configuring for a Renesas Technology
439 Sales VoIP board.
440
441config SH_7710VOIPGW
442 bool "SH7710-VOIP-GW"
443 depends on CPU_SUBTYPE_SH7710
444 help
445 Select this option to build a kernel for the SH7710 based
446 VOIP GW.
447
448config SH_RTS7751R2D
449 bool "RTS7751R2D"
450 depends on CPU_SUBTYPE_SH7751R
Paul Mundt357d5942007-06-11 15:32:07 +0900451 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900452 help
453 Select RTS7751R2D if configuring for a Renesas Technology
454 Sales SH-Graphics board.
455
456config SH_HIGHLANDER
457 bool "Highlander"
458 depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
Paul Mundt357d5942007-06-11 15:32:07 +0900459 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900460
461config SH_EDOSK7705
462 bool "EDOSK7705"
463 depends on CPU_SUBTYPE_SH7705
464
465config SH_SH4202_MICRODEV
466 bool "SH4-202 MicroDev"
467 depends on CPU_SUBTYPE_SH4_202
468 help
469 Select SH4-202 MicroDev if configuring for a SuperH MicroDev board
470 with an SH4-202 CPU.
471
472config SH_LANDISK
473 bool "LANDISK"
474 depends on CPU_SUBTYPE_SH7751R
Paul Mundt357d5942007-06-11 15:32:07 +0900475 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900476 help
477 I-O DATA DEVICE, INC. "LANDISK Series" support.
478
479config SH_TITAN
480 bool "TITAN"
481 depends on CPU_SUBTYPE_SH7751R
Magnus Damm56386f62007-07-20 18:44:49 +0900482 select CPU_HAS_IPR_IRQ
Paul Mundt357d5942007-06-11 15:32:07 +0900483 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900484 help
485 Select Titan if you are configuring for a Nimble Microsystems
486 NetEngine NP51R.
487
488config SH_SHMIN
489 bool "SHMIN"
490 depends on CPU_SUBTYPE_SH7706
Magnus Damm56386f62007-07-20 18:44:49 +0900491 select CPU_HAS_IPR_IRQ
Paul Mundtf3d22292007-05-14 17:29:12 +0900492 help
493 Select SHMIN if configuring for the SHMIN board.
494
495config SH_LBOX_RE2
496 bool "L-BOX RE2"
497 depends on CPU_SUBTYPE_SH7751R
Paul Mundt357d5942007-06-11 15:32:07 +0900498 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900499 help
500 Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2.
501
Paul Mundt94807a32007-08-08 15:22:04 +0900502config SH_X3PROTO
503 bool "SH-X3 Prototype board"
504 depends on CPU_SUBTYPE_SHX3
505
Markus Brunnerded54312007-09-12 11:54:58 +0900506config SH_MAGIC_PANEL_R2
507 bool "Magic Panel R2"
508 depends on CPU_SUBTYPE_SH7720
509 help
510 Select Magic Panel R2 if configuring for Magic Panel R2.
511
Paul Mundtea0e1a92007-11-21 15:58:01 +0900512config SH_CAYMAN
513 bool "Hitachi Cayman"
514 depends on CPU_SUBTYPE_SH5_101 || CPU_SUBTYPE_SH5_103
Paul Mundtb6d7b662007-11-22 16:29:10 +0900515 select SYS_SUPPORTS_PCI
Paul Mundtea0e1a92007-11-21 15:58:01 +0900516
Paul Mundtf3d22292007-05-14 17:29:12 +0900517endmenu
518
519source "arch/sh/boards/renesas/hs7751rvoip/Kconfig"
520source "arch/sh/boards/renesas/rts7751r2d/Kconfig"
521source "arch/sh/boards/renesas/r7780rp/Kconfig"
Markus Brunnerded54312007-09-12 11:54:58 +0900522source "arch/sh/boards/magicpanelr2/Kconfig"
Paul Mundtf3d22292007-05-14 17:29:12 +0900523
Paul Mundt32351a22007-03-12 14:38:59 +0900524menu "Timer and clock configuration"
525
Paul Mundtcad82442006-01-16 22:14:19 -0800526config SH_TMU
527 bool "TMU timer support"
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900528 depends on CPU_SH3 || CPU_SH4
Paul Mundt57be2b42007-05-09 17:33:24 +0900529 select GENERIC_TIME
530 select GENERIC_CLOCKEVENTS
Paul Mundtcad82442006-01-16 22:14:19 -0800531 default y
532 help
533 This enables the use of the TMU as the system timer.
534
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900535config SH_CMT
536 bool "CMT timer support"
537 depends on CPU_SH2
538 default y
539 help
540 This enables the use of the CMT as the system timer.
541
542config SH_MTU2
543 bool "MTU2 timer support"
544 depends on CPU_SH2A
545 default n
546 help
547 This enables the use of the MTU2 as the system timer.
548
Paul Mundt417528a2006-11-20 11:18:30 +0900549config SH_TIMER_IRQ
550 int
Paul Mundt32351a22007-03-12 14:38:59 +0900551 default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
Paul Mundt417528a2006-11-20 11:18:30 +0900552 default "86" if CPU_SUBTYPE_SH7619
553 default "140" if CPU_SUBTYPE_SH7206
554 default "16"
555
Paul Mundtcad82442006-01-16 22:14:19 -0800556config SH_PCLK_FREQ
557 int "Peripheral clock frequency (in Hz)"
Magnus Damm870e8a22007-07-25 10:49:21 +0900558 default "27000000" if CPU_SUBTYPE_SH7343
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900559 default "31250000" if CPU_SUBTYPE_SH7619
Paul Mundt05627482007-05-15 16:25:47 +0900560 default "32000000" if CPU_SUBTYPE_SH7722
Magnus Dammd89ddd12007-07-25 11:42:56 +0900561 default "33333333" if CPU_SUBTYPE_SH7770 || \
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900562 CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
Paul Mundt6d01f512007-11-26 18:17:21 +0900563 CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206
Paul Mundt05627482007-05-15 16:25:47 +0900564 default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
Paul Mundtcad82442006-01-16 22:14:19 -0800565 default "66000000" if CPU_SUBTYPE_SH4_202
Paul Mundt05627482007-05-15 16:25:47 +0900566 default "50000000"
Paul Mundtcad82442006-01-16 22:14:19 -0800567 help
568 This option is used to specify the peripheral clock frequency.
569 This is necessary for determining the reference clock value on
570 platforms lacking an RTC.
571
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900572config SH_CLK_MD
573 int "CPU Mode Pin Setting"
Paul Mundt6d01f512007-11-26 18:17:21 +0900574 depends on CPU_SH2
Paul Mundt357d5942007-06-11 15:32:07 +0900575 default 6 if CPU_SUBTYPE_SH7206
576 default 5 if CPU_SUBTYPE_SH7619
577 default 0
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900578 help
Yoshinori Sato11cbb702006-12-07 18:07:27 +0900579 MD2 - MD0 pin setting.
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900580
Paul Mundt57be2b42007-05-09 17:33:24 +0900581source "kernel/time/Kconfig"
582
Paul Mundt32351a22007-03-12 14:38:59 +0900583endmenu
584
Paul Mundtcad82442006-01-16 22:14:19 -0800585menu "CPU Frequency scaling"
586
587source "drivers/cpufreq/Kconfig"
588
589config SH_CPU_FREQ
590 tristate "SuperH CPU Frequency driver"
Paul Mundtcb5ec752007-07-20 13:38:19 +0900591 depends on CPU_FREQ
Paul Mundtcad82442006-01-16 22:14:19 -0800592 select CPU_FREQ_TABLE
593 help
594 This adds the cpufreq driver for SuperH. At present, only
595 the SH-4 is supported.
596
597 For details, take a look at <file:Documentation/cpu-freq>.
598
599 If unsure, say N.
600
601endmenu
602
Paul Mundt9f5e8ee2006-11-24 11:22:57 +0900603source "arch/sh/drivers/Kconfig"
604
Paul Mundtcad82442006-01-16 22:14:19 -0800605endmenu
606
607config ISA_DMA_API
608 bool
Adrian Bunk05efc672006-02-17 13:52:42 -0800609 depends on SH_MPC1211
Paul Mundtcad82442006-01-16 22:14:19 -0800610 default y
611
612menu "Kernel features"
613
Paul Mundt91b91d02006-09-27 18:08:33 +0900614source kernel/Kconfig.hz
615
Paul Mundtcad82442006-01-16 22:14:19 -0800616config KEXEC
617 bool "kexec system call (EXPERIMENTAL)"
618 depends on EXPERIMENTAL
619 help
620 kexec is a system call that implements the ability to shutdown your
621 current kernel, and to start another kernel. It is like a reboot
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400622 but it is independent of the system firmware. And like a reboot
Paul Mundtcad82442006-01-16 22:14:19 -0800623 you can start any kernel with it, not just Linux.
624
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400625 The name comes from the similarity to the exec system call.
Paul Mundtcad82442006-01-16 22:14:19 -0800626
627 It is an ongoing process to be certain the hardware in a machine
628 is properly shutdown, so do not be surprised if this code does not
629 initially work for you. It may help to enable device hotplugging
630 support. As of this writing the exact hardware interface is
631 strongly in flux, so no good recommendation can be made.
632
Paul Mundt4d5ade52007-04-27 11:25:57 +0900633config CRASH_DUMP
634 bool "kernel crash dumps (EXPERIMENTAL)"
635 depends on EXPERIMENTAL
636 help
637 Generate crash dump after being started by kexec.
638 This should be normally only set in special crash dump kernels
639 which are loaded in the main kernel with kexec-tools into
640 a specially reserved region and then later executed after
641 a crash by kdump/kexec. The crash dump kernel must be compiled
642 to a memory address not used by the main kernel using
643 MEMORY_START.
644
645 For more details see Documentation/kdump/kdump.txt
646
Linus Torvalds1da177e2005-04-16 15:20:36 -0700647config SMP
648 bool "Symmetric multi-processing support"
Paul Mundt357d5942007-06-11 15:32:07 +0900649 depends on SYS_SUPPORTS_SMP
Linus Torvalds1da177e2005-04-16 15:20:36 -0700650 ---help---
651 This enables support for systems with more than one CPU. If you have
652 a system with only one CPU, like most personal computers, say N. If
653 you have a system with more than one CPU, say Y.
654
655 If you say N here, the kernel will run on single and multiprocessor
656 machines, but will use only one CPU of a multiprocessor machine. If
657 you say Y here, the kernel will run on many, but not all,
658 singleprocessor machines. On a singleprocessor machine, the kernel
659 will run faster if you say N here.
660
661 People using multiprocessor machines who say Y here should also say
662 Y to "Enhanced Real Time Clock Support", below.
663
664 See also the <file:Documentation/smp.txt>,
665 <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available
666 at <http://www.tldp.org/docs.html#howto>.
667
668 If you don't know what to do here, say N.
669
670config NR_CPUS
671 int "Maximum number of CPUs (2-32)"
672 range 2 32
673 depends on SMP
Paul Mundt2b1bd1a2007-06-20 18:27:10 +0900674 default "4" if CPU_SHX3
Linus Torvalds1da177e2005-04-16 15:20:36 -0700675 default "2"
676 help
677 This allows you to specify the maximum number of CPUs which this
678 kernel will support. The maximum supported value is 32 and the
679 minimum value which makes sense is 2.
680
681 This is purely to save memory - each supported CPU adds
682 approximately eight kilobytes to the kernel image.
683
Paul Mundt91b91d02006-09-27 18:08:33 +0900684source "kernel/Kconfig.preempt"
685
Paul Mundt83662462007-09-28 16:04:49 +0900686config GUSA
687 def_bool y
688 depends on !SMP
689 help
690 This enables support for gUSA (general UserSpace Atomicity).
691 This is the default implementation for both UP and non-ll/sc
692 CPUs, and is used by the libc, amongst others.
693
694 For additional information, design information can be found
695 in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
696
697 This should only be disabled for special cases where alternate
698 atomicity implementations exist.
699
Paul Mundtcad82442006-01-16 22:14:19 -0800700endmenu
701
702menu "Boot options"
703
704config ZERO_PAGE_OFFSET
705 hex "Zero page offset"
706 default "0x00004000" if SH_MPC1211 || SH_SH03
Paul Mundt7a847f82006-12-26 15:29:19 +0900707 default "0x00010000" if PAGE_SIZE_64KB
708 default "0x00002000" if PAGE_SIZE_8KB
Paul Mundtcad82442006-01-16 22:14:19 -0800709 default "0x00001000"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700710 help
Paul Mundtcad82442006-01-16 22:14:19 -0800711 This sets the default offset of zero page.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700712
Paul Mundtcad82442006-01-16 22:14:19 -0800713config BOOT_LINK_OFFSET
714 hex "Link address offset for booting"
715 default "0x00800000"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700716 help
Paul Mundtcad82442006-01-16 22:14:19 -0800717 This option allows you to set the link address offset of the zImage.
718 This can be useful if you are on a board which has a small amount of
719 memory.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700720
Paul Mundtcad82442006-01-16 22:14:19 -0800721config UBC_WAKEUP
722 bool "Wakeup UBC on startup"
Paul Mundt0e3a9aa2007-11-06 15:55:36 +0900723 depends on CPU_SH4 && !CPU_SH4A
Paul Mundtcad82442006-01-16 22:14:19 -0800724 help
725 Selecting this option will wakeup the User Break Controller (UBC) on
726 startup. Although the UBC is left in an awake state when the processor
727 comes up, some boot loaders misbehave by putting the UBC to sleep in a
728 power saving state, which causes issues with things like ptrace().
Linus Torvalds1da177e2005-04-16 15:20:36 -0700729
730 If unsure, say N.
731
Paul Mundtcad82442006-01-16 22:14:19 -0800732config CMDLINE_BOOL
733 bool "Default bootloader kernel arguments"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700734
Paul Mundtcad82442006-01-16 22:14:19 -0800735config CMDLINE
736 string "Initial kernel command string"
737 depends on CMDLINE_BOOL
738 default "console=ttySC1,115200"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700739
740endmenu
741
Paul Mundtcad82442006-01-16 22:14:19 -0800742menu "Bus options"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700743
744# Even on SuperH devices which don't have an ISA bus,
745# this variable helps the PCMCIA modules handle
746# IRQ requesting properly -- Greg Banks.
747#
748# Though we're generally not interested in it when
749# we're not using PCMCIA, so we make it dependent on
750# PCMCIA outright. -- PFM.
751config ISA
Paul Mundt357d5942007-06-11 15:32:07 +0900752 def_bool y
753 depends on PCMCIA && HD6446X_SERIES
Linus Torvalds1da177e2005-04-16 15:20:36 -0700754 help
755 Find out whether you have ISA slots on your motherboard. ISA is the
756 name of a bus system, i.e. the way the CPU talks to the other stuff
757 inside your box. Other bus systems are PCI, EISA, MicroChannel
758 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
759 newer boards don't support it. If you have ISA, say Y, otherwise N.
760
761config EISA
762 bool
763 ---help---
764 The Extended Industry Standard Architecture (EISA) bus was
765 developed as an open alternative to the IBM MicroChannel bus.
766
767 The EISA bus provided some of the features of the IBM MicroChannel
768 bus while maintaining backward compatibility with cards made for
769 the older ISA bus. The EISA bus saw limited use between 1988 and
770 1995 when it was made obsolete by the PCI bus.
771
772 Say Y here if you are building a kernel for an EISA-based machine.
773
774 Otherwise, say N.
775
776config MCA
777 bool
778 help
779 MicroChannel Architecture is found in some IBM PS/2 machines and
780 laptops. It is a bus system similar to PCI or ISA. See
781 <file:Documentation/mca.txt> (and especially the web page given
782 there) before attempting to build an MCA bus kernel.
783
784config SBUS
785 bool
786
Paul Mundtcad82442006-01-16 22:14:19 -0800787config SUPERHYWAY
788 tristate "SuperHyway Bus support"
789 depends on CPU_SUBTYPE_SH4_202
Linus Torvalds1da177e2005-04-16 15:20:36 -0700790
Adrian McMenamin17be2d22007-09-21 15:55:55 +0900791config MAPLE
792 bool "Maple Bus support"
793 depends on SH_DREAMCAST
794 help
795 The Maple Bus is SEGA's serial communication bus for peripherals
796 on the Dreamcast. Without this bus support you won't be able to
797 get your Dreamcast keyboard etc to work, so most users
798 probably want to say 'Y' here, unless you are only using the
799 Dreamcast with a serial line terminal or a remote network
800 connection.
801
Paul Mundt824e55f2007-06-20 18:01:52 +0900802config CF_ENABLER
803 bool "Compact Flash Enabler support"
804 depends on SOLUTION_ENGINE || SH_SH03
805 ---help---
806 Compact Flash is a small, removable mass storage device introduced
807 in 1994 originally as a PCMCIA device. If you say `Y' here, you
808 compile in support for Compact Flash devices directly connected to
809 a SuperH processor. A Compact Flash FAQ is available at
810 <http://www.compactflash.org/faqs/faq.htm>.
811
812 If your board has "Directly Connected" CompactFlash at area 5 or 6,
813 you may want to enable this option. Then, you can use CF as
814 primary IDE drive (only tested for SanDisk).
815
816 If in doubt, select 'N'.
817
818choice
819 prompt "Compact Flash Connection Area"
820 depends on CF_ENABLER
821 default CF_AREA6
822
823config CF_AREA5
824 bool "Area5"
825 help
826 If your board has "Directly Connected" CompactFlash, You should
827 select the area where your CF is connected to.
828
829 - "Area5" if CompactFlash is connected to Area 5 (0x14000000)
830 - "Area6" if it is connected to Area 6 (0x18000000)
831
832 "Area6" will work for most boards.
833
834config CF_AREA6
835 bool "Area6"
836
837endchoice
838
839config CF_BASE_ADDR
840 hex
841 depends on CF_ENABLER
842 default "0xb8000000" if CF_AREA6
843 default "0xb4000000" if CF_AREA5
844
Linus Torvalds1da177e2005-04-16 15:20:36 -0700845source "arch/sh/drivers/pci/Kconfig"
846
847source "drivers/pci/Kconfig"
848
849source "drivers/pcmcia/Kconfig"
850
851source "drivers/pci/hotplug/Kconfig"
852
853endmenu
854
855menu "Executable file formats"
856
857source "fs/Kconfig.binfmt"
858
859endmenu
860
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900861menu "Power management options (EXPERIMENTAL)"
Paul Mundt357d5942007-06-11 15:32:07 +0900862depends on EXPERIMENTAL && SYS_SUPPORTS_PM
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900863
864source kernel/power/Kconfig
865
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900866endmenu
867
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700868source "net/Kconfig"
869
Linus Torvalds1da177e2005-04-16 15:20:36 -0700870source "drivers/Kconfig"
871
872source "fs/Kconfig"
873
Mathieu Desnoyers09caded2007-10-18 23:41:05 -0700874source "kernel/Kconfig.instrumentation"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700875
876source "arch/sh/Kconfig.debug"
877
878source "security/Kconfig"
879
880source "crypto/Kconfig"
881
882source "lib/Kconfig"