blob: 0b88dc462d731c7c8c46525e3fa71eeb53e46cfd [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
David Brownell9483a572008-07-23 21:26:48 -070011 select HAVE_CLK
Sam Ravnborgec7748b2008-02-09 10:46:40 +010012 select HAVE_IDE
Mathieu Desnoyers42d4b832008-02-02 15:10:34 -050013 select HAVE_OPROFILE
Dmitry Baryshkov9de90ac2008-07-18 13:30:31 +040014 select HAVE_GENERIC_DMA_COHERENT
Linus Torvalds1da177e2005-04-16 15:20:36 -070015 help
16 The SuperH is a RISC processor targeted for use in embedded systems
17 and consumer electronics; it was also used in the Sega Dreamcast
18 gaming console. The SuperH port has a home page at
19 <http://www.linux-sh.org/>.
20
Paul Mundt39d28a22007-11-08 18:39:33 +090021config SUPERH32
Paul Mundtea0e1a92007-11-21 15:58:01 +090022 def_bool !SUPERH64
23
24config SUPERH64
25 def_bool y if CPU_SH5
Paul Mundt39d28a22007-11-08 18:39:33 +090026
Linus Torvalds1da177e2005-04-16 15:20:36 -070027config RWSEM_GENERIC_SPINLOCK
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090028 def_bool y
Linus Torvalds1da177e2005-04-16 15:20:36 -070029
30config RWSEM_XCHGADD_ALGORITHM
31 bool
32
Paul Mundtfa691512007-03-08 19:41:21 +090033config GENERIC_BUG
34 def_bool y
Paul Mundta82d53e2007-11-21 18:22:05 +090035 depends on BUG && SUPERH32
Paul Mundtfa691512007-03-08 19:41:21 +090036
Akinobu Mitae2268c72006-03-26 01:39:35 -080037config GENERIC_FIND_NEXT_BIT
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090038 def_bool y
Akinobu Mitae2268c72006-03-26 01:39:35 -080039
40config GENERIC_HWEIGHT
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090041 def_bool y
Akinobu Mitae2268c72006-03-26 01:39:35 -080042
Linus Torvalds1da177e2005-04-16 15:20:36 -070043config GENERIC_HARDIRQS
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090044 def_bool y
Linus Torvalds1da177e2005-04-16 15:20:36 -070045
46config GENERIC_IRQ_PROBE
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090047 def_bool y
Linus Torvalds1da177e2005-04-16 15:20:36 -070048
49config GENERIC_CALIBRATE_DELAY
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +090050 def_bool y
Linus Torvalds1da177e2005-04-16 15:20:36 -070051
Paul Mundtcad82442006-01-16 22:14:19 -080052config GENERIC_IOMAP
53 bool
54
Paul Mundt45882142006-10-04 13:21:45 +090055config GENERIC_TIME
56 def_bool n
57
Paul Mundt57be2b42007-05-09 17:33:24 +090058config GENERIC_CLOCKEVENTS
59 def_bool n
60
Paul Mundt357d5942007-06-11 15:32:07 +090061config SYS_SUPPORTS_PM
62 bool
63
Paul Mundt0a9b0db2007-01-24 21:56:20 +090064config SYS_SUPPORTS_APM_EMULATION
65 bool
Paul Mundt357d5942007-06-11 15:32:07 +090066 select SYS_SUPPORTS_PM
67
68config SYS_SUPPORTS_SMP
69 bool
70
71config SYS_SUPPORTS_NUMA
72 bool
73
74config SYS_SUPPORTS_PCI
75 bool
Paul Mundt0a9b0db2007-01-24 21:56:20 +090076
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
Magnus Damme7cc9a72008-02-07 20:18:21 +090095config IO_TRAPPED
96 bool
97
Linus Torvalds1da177e2005-04-16 15:20:36 -070098source "init/Kconfig"
99
100menu "System type"
101
Paul Mundtb5f42db2007-11-08 18:38:14 +0900102#
103# Processor families
104#
105config CPU_SH2
106 bool
107
108config CPU_SH2A
109 bool
110 select CPU_SH2
111
112config CPU_SH3
113 bool
114 select CPU_HAS_INTEVT
115 select CPU_HAS_SR_RB
116
117config CPU_SH4
118 bool
119 select CPU_HAS_INTEVT
120 select CPU_HAS_SR_RB
121 select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2
122 select CPU_HAS_FPU if !CPU_SH4AL_DSP
123
124config CPU_SH4A
125 bool
126 select CPU_SH4
127
128config CPU_SH4AL_DSP
129 bool
130 select CPU_SH4A
131 select CPU_HAS_DSP
132
Paul Mundtea0e1a92007-11-21 15:58:01 +0900133config CPU_SH5
134 bool
135 select CPU_HAS_FPU
136
Paul Mundtb5f42db2007-11-08 18:38:14 +0900137config CPU_SHX2
138 bool
139
140config CPU_SHX3
141 bool
142
143choice
144 prompt "Processor sub-type selection"
145
146#
147# Processor subtypes
148#
149
150# SH-2 Processor Support
151
152config CPU_SUBTYPE_SH7619
153 bool "Support SH7619 processor"
154 select CPU_SH2
155
156# SH-2A Processor Support
157
Paul Mundt6d01f512007-11-26 18:17:21 +0900158config CPU_SUBTYPE_SH7203
159 bool "Support SH7203 processor"
160 select CPU_SH2A
Paul Mundt74d99a52007-11-26 20:38:36 +0900161 select CPU_HAS_FPU
Paul Mundt6d01f512007-11-26 18:17:21 +0900162
Paul Mundtb5f42db2007-11-08 18:38:14 +0900163config CPU_SUBTYPE_SH7206
164 bool "Support SH7206 processor"
165 select CPU_SH2A
166
Paul Mundta8f67f42007-11-26 19:54:02 +0900167config CPU_SUBTYPE_SH7263
168 bool "Support SH7263 processor"
169 select CPU_SH2A
Paul Mundt74d99a52007-11-26 20:38:36 +0900170 select CPU_HAS_FPU
Paul Mundta8f67f42007-11-26 19:54:02 +0900171
Paul Mundt2ad69902008-03-13 12:52:44 +0900172config CPU_SUBTYPE_MXG
173 bool "Support MX-G processor"
174 select CPU_SH2A
175 help
176 Select MX-G if running on an R8A03022BG part.
177
Paul Mundtb5f42db2007-11-08 18:38:14 +0900178# SH-3 Processor Support
179
180config CPU_SUBTYPE_SH7705
181 bool "Support SH7705 processor"
182 select CPU_SH3
183
184config CPU_SUBTYPE_SH7706
185 bool "Support SH7706 processor"
186 select CPU_SH3
187 help
188 Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
189
190config CPU_SUBTYPE_SH7707
191 bool "Support SH7707 processor"
192 select CPU_SH3
193 help
194 Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU.
195
196config CPU_SUBTYPE_SH7708
197 bool "Support SH7708 processor"
198 select CPU_SH3
199 help
200 Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or
201 if you have a 100 Mhz SH-3 HD6417708R CPU.
202
203config CPU_SUBTYPE_SH7709
204 bool "Support SH7709 processor"
205 select CPU_SH3
206 help
207 Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU.
208
209config CPU_SUBTYPE_SH7710
210 bool "Support SH7710 processor"
211 select CPU_SH3
212 select CPU_HAS_DSP
213 help
214 Select SH7710 if you have a SH3-DSP SH7710 CPU.
215
216config CPU_SUBTYPE_SH7712
217 bool "Support SH7712 processor"
218 select CPU_SH3
219 select CPU_HAS_DSP
220 help
221 Select SH7712 if you have a SH3-DSP SH7712 CPU.
222
223config CPU_SUBTYPE_SH7720
224 bool "Support SH7720 processor"
225 select CPU_SH3
226 select CPU_HAS_DSP
227 help
228 Select SH7720 if you have a SH3-DSP SH7720 CPU.
229
Yoshihiro Shimoda31a49c42007-12-26 11:45:06 +0900230config CPU_SUBTYPE_SH7721
231 bool "Support SH7721 processor"
232 select CPU_SH3
233 select CPU_HAS_DSP
234 help
235 Select SH7721 if you have a SH3-DSP SH7721 CPU.
236
Paul Mundtb5f42db2007-11-08 18:38:14 +0900237# SH-4 Processor Support
238
239config CPU_SUBTYPE_SH7750
240 bool "Support SH7750 processor"
241 select CPU_SH4
242 help
243 Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
244
245config CPU_SUBTYPE_SH7091
246 bool "Support SH7091 processor"
247 select CPU_SH4
248 help
249 Select SH7091 if you have an SH-4 based Sega device (such as
250 the Dreamcast, Naomi, and Naomi 2).
251
252config CPU_SUBTYPE_SH7750R
253 bool "Support SH7750R processor"
254 select CPU_SH4
255
256config CPU_SUBTYPE_SH7750S
257 bool "Support SH7750S processor"
258 select CPU_SH4
259
260config CPU_SUBTYPE_SH7751
261 bool "Support SH7751 processor"
262 select CPU_SH4
263 help
264 Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
265 or if you have a HD6417751R CPU.
266
267config CPU_SUBTYPE_SH7751R
268 bool "Support SH7751R processor"
269 select CPU_SH4
270
271config CPU_SUBTYPE_SH7760
272 bool "Support SH7760 processor"
273 select CPU_SH4
274
275config CPU_SUBTYPE_SH4_202
276 bool "Support SH4-202 processor"
277 select CPU_SH4
278
279# SH-4A Processor Support
280
Paul Mundt178dd0c2008-04-09 17:56:18 +0900281config CPU_SUBTYPE_SH7723
282 bool "Support SH7723 processor"
283 select CPU_SH4A
284 select CPU_SHX2
285 select ARCH_SPARSEMEM_ENABLE
Paul Mundt178dd0c2008-04-09 17:56:18 +0900286 help
287 Select SH7723 if you have an SH-MobileR2 CPU.
288
Yoshihiro Shimoda7d740a02008-01-07 14:40:07 +0900289config CPU_SUBTYPE_SH7763
290 bool "Support SH7763 processor"
291 select CPU_SH4A
292 help
293 Select SH7763 if you have a SH4A SH7763(R5S77631) CPU.
294
Paul Mundtb5f42db2007-11-08 18:38:14 +0900295config CPU_SUBTYPE_SH7770
296 bool "Support SH7770 processor"
297 select CPU_SH4A
298
299config CPU_SUBTYPE_SH7780
300 bool "Support SH7780 processor"
301 select CPU_SH4A
302
303config CPU_SUBTYPE_SH7785
304 bool "Support SH7785 processor"
305 select CPU_SH4A
306 select CPU_SHX2
307 select ARCH_SPARSEMEM_ENABLE
308 select SYS_SUPPORTS_NUMA
309
310config CPU_SUBTYPE_SHX3
311 bool "Support SH-X3 processor"
312 select CPU_SH4A
313 select CPU_SHX3
314 select ARCH_SPARSEMEM_ENABLE
315 select SYS_SUPPORTS_NUMA
316 select SYS_SUPPORTS_SMP
317
318# SH4AL-DSP Processor Support
319
320config CPU_SUBTYPE_SH7343
321 bool "Support SH7343 processor"
322 select CPU_SH4AL_DSP
323
324config CPU_SUBTYPE_SH7722
325 bool "Support SH7722 processor"
326 select CPU_SH4AL_DSP
327 select CPU_SHX2
328 select ARCH_SPARSEMEM_ENABLE
329 select SYS_SUPPORTS_NUMA
330
Magnus Damm9109a302008-02-08 17:31:24 +0900331config CPU_SUBTYPE_SH7366
332 bool "Support SH7366 processor"
333 select CPU_SH4AL_DSP
334 select CPU_SHX2
335 select ARCH_SPARSEMEM_ENABLE
336 select SYS_SUPPORTS_NUMA
337
Paul Mundtea0e1a92007-11-21 15:58:01 +0900338# SH-5 Processor Support
339
340config CPU_SUBTYPE_SH5_101
341 bool "Support SH5-101 processor"
342 select CPU_SH5
343
344config CPU_SUBTYPE_SH5_103
345 bool "Support SH5-103 processor"
Paul Mundt8ef97dd2008-02-14 15:30:54 +0900346 select CPU_SH5
Paul Mundtea0e1a92007-11-21 15:58:01 +0900347
Paul Mundtb5f42db2007-11-08 18:38:14 +0900348endchoice
349
Paul Mundtcad82442006-01-16 22:14:19 -0800350source "arch/sh/mm/Kconfig"
Paul Mundt4690bdc2007-11-09 13:45:42 +0900351source "arch/sh/Kconfig.cpu"
Paul Mundtcad82442006-01-16 22:14:19 -0800352
Paul Mundtf3d22292007-05-14 17:29:12 +0900353menu "Board support"
354
355config SOLUTION_ENGINE
356 bool
357
358config SH_SOLUTION_ENGINE
359 bool "SolutionEngine"
360 select SOLUTION_ENGINE
Magnus Damm56386f62007-07-20 18:44:49 +0900361 select CPU_HAS_IPR_IRQ
Nobuhiro Iwamatsua8199072007-11-05 07:44:41 +0900362 depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \
363 CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \
364 CPU_SUBTYPE_SH7750R
Paul Mundtf3d22292007-05-14 17:29:12 +0900365 help
Nobuhiro Iwamatsua8199072007-11-05 07:44:41 +0900366 Select SolutionEngine if configuring for a Hitachi SH7705, SH7709,
367 SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board.
Paul Mundtf3d22292007-05-14 17:29:12 +0900368
369config SH_7206_SOLUTION_ENGINE
370 bool "SolutionEngine7206"
371 select SOLUTION_ENGINE
372 depends on CPU_SUBTYPE_SH7206
373 help
374 Select 7206 SolutionEngine if configuring for a Hitachi SH7206
375 evaluation board.
376
377config SH_7619_SOLUTION_ENGINE
378 bool "SolutionEngine7619"
379 select SOLUTION_ENGINE
380 depends on CPU_SUBTYPE_SH7619
381 help
382 Select 7619 SolutionEngine if configuring for a Hitachi SH7619
383 evaluation board.
384
Yoshihiro Shimoda6e862992008-03-21 15:54:13 +0900385config SH_7721_SOLUTION_ENGINE
386 bool "SolutionEngine7721"
387 select SOLUTION_ENGINE
388 depends on CPU_SUBTYPE_SH7721
389 help
390 Select 7721 SolutionEngine if configuring for a Hitachi SH7721
391 evaluation board.
392
Paul Mundtf3d22292007-05-14 17:29:12 +0900393config SH_7722_SOLUTION_ENGINE
394 bool "SolutionEngine7722"
395 select SOLUTION_ENGINE
396 depends on CPU_SUBTYPE_SH7722
397 help
398 Select 7722 SolutionEngine if configuring for a Hitachi SH772
399 evaluation board.
400
401config SH_7751_SOLUTION_ENGINE
402 bool "SolutionEngine7751"
403 select SOLUTION_ENGINE
Magnus Damm56386f62007-07-20 18:44:49 +0900404 select CPU_HAS_IPR_IRQ
Paul Mundtf3d22292007-05-14 17:29:12 +0900405 depends on CPU_SUBTYPE_SH7751
406 help
407 Select 7751 SolutionEngine if configuring for a Hitachi SH7751
408 evaluation board.
409
410config SH_7780_SOLUTION_ENGINE
411 bool "SolutionEngine7780"
412 select SOLUTION_ENGINE
Paul Mundt357d5942007-06-11 15:32:07 +0900413 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900414 depends on CPU_SUBTYPE_SH7780
415 help
416 Select 7780 SolutionEngine if configuring for a Renesas SH7780
417 evaluation board.
418
Paul Mundtf3d22292007-05-14 17:29:12 +0900419config SH_7343_SOLUTION_ENGINE
420 bool "SolutionEngine7343"
421 select SOLUTION_ENGINE
422 depends on CPU_SUBTYPE_SH7343
423 help
424 Select 7343 SolutionEngine if configuring for a Hitachi
425 SH7343 (SH-Mobile 3AS) evaluation board.
426
Paul Mundtf3d22292007-05-14 17:29:12 +0900427config SH_7751_SYSTEMH
428 bool "SystemH7751R"
429 depends on CPU_SUBTYPE_SH7751R
430 help
431 Select SystemH if you are configuring for a Renesas SystemH
432 7751R evaluation board.
433
434config SH_HP6XX
435 bool "HP6XX"
436 select SYS_SUPPORTS_APM_EMULATION
Paul Mundt357d5942007-06-11 15:32:07 +0900437 select HD6446X_SERIES
Paul Mundtf3d22292007-05-14 17:29:12 +0900438 depends on CPU_SUBTYPE_SH7709
439 help
440 Select HP6XX if configuring for a HP jornada HP6xx.
441 More information (hardware only) at
442 <http://www.hp.com/jornada/>.
443
Paul Mundtf3d22292007-05-14 17:29:12 +0900444config SH_DREAMCAST
445 bool "Dreamcast"
Paul Mundt357d5942007-06-11 15:32:07 +0900446 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900447 depends on CPU_SUBTYPE_SH7091
448 help
449 Select Dreamcast if configuring for a SEGA Dreamcast.
Adrian McMenaminad07b102007-10-15 10:38:31 +0900450 More information at <http://www.linux-sh.org>
Paul Mundtf3d22292007-05-14 17:29:12 +0900451
Paul Mundtf3d22292007-05-14 17:29:12 +0900452config SH_SH03
453 bool "Interface CTP/PCI-SH03"
Magnus Dammd59645d2007-08-03 14:23:35 +0900454 depends on CPU_SUBTYPE_SH7751
Magnus Damm56386f62007-07-20 18:44:49 +0900455 select CPU_HAS_IPR_IRQ
Paul Mundt357d5942007-06-11 15:32:07 +0900456 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900457 help
458 CTP/PCI-SH03 is a CPU module computer that is produced
459 by Interface Corporation.
460 More information at <http://www.interface.co.jp>
461
462config SH_SECUREEDGE5410
463 bool "SecureEdge5410"
464 depends on CPU_SUBTYPE_SH7751R
Magnus Damm56386f62007-07-20 18:44:49 +0900465 select CPU_HAS_IPR_IRQ
Paul Mundt357d5942007-06-11 15:32:07 +0900466 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900467 help
468 Select SecureEdge5410 if configuring for a SnapGear SH board.
469 This includes both the OEM SecureEdge products as well as the
470 SME product line.
471
Paul Mundtf3d22292007-05-14 17:29:12 +0900472config SH_RTS7751R2D
473 bool "RTS7751R2D"
474 depends on CPU_SUBTYPE_SH7751R
Paul Mundt357d5942007-06-11 15:32:07 +0900475 select SYS_SUPPORTS_PCI
Magnus Damm2d952b42008-02-07 20:21:10 +0900476 select IO_TRAPPED
Paul Mundtf3d22292007-05-14 17:29:12 +0900477 help
478 Select RTS7751R2D if configuring for a Renesas Technology
479 Sales SH-Graphics board.
480
Paul Mundt3787aa12008-05-19 16:47:56 +0900481config SH_RSK7203
482 bool "RSK7203"
483 depends on CPU_SUBTYPE_SH7203
484
Nicholas Beck4862ec02008-01-23 12:50:51 +0900485config SH_SDK7780
486 bool "SDK7780R3"
487 depends on CPU_SUBTYPE_SH7780
488 select SYS_SUPPORTS_PCI
489 help
490 Select SDK7780 if configuring for a Renesas SH7780 SDK7780R3
491 evaluation board.
492
Paul Mundtf3d22292007-05-14 17:29:12 +0900493config SH_HIGHLANDER
494 bool "Highlander"
495 depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785
Paul Mundt357d5942007-06-11 15:32:07 +0900496 select SYS_SUPPORTS_PCI
Magnus Dammc1a34e42008-02-07 20:23:53 +0900497 select IO_TRAPPED
Paul Mundtf3d22292007-05-14 17:29:12 +0900498
Yoshihiro Shimodacbe9da02008-07-16 20:21:09 +0900499config SH_SH7785LCR
500 bool "SH7785LCR"
501 depends on CPU_SUBTYPE_SH7785
502 select SYS_SUPPORTS_PCI
503 select IO_TRAPPED
504
505config SH_SH7785LCR_29BIT_PHYSMAPS
506 bool "SH7785LCR 29bit physmaps"
507 depends on SH_SH7785LCR
508 default y
509 help
510 This board has 2 physical memory maps. It can be changed with
511 DIP switch(S2-5). If you set the DIP switch for S2-5 = ON,
512 you can access all on-board device in 29bit address mode.
513
Magnus Damm70f784e2008-02-07 00:38:24 +0900514config SH_MIGOR
515 bool "Migo-R"
516 depends on CPU_SUBTYPE_SH7722
517 help
518 Select Migo-R if configuring for the SH7722 Migo-R platform
519 by Renesas System Solutions Asia Pte. Ltd.
520
Yusuke Goda04e917b2008-06-06 17:03:23 +0900521config SH_AP325RXA
522 bool "AP-325RXA"
Nobuhiro Iwamatsu7c93d872008-06-19 19:27:55 +0900523 depends on CPU_SUBTYPE_SH7723
Yusuke Goda04e917b2008-06-06 17:03:23 +0900524 help
525 Renesas "AP-325RXA" support.
526 Compatible with ALGO SYSTEM CO.,LTD. "AP-320A"
527
Nobuhiro Iwamatsu4cec1a32008-06-06 17:04:56 +0900528config SH_SH7763RDP
529 bool "SH7763RDP"
530 depends on CPU_SUBTYPE_SH7763
531 help
532 Select SH7763RDP if configuring for a Renesas SH7763
533 evaluation board.
534
Paul Mundtf3d22292007-05-14 17:29:12 +0900535config SH_EDOSK7705
536 bool "EDOSK7705"
537 depends on CPU_SUBTYPE_SH7705
538
539config SH_SH4202_MICRODEV
540 bool "SH4-202 MicroDev"
541 depends on CPU_SUBTYPE_SH4_202
542 help
543 Select SH4-202 MicroDev if configuring for a SuperH MicroDev board
544 with an SH4-202 CPU.
545
546config SH_LANDISK
547 bool "LANDISK"
548 depends on CPU_SUBTYPE_SH7751R
Paul Mundt357d5942007-06-11 15:32:07 +0900549 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900550 help
551 I-O DATA DEVICE, INC. "LANDISK Series" support.
552
553config SH_TITAN
554 bool "TITAN"
555 depends on CPU_SUBTYPE_SH7751R
Magnus Damm56386f62007-07-20 18:44:49 +0900556 select CPU_HAS_IPR_IRQ
Paul Mundt357d5942007-06-11 15:32:07 +0900557 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900558 help
559 Select Titan if you are configuring for a Nimble Microsystems
560 NetEngine NP51R.
561
562config SH_SHMIN
563 bool "SHMIN"
564 depends on CPU_SUBTYPE_SH7706
Magnus Damm56386f62007-07-20 18:44:49 +0900565 select CPU_HAS_IPR_IRQ
Paul Mundtf3d22292007-05-14 17:29:12 +0900566 help
567 Select SHMIN if configuring for the SHMIN board.
568
569config SH_LBOX_RE2
570 bool "L-BOX RE2"
571 depends on CPU_SUBTYPE_SH7751R
Paul Mundt357d5942007-06-11 15:32:07 +0900572 select SYS_SUPPORTS_PCI
Paul Mundtf3d22292007-05-14 17:29:12 +0900573 help
574 Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2.
575
Paul Mundt94807a32007-08-08 15:22:04 +0900576config SH_X3PROTO
577 bool "SH-X3 Prototype board"
578 depends on CPU_SUBTYPE_SHX3
579
Markus Brunnerded54312007-09-12 11:54:58 +0900580config SH_MAGIC_PANEL_R2
581 bool "Magic Panel R2"
582 depends on CPU_SUBTYPE_SH7720
583 help
584 Select Magic Panel R2 if configuring for Magic Panel R2.
585
Paul Mundtea0e1a92007-11-21 15:58:01 +0900586config SH_CAYMAN
587 bool "Hitachi Cayman"
588 depends on CPU_SUBTYPE_SH5_101 || CPU_SUBTYPE_SH5_103
Paul Mundtb6d7b662007-11-22 16:29:10 +0900589 select SYS_SUPPORTS_PCI
Paul Mundtea0e1a92007-11-21 15:58:01 +0900590
Paul Mundtf3d22292007-05-14 17:29:12 +0900591endmenu
592
Paul Mundtf3d22292007-05-14 17:29:12 +0900593source "arch/sh/boards/renesas/rts7751r2d/Kconfig"
594source "arch/sh/boards/renesas/r7780rp/Kconfig"
Nicholas Beck4862ec02008-01-23 12:50:51 +0900595source "arch/sh/boards/renesas/sdk7780/Kconfig"
Magnus Damm8b1285f2008-07-28 18:47:30 +0900596source "arch/sh/boards/renesas/migor/Kconfig"
Markus Brunnerded54312007-09-12 11:54:58 +0900597source "arch/sh/boards/magicpanelr2/Kconfig"
Paul Mundtf3d22292007-05-14 17:29:12 +0900598
Paul Mundt32351a22007-03-12 14:38:59 +0900599menu "Timer and clock configuration"
600
Paul Mundtcad82442006-01-16 22:14:19 -0800601config SH_TMU
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900602 def_bool y
603 prompt "TMU timer support"
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900604 depends on CPU_SH3 || CPU_SH4
Paul Mundt57be2b42007-05-09 17:33:24 +0900605 select GENERIC_TIME
606 select GENERIC_CLOCKEVENTS
Paul Mundtcad82442006-01-16 22:14:19 -0800607 help
608 This enables the use of the TMU as the system timer.
609
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900610config SH_CMT
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900611 def_bool y
612 prompt "CMT timer support"
Paul Mundt2ad69902008-03-13 12:52:44 +0900613 depends on CPU_SH2 && !CPU_SUBTYPE_MXG
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900614 help
615 This enables the use of the CMT as the system timer.
616
617config SH_MTU2
Harvey Harrisond7ef4fb2007-12-11 13:49:35 +0900618 def_bool n
619 prompt "MTU2 timer support"
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900620 depends on CPU_SH2A
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900621 help
622 This enables the use of the MTU2 as the system timer.
623
Paul Mundt417528a2006-11-20 11:18:30 +0900624config SH_TIMER_IRQ
625 int
Yoshihiro Shimoda7d740a02008-01-07 14:40:07 +0900626 default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 || \
627 CPU_SUBTYPE_SH7763
Paul Mundt417528a2006-11-20 11:18:30 +0900628 default "86" if CPU_SUBTYPE_SH7619
629 default "140" if CPU_SUBTYPE_SH7206
Paul Mundt2b2d4e72008-03-13 19:51:06 +0900630 default "142" if CPU_SUBTYPE_SH7203
Paul Mundt2ad69902008-03-13 12:52:44 +0900631 default "238" if CPU_SUBTYPE_MXG
Paul Mundt417528a2006-11-20 11:18:30 +0900632 default "16"
633
Paul Mundtcad82442006-01-16 22:14:19 -0800634config SH_PCLK_FREQ
635 int "Peripheral clock frequency (in Hz)"
Magnus Damm870e8a22007-07-25 10:49:21 +0900636 default "27000000" if CPU_SUBTYPE_SH7343
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900637 default "31250000" if CPU_SUBTYPE_SH7619
Paul Mundt05627482007-05-15 16:25:47 +0900638 default "32000000" if CPU_SUBTYPE_SH7722
Paul Mundt178dd0c2008-04-09 17:56:18 +0900639 default "33333333" if CPU_SUBTYPE_SH7770 || CPU_SUBTYPE_SH7723 || \
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900640 CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \
Paul Mundta8f67f42007-11-26 19:54:02 +0900641 CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \
Paul Mundt2ad69902008-03-13 12:52:44 +0900642 CPU_SUBTYPE_SH7263 || CPU_SUBTYPE_MXG
Paul Mundt05627482007-05-15 16:25:47 +0900643 default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
Paul Mundtcad82442006-01-16 22:14:19 -0800644 default "66000000" if CPU_SUBTYPE_SH4_202
Paul Mundt05627482007-05-15 16:25:47 +0900645 default "50000000"
Paul Mundtcad82442006-01-16 22:14:19 -0800646 help
647 This option is used to specify the peripheral clock frequency.
648 This is necessary for determining the reference clock value on
649 platforms lacking an RTC.
650
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900651config SH_CLK_MD
652 int "CPU Mode Pin Setting"
Paul Mundt6d01f512007-11-26 18:17:21 +0900653 depends on CPU_SH2
Paul Mundt357d5942007-06-11 15:32:07 +0900654 default 6 if CPU_SUBTYPE_SH7206
655 default 5 if CPU_SUBTYPE_SH7619
656 default 0
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900657 help
Yoshinori Sato11cbb702006-12-07 18:07:27 +0900658 MD2 - MD0 pin setting.
Yoshinori Sato9d4436a2006-11-05 15:40:13 +0900659
Paul Mundt57be2b42007-05-09 17:33:24 +0900660source "kernel/time/Kconfig"
661
Paul Mundt32351a22007-03-12 14:38:59 +0900662endmenu
663
Paul Mundtcad82442006-01-16 22:14:19 -0800664menu "CPU Frequency scaling"
665
666source "drivers/cpufreq/Kconfig"
667
668config SH_CPU_FREQ
669 tristate "SuperH CPU Frequency driver"
Paul Mundtcb5ec752007-07-20 13:38:19 +0900670 depends on CPU_FREQ
Paul Mundtcad82442006-01-16 22:14:19 -0800671 select CPU_FREQ_TABLE
672 help
673 This adds the cpufreq driver for SuperH. At present, only
674 the SH-4 is supported.
675
676 For details, take a look at <file:Documentation/cpu-freq>.
677
678 If unsure, say N.
679
680endmenu
681
Paul Mundt9f5e8ee2006-11-24 11:22:57 +0900682source "arch/sh/drivers/Kconfig"
683
Paul Mundtcad82442006-01-16 22:14:19 -0800684endmenu
685
686config ISA_DMA_API
Adrian Bunkf5f826c2008-03-31 01:40:17 +0300687 bool
Paul Mundtcad82442006-01-16 22:14:19 -0800688
689menu "Kernel features"
690
Paul Mundt91b91d02006-09-27 18:08:33 +0900691source kernel/Kconfig.hz
692
Paul Mundtcad82442006-01-16 22:14:19 -0800693config KEXEC
694 bool "kexec system call (EXPERIMENTAL)"
Paul Mundt640f7482008-04-25 13:04:56 +0900695 depends on SUPERH32 && EXPERIMENTAL
Paul Mundtcad82442006-01-16 22:14:19 -0800696 help
697 kexec is a system call that implements the ability to shutdown your
698 current kernel, and to start another kernel. It is like a reboot
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400699 but it is independent of the system firmware. And like a reboot
Paul Mundtcad82442006-01-16 22:14:19 -0800700 you can start any kernel with it, not just Linux.
701
Matt LaPlante1f1332f2006-06-29 01:32:47 -0400702 The name comes from the similarity to the exec system call.
Paul Mundtcad82442006-01-16 22:14:19 -0800703
704 It is an ongoing process to be certain the hardware in a machine
705 is properly shutdown, so do not be surprised if this code does not
706 initially work for you. It may help to enable device hotplugging
707 support. As of this writing the exact hardware interface is
708 strongly in flux, so no good recommendation can be made.
709
Paul Mundt4d5ade52007-04-27 11:25:57 +0900710config CRASH_DUMP
711 bool "kernel crash dumps (EXPERIMENTAL)"
Paul Mundt640f7482008-04-25 13:04:56 +0900712 depends on SUPERH32 && EXPERIMENTAL
Paul Mundt4d5ade52007-04-27 11:25:57 +0900713 help
714 Generate crash dump after being started by kexec.
715 This should be normally only set in special crash dump kernels
716 which are loaded in the main kernel with kexec-tools into
717 a specially reserved region and then later executed after
718 a crash by kdump/kexec. The crash dump kernel must be compiled
719 to a memory address not used by the main kernel using
720 MEMORY_START.
721
722 For more details see Documentation/kdump/kdump.txt
723
Linus Torvalds1da177e2005-04-16 15:20:36 -0700724config SMP
725 bool "Symmetric multi-processing support"
Paul Mundt357d5942007-06-11 15:32:07 +0900726 depends on SYS_SUPPORTS_SMP
Jens Axboe490f5de2008-06-10 20:52:59 +0200727 select USE_GENERIC_SMP_HELPERS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700728 ---help---
729 This enables support for systems with more than one CPU. If you have
730 a system with only one CPU, like most personal computers, say N. If
731 you have a system with more than one CPU, say Y.
732
733 If you say N here, the kernel will run on single and multiprocessor
734 machines, but will use only one CPU of a multiprocessor machine. If
735 you say Y here, the kernel will run on many, but not all,
736 singleprocessor machines. On a singleprocessor machine, the kernel
737 will run faster if you say N here.
738
739 People using multiprocessor machines who say Y here should also say
740 Y to "Enhanced Real Time Clock Support", below.
741
Adrian Bunk03502fa2008-02-03 15:50:21 +0200742 See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
743 available at <http://www.tldp.org/docs.html#howto>.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700744
745 If you don't know what to do here, say N.
746
747config NR_CPUS
748 int "Maximum number of CPUs (2-32)"
749 range 2 32
750 depends on SMP
Paul Mundt2b1bd1a2007-06-20 18:27:10 +0900751 default "4" if CPU_SHX3
Linus Torvalds1da177e2005-04-16 15:20:36 -0700752 default "2"
753 help
754 This allows you to specify the maximum number of CPUs which this
755 kernel will support. The maximum supported value is 32 and the
756 minimum value which makes sense is 2.
757
758 This is purely to save memory - each supported CPU adds
759 approximately eight kilobytes to the kernel image.
760
Paul Mundt91b91d02006-09-27 18:08:33 +0900761source "kernel/Kconfig.preempt"
762
Paul Mundt83662462007-09-28 16:04:49 +0900763config GUSA
764 def_bool y
Stuart Menefy1efe4ce2007-11-30 16:12:36 +0900765 depends on !SMP && SUPERH32
Paul Mundt83662462007-09-28 16:04:49 +0900766 help
767 This enables support for gUSA (general UserSpace Atomicity).
768 This is the default implementation for both UP and non-ll/sc
769 CPUs, and is used by the libc, amongst others.
770
771 For additional information, design information can be found
772 in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
773
774 This should only be disabled for special cases where alternate
775 atomicity implementations exist.
776
Stuart Menefy1efe4ce2007-11-30 16:12:36 +0900777config GUSA_RB
778 bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)"
779 depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A)
780 help
781 Enabling this option will allow the kernel to implement some
782 atomic operations using a software implemention of load-locked/
783 store-conditional (LLSC). On machines which do not have hardware
784 LLSC, this should be more efficient than the other alternative of
785 disabling insterrupts around the atomic sequence.
786
Paul Mundtcad82442006-01-16 22:14:19 -0800787endmenu
788
789menu "Boot options"
790
791config ZERO_PAGE_OFFSET
792 hex "Zero page offset"
Adrian Bunkf5f826c2008-03-31 01:40:17 +0300793 default "0x00004000" if SH_SH03
Paul Mundt7a847f82006-12-26 15:29:19 +0900794 default "0x00010000" if PAGE_SIZE_64KB
795 default "0x00002000" if PAGE_SIZE_8KB
Paul Mundtcad82442006-01-16 22:14:19 -0800796 default "0x00001000"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700797 help
Paul Mundtcad82442006-01-16 22:14:19 -0800798 This sets the default offset of zero page.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700799
Paul Mundtcad82442006-01-16 22:14:19 -0800800config BOOT_LINK_OFFSET
801 hex "Link address offset for booting"
802 default "0x00800000"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700803 help
Paul Mundtcad82442006-01-16 22:14:19 -0800804 This option allows you to set the link address offset of the zImage.
805 This can be useful if you are on a board which has a small amount of
806 memory.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700807
Paul Mundtcad82442006-01-16 22:14:19 -0800808config UBC_WAKEUP
809 bool "Wakeup UBC on startup"
Paul Mundt0e3a9aa2007-11-06 15:55:36 +0900810 depends on CPU_SH4 && !CPU_SH4A
Paul Mundtcad82442006-01-16 22:14:19 -0800811 help
812 Selecting this option will wakeup the User Break Controller (UBC) on
813 startup. Although the UBC is left in an awake state when the processor
814 comes up, some boot loaders misbehave by putting the UBC to sleep in a
815 power saving state, which causes issues with things like ptrace().
Linus Torvalds1da177e2005-04-16 15:20:36 -0700816
817 If unsure, say N.
818
Paul Mundtcad82442006-01-16 22:14:19 -0800819config CMDLINE_BOOL
820 bool "Default bootloader kernel arguments"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700821
Paul Mundtcad82442006-01-16 22:14:19 -0800822config CMDLINE
823 string "Initial kernel command string"
824 depends on CMDLINE_BOOL
825 default "console=ttySC1,115200"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700826
827endmenu
828
Paul Mundtcad82442006-01-16 22:14:19 -0800829menu "Bus options"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700830
831# Even on SuperH devices which don't have an ISA bus,
832# this variable helps the PCMCIA modules handle
833# IRQ requesting properly -- Greg Banks.
834#
835# Though we're generally not interested in it when
836# we're not using PCMCIA, so we make it dependent on
837# PCMCIA outright. -- PFM.
838config ISA
Paul Mundt357d5942007-06-11 15:32:07 +0900839 def_bool y
840 depends on PCMCIA && HD6446X_SERIES
Linus Torvalds1da177e2005-04-16 15:20:36 -0700841 help
842 Find out whether you have ISA slots on your motherboard. ISA is the
843 name of a bus system, i.e. the way the CPU talks to the other stuff
844 inside your box. Other bus systems are PCI, EISA, MicroChannel
845 (MCA) or VESA. ISA is an older system, now being displaced by PCI;
846 newer boards don't support it. If you have ISA, say Y, otherwise N.
847
848config EISA
849 bool
850 ---help---
851 The Extended Industry Standard Architecture (EISA) bus was
852 developed as an open alternative to the IBM MicroChannel bus.
853
854 The EISA bus provided some of the features of the IBM MicroChannel
855 bus while maintaining backward compatibility with cards made for
856 the older ISA bus. The EISA bus saw limited use between 1988 and
857 1995 when it was made obsolete by the PCI bus.
858
859 Say Y here if you are building a kernel for an EISA-based machine.
860
861 Otherwise, say N.
862
863config MCA
864 bool
865 help
866 MicroChannel Architecture is found in some IBM PS/2 machines and
867 laptops. It is a bus system similar to PCI or ISA. See
868 <file:Documentation/mca.txt> (and especially the web page given
869 there) before attempting to build an MCA bus kernel.
870
871config SBUS
872 bool
873
Paul Mundtcad82442006-01-16 22:14:19 -0800874config SUPERHYWAY
875 tristate "SuperHyway Bus support"
876 depends on CPU_SUBTYPE_SH4_202
Linus Torvalds1da177e2005-04-16 15:20:36 -0700877
Adrian McMenamin17be2d22007-09-21 15:55:55 +0900878config MAPLE
879 bool "Maple Bus support"
880 depends on SH_DREAMCAST
881 help
882 The Maple Bus is SEGA's serial communication bus for peripherals
883 on the Dreamcast. Without this bus support you won't be able to
884 get your Dreamcast keyboard etc to work, so most users
885 probably want to say 'Y' here, unless you are only using the
886 Dreamcast with a serial line terminal or a remote network
887 connection.
888
Paul Mundt824e55f2007-06-20 18:01:52 +0900889config CF_ENABLER
890 bool "Compact Flash Enabler support"
891 depends on SOLUTION_ENGINE || SH_SH03
892 ---help---
893 Compact Flash is a small, removable mass storage device introduced
894 in 1994 originally as a PCMCIA device. If you say `Y' here, you
895 compile in support for Compact Flash devices directly connected to
896 a SuperH processor. A Compact Flash FAQ is available at
897 <http://www.compactflash.org/faqs/faq.htm>.
898
899 If your board has "Directly Connected" CompactFlash at area 5 or 6,
900 you may want to enable this option. Then, you can use CF as
901 primary IDE drive (only tested for SanDisk).
902
903 If in doubt, select 'N'.
904
905choice
906 prompt "Compact Flash Connection Area"
907 depends on CF_ENABLER
908 default CF_AREA6
909
910config CF_AREA5
911 bool "Area5"
912 help
913 If your board has "Directly Connected" CompactFlash, You should
914 select the area where your CF is connected to.
915
916 - "Area5" if CompactFlash is connected to Area 5 (0x14000000)
917 - "Area6" if it is connected to Area 6 (0x18000000)
918
919 "Area6" will work for most boards.
920
921config CF_AREA6
922 bool "Area6"
923
924endchoice
925
926config CF_BASE_ADDR
927 hex
928 depends on CF_ENABLER
929 default "0xb8000000" if CF_AREA6
930 default "0xb4000000" if CF_AREA5
931
Linus Torvalds1da177e2005-04-16 15:20:36 -0700932source "arch/sh/drivers/pci/Kconfig"
933
934source "drivers/pci/Kconfig"
935
936source "drivers/pcmcia/Kconfig"
937
938source "drivers/pci/hotplug/Kconfig"
939
940endmenu
941
942menu "Executable file formats"
943
944source "fs/Kconfig.binfmt"
945
946endmenu
947
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900948menu "Power management options (EXPERIMENTAL)"
Paul Mundt357d5942007-06-11 15:32:07 +0900949depends on EXPERIMENTAL && SYS_SUPPORTS_PM
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900950
Johannes Bergf4cb5702007-12-08 02:14:00 +0100951config ARCH_SUSPEND_POSSIBLE
952 def_bool y
953 depends on !SMP
954
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900955source kernel/power/Kconfig
956
Andriy Skulysh3aa770e2006-09-27 16:20:22 +0900957endmenu
958
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700959source "net/Kconfig"
960
Linus Torvalds1da177e2005-04-16 15:20:36 -0700961source "drivers/Kconfig"
962
963source "fs/Kconfig"
964
Linus Torvalds1da177e2005-04-16 15:20:36 -0700965source "arch/sh/Kconfig.debug"
966
967source "security/Kconfig"
968
969source "crypto/Kconfig"
970
971source "lib/Kconfig"