]>
Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | # |
2 | # For a description of the syntax of this configuration file, | |
3 | # see Documentation/kbuild/kconfig-language.txt. | |
4 | # | |
5 | ||
6 | mainmenu "Linux/SuperH Kernel Configuration" | |
7 | ||
8 | config SUPERH | |
ea0e1a9a | 9 | def_bool y |
7a440c95 | 10 | select EMBEDDED |
1da177e4 LT |
11 | 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 | ||
39d28a2d | 17 | config SUPERH32 |
ea0e1a9a PM |
18 | def_bool !SUPERH64 |
19 | ||
20 | config SUPERH64 | |
21 | def_bool y if CPU_SH5 | |
39d28a2d | 22 | |
1da177e4 LT |
23 | config RWSEM_GENERIC_SPINLOCK |
24 | bool | |
25 | default y | |
26 | ||
ea0e1a9a PM |
27 | config SUPERH64 |
28 | def_bool y if CPU_SH5 | |
29 | ||
1da177e4 LT |
30 | config RWSEM_XCHGADD_ALGORITHM |
31 | bool | |
32 | ||
fa691511 PM |
33 | config GENERIC_BUG |
34 | def_bool y | |
35 | depends on BUG | |
36 | ||
e2268c71 AM |
37 | config GENERIC_FIND_NEXT_BIT |
38 | bool | |
39 | default y | |
40 | ||
41 | config GENERIC_HWEIGHT | |
42 | bool | |
43 | default y | |
44 | ||
1da177e4 LT |
45 | config GENERIC_HARDIRQS |
46 | bool | |
47 | default y | |
48 | ||
49 | config GENERIC_IRQ_PROBE | |
50 | bool | |
51 | default y | |
52 | ||
53 | config GENERIC_CALIBRATE_DELAY | |
54 | bool | |
55 | default y | |
56 | ||
cad82448 PM |
57 | config GENERIC_IOMAP |
58 | bool | |
59 | ||
45882145 PM |
60 | config GENERIC_TIME |
61 | def_bool n | |
62 | ||
57be2b48 PM |
63 | config GENERIC_CLOCKEVENTS |
64 | def_bool n | |
65 | ||
357d5946 PM |
66 | config SYS_SUPPORTS_PM |
67 | bool | |
68 | ||
0a9b0db1 PM |
69 | config SYS_SUPPORTS_APM_EMULATION |
70 | bool | |
357d5946 PM |
71 | select SYS_SUPPORTS_PM |
72 | ||
73 | config SYS_SUPPORTS_SMP | |
74 | bool | |
75 | ||
76 | config SYS_SUPPORTS_NUMA | |
77 | bool | |
78 | ||
79 | config SYS_SUPPORTS_PCI | |
80 | bool | |
0a9b0db1 | 81 | |
a08b6b79 AV |
82 | config ARCH_MAY_HAVE_PC_FDC |
83 | bool | |
a08b6b79 | 84 | |
afbfb52e PM |
85 | config STACKTRACE_SUPPORT |
86 | bool | |
87 | default y | |
88 | ||
89 | config LOCKDEP_SUPPORT | |
90 | bool | |
91 | default y | |
92 | ||
f0d1b0b3 DH |
93 | config ARCH_HAS_ILOG2_U32 |
94 | bool | |
95 | default n | |
96 | ||
97 | config ARCH_HAS_ILOG2_U64 | |
98 | bool | |
99 | default n | |
100 | ||
e257ad06 PM |
101 | config ARCH_NO_VIRT_TO_BUS |
102 | def_bool y | |
103 | ||
1da177e4 LT |
104 | source "init/Kconfig" |
105 | ||
106 | menu "System type" | |
107 | ||
b5f42db0 PM |
108 | # |
109 | # Processor families | |
110 | # | |
111 | config CPU_SH2 | |
112 | bool | |
113 | ||
114 | config CPU_SH2A | |
115 | bool | |
116 | select CPU_SH2 | |
117 | ||
118 | config CPU_SH3 | |
119 | bool | |
120 | select CPU_HAS_INTEVT | |
121 | select CPU_HAS_SR_RB | |
122 | ||
123 | config CPU_SH4 | |
124 | bool | |
125 | select CPU_HAS_INTEVT | |
126 | select CPU_HAS_SR_RB | |
127 | select CPU_HAS_PTEA if !CPU_SH4A || CPU_SHX2 | |
128 | select CPU_HAS_FPU if !CPU_SH4AL_DSP | |
129 | ||
130 | config CPU_SH4A | |
131 | bool | |
132 | select CPU_SH4 | |
133 | ||
134 | config CPU_SH4AL_DSP | |
135 | bool | |
136 | select CPU_SH4A | |
137 | select CPU_HAS_DSP | |
138 | ||
ea0e1a9a PM |
139 | config CPU_SH5 |
140 | bool | |
141 | select CPU_HAS_FPU | |
142 | ||
b5f42db0 PM |
143 | config CPU_SHX2 |
144 | bool | |
145 | ||
146 | config CPU_SHX3 | |
147 | bool | |
148 | ||
149 | choice | |
150 | prompt "Processor sub-type selection" | |
151 | ||
152 | # | |
153 | # Processor subtypes | |
154 | # | |
155 | ||
156 | # SH-2 Processor Support | |
157 | ||
158 | config CPU_SUBTYPE_SH7619 | |
159 | bool "Support SH7619 processor" | |
160 | select CPU_SH2 | |
161 | ||
162 | # SH-2A Processor Support | |
163 | ||
164 | config CPU_SUBTYPE_SH7206 | |
165 | bool "Support SH7206 processor" | |
166 | select CPU_SH2A | |
167 | ||
168 | # SH-3 Processor Support | |
169 | ||
170 | config CPU_SUBTYPE_SH7705 | |
171 | bool "Support SH7705 processor" | |
172 | select CPU_SH3 | |
173 | ||
174 | config CPU_SUBTYPE_SH7706 | |
175 | bool "Support SH7706 processor" | |
176 | select CPU_SH3 | |
177 | help | |
178 | Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU. | |
179 | ||
180 | config CPU_SUBTYPE_SH7707 | |
181 | bool "Support SH7707 processor" | |
182 | select CPU_SH3 | |
183 | help | |
184 | Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU. | |
185 | ||
186 | config CPU_SUBTYPE_SH7708 | |
187 | bool "Support SH7708 processor" | |
188 | select CPU_SH3 | |
189 | help | |
190 | Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or | |
191 | if you have a 100 Mhz SH-3 HD6417708R CPU. | |
192 | ||
193 | config CPU_SUBTYPE_SH7709 | |
194 | bool "Support SH7709 processor" | |
195 | select CPU_SH3 | |
196 | help | |
197 | Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU. | |
198 | ||
199 | config CPU_SUBTYPE_SH7710 | |
200 | bool "Support SH7710 processor" | |
201 | select CPU_SH3 | |
202 | select CPU_HAS_DSP | |
203 | help | |
204 | Select SH7710 if you have a SH3-DSP SH7710 CPU. | |
205 | ||
206 | config CPU_SUBTYPE_SH7712 | |
207 | bool "Support SH7712 processor" | |
208 | select CPU_SH3 | |
209 | select CPU_HAS_DSP | |
210 | help | |
211 | Select SH7712 if you have a SH3-DSP SH7712 CPU. | |
212 | ||
213 | config CPU_SUBTYPE_SH7720 | |
214 | bool "Support SH7720 processor" | |
215 | select CPU_SH3 | |
216 | select CPU_HAS_DSP | |
217 | help | |
218 | Select SH7720 if you have a SH3-DSP SH7720 CPU. | |
219 | ||
220 | # SH-4 Processor Support | |
221 | ||
222 | config CPU_SUBTYPE_SH7750 | |
223 | bool "Support SH7750 processor" | |
224 | select CPU_SH4 | |
225 | help | |
226 | Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU. | |
227 | ||
228 | config CPU_SUBTYPE_SH7091 | |
229 | bool "Support SH7091 processor" | |
230 | select CPU_SH4 | |
231 | help | |
232 | Select SH7091 if you have an SH-4 based Sega device (such as | |
233 | the Dreamcast, Naomi, and Naomi 2). | |
234 | ||
235 | config CPU_SUBTYPE_SH7750R | |
236 | bool "Support SH7750R processor" | |
237 | select CPU_SH4 | |
238 | ||
239 | config CPU_SUBTYPE_SH7750S | |
240 | bool "Support SH7750S processor" | |
241 | select CPU_SH4 | |
242 | ||
243 | config CPU_SUBTYPE_SH7751 | |
244 | bool "Support SH7751 processor" | |
245 | select CPU_SH4 | |
246 | help | |
247 | Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU, | |
248 | or if you have a HD6417751R CPU. | |
249 | ||
250 | config CPU_SUBTYPE_SH7751R | |
251 | bool "Support SH7751R processor" | |
252 | select CPU_SH4 | |
253 | ||
254 | config CPU_SUBTYPE_SH7760 | |
255 | bool "Support SH7760 processor" | |
256 | select CPU_SH4 | |
257 | ||
258 | config CPU_SUBTYPE_SH4_202 | |
259 | bool "Support SH4-202 processor" | |
260 | select CPU_SH4 | |
261 | ||
262 | # SH-4A Processor Support | |
263 | ||
264 | config CPU_SUBTYPE_SH7770 | |
265 | bool "Support SH7770 processor" | |
266 | select CPU_SH4A | |
267 | ||
268 | config CPU_SUBTYPE_SH7780 | |
269 | bool "Support SH7780 processor" | |
270 | select CPU_SH4A | |
271 | ||
272 | config CPU_SUBTYPE_SH7785 | |
273 | bool "Support SH7785 processor" | |
274 | select CPU_SH4A | |
275 | select CPU_SHX2 | |
276 | select ARCH_SPARSEMEM_ENABLE | |
277 | select SYS_SUPPORTS_NUMA | |
278 | ||
279 | config CPU_SUBTYPE_SHX3 | |
280 | bool "Support SH-X3 processor" | |
281 | select CPU_SH4A | |
282 | select CPU_SHX3 | |
283 | select ARCH_SPARSEMEM_ENABLE | |
284 | select SYS_SUPPORTS_NUMA | |
285 | select SYS_SUPPORTS_SMP | |
286 | ||
287 | # SH4AL-DSP Processor Support | |
288 | ||
289 | config CPU_SUBTYPE_SH7343 | |
290 | bool "Support SH7343 processor" | |
291 | select CPU_SH4AL_DSP | |
292 | ||
293 | config CPU_SUBTYPE_SH7722 | |
294 | bool "Support SH7722 processor" | |
295 | select CPU_SH4AL_DSP | |
296 | select CPU_SHX2 | |
297 | select ARCH_SPARSEMEM_ENABLE | |
298 | select SYS_SUPPORTS_NUMA | |
299 | ||
ea0e1a9a PM |
300 | # SH-5 Processor Support |
301 | ||
302 | config CPU_SUBTYPE_SH5_101 | |
303 | bool "Support SH5-101 processor" | |
304 | select CPU_SH5 | |
305 | ||
306 | config CPU_SUBTYPE_SH5_103 | |
307 | bool "Support SH5-103 processor" | |
308 | ||
b5f42db0 PM |
309 | endchoice |
310 | ||
f3d22298 | 311 | source "arch/sh/mm/Kconfig" |
4690bdc7 | 312 | source "arch/sh/Kconfig.cpu" |
f3d22298 PM |
313 | |
314 | menu "Board support" | |
315 | ||
316 | config SOLUTION_ENGINE | |
317 | bool | |
1da177e4 LT |
318 | |
319 | config SH_SOLUTION_ENGINE | |
320 | bool "SolutionEngine" | |
bc8fb5d0 | 321 | select SOLUTION_ENGINE |
56386f64 | 322 | select CPU_HAS_IPR_IRQ |
a8199071 NI |
323 | depends on CPU_SUBTYPE_SH7705 || CPU_SUBTYPE_SH7709 || CPU_SUBTYPE_SH7710 || \ |
324 | CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7750S || \ | |
325 | CPU_SUBTYPE_SH7750R | |
1da177e4 | 326 | help |
a8199071 NI |
327 | Select SolutionEngine if configuring for a Hitachi SH7705, SH7709, |
328 | SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board. | |
1da177e4 | 329 | |
f3d22298 PM |
330 | config SH_7206_SOLUTION_ENGINE |
331 | bool "SolutionEngine7206" | |
332 | select SOLUTION_ENGINE | |
333 | depends on CPU_SUBTYPE_SH7206 | |
334 | help | |
335 | Select 7206 SolutionEngine if configuring for a Hitachi SH7206 | |
336 | evaluation board. | |
337 | ||
338 | config SH_7619_SOLUTION_ENGINE | |
339 | bool "SolutionEngine7619" | |
340 | select SOLUTION_ENGINE | |
341 | depends on CPU_SUBTYPE_SH7619 | |
342 | help | |
343 | Select 7619 SolutionEngine if configuring for a Hitachi SH7619 | |
344 | evaluation board. | |
345 | ||
6865f0ea RS |
346 | config SH_7722_SOLUTION_ENGINE |
347 | bool "SolutionEngine7722" | |
348 | select SOLUTION_ENGINE | |
f3d22298 | 349 | depends on CPU_SUBTYPE_SH7722 |
6865f0ea RS |
350 | help |
351 | Select 7722 SolutionEngine if configuring for a Hitachi SH772 | |
352 | evaluation board. | |
353 | ||
1da177e4 LT |
354 | config SH_7751_SOLUTION_ENGINE |
355 | bool "SolutionEngine7751" | |
bc8fb5d0 | 356 | select SOLUTION_ENGINE |
56386f64 | 357 | select CPU_HAS_IPR_IRQ |
f3d22298 | 358 | depends on CPU_SUBTYPE_SH7751 |
1da177e4 LT |
359 | help |
360 | Select 7751 SolutionEngine if configuring for a Hitachi SH7751 | |
361 | evaluation board. | |
b7576230 NI |
362 | |
363 | config SH_7780_SOLUTION_ENGINE | |
364 | bool "SolutionEngine7780" | |
365 | select SOLUTION_ENGINE | |
357d5946 | 366 | select SYS_SUPPORTS_PCI |
f3d22298 | 367 | depends on CPU_SUBTYPE_SH7780 |
b7576230 NI |
368 | help |
369 | Select 7780 SolutionEngine if configuring for a Renesas SH7780 | |
370 | evaluation board. | |
1da177e4 | 371 | |
bc8fb5d0 PM |
372 | config SH_7343_SOLUTION_ENGINE |
373 | bool "SolutionEngine7343" | |
374 | select SOLUTION_ENGINE | |
f3d22298 | 375 | depends on CPU_SUBTYPE_SH7343 |
bc8fb5d0 PM |
376 | help |
377 | Select 7343 SolutionEngine if configuring for a Hitachi | |
378 | SH7343 (SH-Mobile 3AS) evaluation board. | |
1da177e4 | 379 | |
1da177e4 LT |
380 | config SH_7751_SYSTEMH |
381 | bool "SystemH7751R" | |
f3d22298 | 382 | depends on CPU_SUBTYPE_SH7751R |
1da177e4 LT |
383 | help |
384 | Select SystemH if you are configuring for a Renesas SystemH | |
385 | 7751R evaluation board. | |
386 | ||
cad82448 PM |
387 | config SH_HP6XX |
388 | bool "HP6XX" | |
0a9b0db1 | 389 | select SYS_SUPPORTS_APM_EMULATION |
357d5946 | 390 | select HD6446X_SERIES |
f3d22298 | 391 | depends on CPU_SUBTYPE_SH7709 |
1da177e4 | 392 | help |
cad82448 | 393 | Select HP6XX if configuring for a HP jornada HP6xx. |
1da177e4 LT |
394 | More information (hardware only) at |
395 | <http://www.hp.com/jornada/>. | |
396 | ||
1da177e4 LT |
397 | config SH_DREAMCAST |
398 | bool "Dreamcast" | |
357d5946 | 399 | select SYS_SUPPORTS_PCI |
f3d22298 | 400 | depends on CPU_SUBTYPE_SH7091 |
1da177e4 LT |
401 | help |
402 | Select Dreamcast if configuring for a SEGA Dreamcast. | |
ad07b100 | 403 | More information at <http://www.linux-sh.org> |
1da177e4 | 404 | |
1da177e4 | 405 | config SH_MPC1211 |
cad82448 | 406 | bool "Interface MPC1211" |
f3d22298 | 407 | depends on CPU_SUBTYPE_SH7751 && BROKEN |
cad82448 PM |
408 | help |
409 | CTP/PCI-SH02 is a CPU module computer that is produced | |
410 | by Interface Corporation. | |
411 | More information at <http://www.interface.co.jp> | |
1da177e4 LT |
412 | |
413 | config SH_SH03 | |
cad82448 | 414 | bool "Interface CTP/PCI-SH03" |
d59645d6 | 415 | depends on CPU_SUBTYPE_SH7751 |
56386f64 | 416 | select CPU_HAS_IPR_IRQ |
357d5946 | 417 | select SYS_SUPPORTS_PCI |
1da177e4 | 418 | help |
cad82448 | 419 | CTP/PCI-SH03 is a CPU module computer that is produced |
1da177e4 | 420 | by Interface Corporation. |
1da177e4 LT |
421 | More information at <http://www.interface.co.jp> |
422 | ||
423 | config SH_SECUREEDGE5410 | |
424 | bool "SecureEdge5410" | |
f3d22298 | 425 | depends on CPU_SUBTYPE_SH7751R |
56386f64 | 426 | select CPU_HAS_IPR_IRQ |
357d5946 | 427 | select SYS_SUPPORTS_PCI |
1da177e4 LT |
428 | help |
429 | Select SecureEdge5410 if configuring for a SnapGear SH board. | |
430 | This includes both the OEM SecureEdge products as well as the | |
431 | SME product line. | |
432 | ||
433 | config SH_HS7751RVOIP | |
434 | bool "HS7751RVOIP" | |
f3d22298 | 435 | depends on CPU_SUBTYPE_SH7751R |
1da177e4 LT |
436 | help |
437 | Select HS7751RVOIP if configuring for a Renesas Technology | |
438 | Sales VoIP board. | |
439 | ||
91b91d01 PM |
440 | config SH_7710VOIPGW |
441 | bool "SH7710-VOIP-GW" | |
f3d22298 | 442 | depends on CPU_SUBTYPE_SH7710 |
91b91d01 PM |
443 | help |
444 | Select this option to build a kernel for the SH7710 based | |
445 | VOIP GW. | |
446 | ||
1da177e4 LT |
447 | config SH_RTS7751R2D |
448 | bool "RTS7751R2D" | |
f3d22298 | 449 | depends on CPU_SUBTYPE_SH7751R |
357d5946 | 450 | select SYS_SUPPORTS_PCI |
1da177e4 LT |
451 | help |
452 | Select RTS7751R2D if configuring for a Renesas Technology | |
453 | Sales SH-Graphics board. | |
454 | ||
32351a28 PM |
455 | config SH_HIGHLANDER |
456 | bool "Highlander" | |
f3d22298 | 457 | depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 |
357d5946 | 458 | select SYS_SUPPORTS_PCI |
cad82448 | 459 | |
1da177e4 LT |
460 | config SH_EDOSK7705 |
461 | bool "EDOSK7705" | |
f3d22298 | 462 | depends on CPU_SUBTYPE_SH7705 |
1da177e4 LT |
463 | |
464 | config SH_SH4202_MICRODEV | |
465 | bool "SH4-202 MicroDev" | |
f3d22298 | 466 | depends on CPU_SUBTYPE_SH4_202 |
1da177e4 LT |
467 | help |
468 | Select SH4-202 MicroDev if configuring for a SuperH MicroDev board | |
469 | with an SH4-202 CPU. | |
470 | ||
cad82448 PM |
471 | config SH_LANDISK |
472 | bool "LANDISK" | |
f3d22298 | 473 | depends on CPU_SUBTYPE_SH7751R |
357d5946 | 474 | select SYS_SUPPORTS_PCI |
cad82448 PM |
475 | help |
476 | I-O DATA DEVICE, INC. "LANDISK Series" support. | |
477 | ||
478 | config SH_TITAN | |
479 | bool "TITAN" | |
f3d22298 | 480 | depends on CPU_SUBTYPE_SH7751R |
56386f64 | 481 | select CPU_HAS_IPR_IRQ |
357d5946 | 482 | select SYS_SUPPORTS_PCI |
cad82448 PM |
483 | help |
484 | Select Titan if you are configuring for a Nimble Microsystems | |
485 | NetEngine NP51R. | |
486 | ||
51e22e7a TY |
487 | config SH_SHMIN |
488 | bool "SHMIN" | |
f3d22298 | 489 | depends on CPU_SUBTYPE_SH7706 |
56386f64 | 490 | select CPU_HAS_IPR_IRQ |
51e22e7a | 491 | help |
3cb2fccc | 492 | Select SHMIN if configuring for the SHMIN board. |
51e22e7a | 493 | |
c86c5a91 NI |
494 | config SH_LBOX_RE2 |
495 | bool "L-BOX RE2" | |
f3d22298 | 496 | depends on CPU_SUBTYPE_SH7751R |
357d5946 | 497 | select SYS_SUPPORTS_PCI |
c86c5a91 NI |
498 | help |
499 | Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2. | |
9d4436a6 | 500 | |
94807a33 PM |
501 | config SH_X3PROTO |
502 | bool "SH-X3 Prototype board" | |
503 | depends on CPU_SUBTYPE_SHX3 | |
504 | ||
ded5431f MB |
505 | config SH_MAGIC_PANEL_R2 |
506 | bool "Magic Panel R2" | |
507 | depends on CPU_SUBTYPE_SH7720 | |
508 | help | |
509 | Select Magic Panel R2 if configuring for Magic Panel R2. | |
510 | ||
ea0e1a9a PM |
511 | config SH_SIMULATOR |
512 | bool "Simulator" | |
513 | depends on SUPERH64 | |
514 | ||
515 | config SH_CAYMAN | |
516 | bool "Hitachi Cayman" | |
517 | depends on CPU_SUBTYPE_SH5_101 || CPU_SUBTYPE_SH5_103 | |
518 | ||
519 | config SH_HARP | |
520 | bool "ST50 Harp" | |
521 | depends on CPU_SH5 | |
522 | ||
f3d22298 | 523 | endmenu |
1da177e4 | 524 | |
32351a28 PM |
525 | source "arch/sh/boards/renesas/hs7751rvoip/Kconfig" |
526 | source "arch/sh/boards/renesas/rts7751r2d/Kconfig" | |
527 | source "arch/sh/boards/renesas/r7780rp/Kconfig" | |
ded5431f | 528 | source "arch/sh/boards/magicpanelr2/Kconfig" |
32351a28 | 529 | |
32351a28 PM |
530 | menu "Timer and clock configuration" |
531 | ||
cad82448 PM |
532 | config SH_TMU |
533 | bool "TMU timer support" | |
9d4436a6 | 534 | depends on CPU_SH3 || CPU_SH4 |
57be2b48 PM |
535 | select GENERIC_TIME |
536 | select GENERIC_CLOCKEVENTS | |
1da177e4 | 537 | default y |
1da177e4 | 538 | help |
cad82448 | 539 | This enables the use of the TMU as the system timer. |
1da177e4 | 540 | |
9d4436a6 YS |
541 | config SH_CMT |
542 | bool "CMT timer support" | |
543 | depends on CPU_SH2 | |
544 | default y | |
545 | help | |
546 | This enables the use of the CMT as the system timer. | |
547 | ||
548 | config SH_MTU2 | |
549 | bool "MTU2 timer support" | |
550 | depends on CPU_SH2A | |
551 | default n | |
552 | help | |
553 | This enables the use of the MTU2 as the system timer. | |
554 | ||
417528a2 PM |
555 | config SH_TIMER_IRQ |
556 | int | |
32351a28 | 557 | default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 |
417528a2 PM |
558 | default "86" if CPU_SUBTYPE_SH7619 |
559 | default "140" if CPU_SUBTYPE_SH7206 | |
560 | default "16" | |
561 | ||
cad82448 PM |
562 | config SH_PCLK_FREQ |
563 | int "Peripheral clock frequency (in Hz)" | |
870e8a24 | 564 | default "27000000" if CPU_SUBTYPE_SH7343 |
9d4436a6 | 565 | default "31250000" if CPU_SUBTYPE_SH7619 |
05627486 | 566 | default "32000000" if CPU_SUBTYPE_SH7722 |
d89ddd1c | 567 | default "33333333" if CPU_SUBTYPE_SH7770 || \ |
9d4436a6 YS |
568 | CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \ |
569 | CPU_SUBTYPE_SH7206 | |
05627486 | 570 | default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R |
cad82448 | 571 | default "66000000" if CPU_SUBTYPE_SH4_202 |
05627486 | 572 | default "50000000" |
1da177e4 | 573 | help |
cad82448 PM |
574 | This option is used to specify the peripheral clock frequency. |
575 | This is necessary for determining the reference clock value on | |
576 | platforms lacking an RTC. | |
1da177e4 | 577 | |
9d4436a6 YS |
578 | config SH_CLK_MD |
579 | int "CPU Mode Pin Setting" | |
580 | depends on CPU_SUBTYPE_SH7619 || CPU_SUBTYPE_SH7206 | |
357d5946 PM |
581 | default 6 if CPU_SUBTYPE_SH7206 |
582 | default 5 if CPU_SUBTYPE_SH7619 | |
583 | default 0 | |
9d4436a6 | 584 | help |
11cbb70e | 585 | MD2 - MD0 pin setting. |
9d4436a6 | 586 | |
57be2b48 PM |
587 | source "kernel/time/Kconfig" |
588 | ||
32351a28 PM |
589 | endmenu |
590 | ||
cad82448 PM |
591 | menu "CPU Frequency scaling" |
592 | ||
593 | source "drivers/cpufreq/Kconfig" | |
1da177e4 | 594 | |
cad82448 PM |
595 | config SH_CPU_FREQ |
596 | tristate "SuperH CPU Frequency driver" | |
cb5ec75b | 597 | depends on CPU_FREQ |
cad82448 | 598 | select CPU_FREQ_TABLE |
1da177e4 | 599 | help |
cad82448 PM |
600 | This adds the cpufreq driver for SuperH. At present, only |
601 | the SH-4 is supported. | |
1da177e4 | 602 | |
cad82448 | 603 | For details, take a look at <file:Documentation/cpu-freq>. |
1da177e4 LT |
604 | |
605 | If unsure, say N. | |
606 | ||
cad82448 PM |
607 | endmenu |
608 | ||
9f5e8eee PM |
609 | source "arch/sh/drivers/Kconfig" |
610 | ||
cad82448 | 611 | endmenu |
1da177e4 | 612 | |
cad82448 PM |
613 | config ISA_DMA_API |
614 | bool | |
05efc67d | 615 | depends on SH_MPC1211 |
cad82448 | 616 | default y |
1da177e4 | 617 | |
cad82448 PM |
618 | menu "Kernel features" |
619 | ||
91b91d01 PM |
620 | source kernel/Kconfig.hz |
621 | ||
cad82448 PM |
622 | config KEXEC |
623 | bool "kexec system call (EXPERIMENTAL)" | |
624 | depends on EXPERIMENTAL | |
1da177e4 | 625 | help |
cad82448 PM |
626 | kexec is a system call that implements the ability to shutdown your |
627 | current kernel, and to start another kernel. It is like a reboot | |
1f1332f7 | 628 | but it is independent of the system firmware. And like a reboot |
cad82448 PM |
629 | you can start any kernel with it, not just Linux. |
630 | ||
1f1332f7 | 631 | The name comes from the similarity to the exec system call. |
cad82448 PM |
632 | |
633 | It is an ongoing process to be certain the hardware in a machine | |
634 | is properly shutdown, so do not be surprised if this code does not | |
635 | initially work for you. It may help to enable device hotplugging | |
636 | support. As of this writing the exact hardware interface is | |
637 | strongly in flux, so no good recommendation can be made. | |
638 | ||
4d5ade5b PM |
639 | config CRASH_DUMP |
640 | bool "kernel crash dumps (EXPERIMENTAL)" | |
641 | depends on EXPERIMENTAL | |
642 | help | |
643 | Generate crash dump after being started by kexec. | |
644 | This should be normally only set in special crash dump kernels | |
645 | which are loaded in the main kernel with kexec-tools into | |
646 | a specially reserved region and then later executed after | |
647 | a crash by kdump/kexec. The crash dump kernel must be compiled | |
648 | to a memory address not used by the main kernel using | |
649 | MEMORY_START. | |
650 | ||
651 | For more details see Documentation/kdump/kdump.txt | |
652 | ||
1da177e4 LT |
653 | config SMP |
654 | bool "Symmetric multi-processing support" | |
357d5946 | 655 | depends on SYS_SUPPORTS_SMP |
1da177e4 LT |
656 | ---help--- |
657 | This enables support for systems with more than one CPU. If you have | |
658 | a system with only one CPU, like most personal computers, say N. If | |
659 | you have a system with more than one CPU, say Y. | |
660 | ||
661 | If you say N here, the kernel will run on single and multiprocessor | |
662 | machines, but will use only one CPU of a multiprocessor machine. If | |
663 | you say Y here, the kernel will run on many, but not all, | |
664 | singleprocessor machines. On a singleprocessor machine, the kernel | |
665 | will run faster if you say N here. | |
666 | ||
667 | People using multiprocessor machines who say Y here should also say | |
668 | Y to "Enhanced Real Time Clock Support", below. | |
669 | ||
670 | See also the <file:Documentation/smp.txt>, | |
671 | <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available | |
672 | at <http://www.tldp.org/docs.html#howto>. | |
673 | ||
674 | If you don't know what to do here, say N. | |
675 | ||
676 | config NR_CPUS | |
677 | int "Maximum number of CPUs (2-32)" | |
678 | range 2 32 | |
679 | depends on SMP | |
2b1bd1ac | 680 | default "4" if CPU_SHX3 |
1da177e4 LT |
681 | default "2" |
682 | help | |
683 | This allows you to specify the maximum number of CPUs which this | |
684 | kernel will support. The maximum supported value is 32 and the | |
685 | minimum value which makes sense is 2. | |
686 | ||
687 | This is purely to save memory - each supported CPU adds | |
688 | approximately eight kilobytes to the kernel image. | |
689 | ||
91b91d01 PM |
690 | source "kernel/Kconfig.preempt" |
691 | ||
83662461 PM |
692 | config GUSA |
693 | def_bool y | |
694 | depends on !SMP | |
695 | help | |
696 | This enables support for gUSA (general UserSpace Atomicity). | |
697 | This is the default implementation for both UP and non-ll/sc | |
698 | CPUs, and is used by the libc, amongst others. | |
699 | ||
700 | For additional information, design information can be found | |
701 | in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>. | |
702 | ||
703 | This should only be disabled for special cases where alternate | |
704 | atomicity implementations exist. | |
705 | ||
cad82448 | 706 | endmenu |
1da177e4 | 707 | |
cad82448 | 708 | menu "Boot options" |
1da177e4 | 709 | |
cad82448 PM |
710 | config ZERO_PAGE_OFFSET |
711 | hex "Zero page offset" | |
712 | default "0x00004000" if SH_MPC1211 || SH_SH03 | |
7a847f81 PM |
713 | default "0x00010000" if PAGE_SIZE_64KB |
714 | default "0x00002000" if PAGE_SIZE_8KB | |
cad82448 | 715 | default "0x00001000" |
1da177e4 | 716 | help |
cad82448 | 717 | This sets the default offset of zero page. |
1da177e4 | 718 | |
cad82448 PM |
719 | config BOOT_LINK_OFFSET |
720 | hex "Link address offset for booting" | |
721 | default "0x00800000" | |
722 | help | |
723 | This option allows you to set the link address offset of the zImage. | |
724 | This can be useful if you are on a board which has a small amount of | |
725 | memory. | |
1da177e4 | 726 | |
cad82448 PM |
727 | config UBC_WAKEUP |
728 | bool "Wakeup UBC on startup" | |
0e3a9aab | 729 | depends on CPU_SH4 && !CPU_SH4A |
cad82448 PM |
730 | help |
731 | Selecting this option will wakeup the User Break Controller (UBC) on | |
732 | startup. Although the UBC is left in an awake state when the processor | |
733 | comes up, some boot loaders misbehave by putting the UBC to sleep in a | |
734 | power saving state, which causes issues with things like ptrace(). | |
1da177e4 | 735 | |
cad82448 | 736 | If unsure, say N. |
1da177e4 | 737 | |
cad82448 PM |
738 | config CMDLINE_BOOL |
739 | bool "Default bootloader kernel arguments" | |
1da177e4 | 740 | |
cad82448 PM |
741 | config CMDLINE |
742 | string "Initial kernel command string" | |
743 | depends on CMDLINE_BOOL | |
744 | default "console=ttySC1,115200" | |
1da177e4 LT |
745 | |
746 | endmenu | |
747 | ||
cad82448 | 748 | menu "Bus options" |
1da177e4 LT |
749 | |
750 | # Even on SuperH devices which don't have an ISA bus, | |
751 | # this variable helps the PCMCIA modules handle | |
752 | # IRQ requesting properly -- Greg Banks. | |
753 | # | |
754 | # Though we're generally not interested in it when | |
755 | # we're not using PCMCIA, so we make it dependent on | |
756 | # PCMCIA outright. -- PFM. | |
757 | config ISA | |
357d5946 PM |
758 | def_bool y |
759 | depends on PCMCIA && HD6446X_SERIES | |
1da177e4 LT |
760 | help |
761 | Find out whether you have ISA slots on your motherboard. ISA is the | |
762 | name of a bus system, i.e. the way the CPU talks to the other stuff | |
763 | inside your box. Other bus systems are PCI, EISA, MicroChannel | |
764 | (MCA) or VESA. ISA is an older system, now being displaced by PCI; | |
765 | newer boards don't support it. If you have ISA, say Y, otherwise N. | |
766 | ||
767 | config EISA | |
768 | bool | |
769 | ---help--- | |
770 | The Extended Industry Standard Architecture (EISA) bus was | |
771 | developed as an open alternative to the IBM MicroChannel bus. | |
772 | ||
773 | The EISA bus provided some of the features of the IBM MicroChannel | |
774 | bus while maintaining backward compatibility with cards made for | |
775 | the older ISA bus. The EISA bus saw limited use between 1988 and | |
776 | 1995 when it was made obsolete by the PCI bus. | |
777 | ||
778 | Say Y here if you are building a kernel for an EISA-based machine. | |
779 | ||
780 | Otherwise, say N. | |
781 | ||
782 | config MCA | |
783 | bool | |
784 | help | |
785 | MicroChannel Architecture is found in some IBM PS/2 machines and | |
786 | laptops. It is a bus system similar to PCI or ISA. See | |
787 | <file:Documentation/mca.txt> (and especially the web page given | |
788 | there) before attempting to build an MCA bus kernel. | |
789 | ||
790 | config SBUS | |
791 | bool | |
792 | ||
cad82448 PM |
793 | config SUPERHYWAY |
794 | tristate "SuperHyway Bus support" | |
795 | depends on CPU_SUBTYPE_SH4_202 | |
1da177e4 | 796 | |
17be2d2b AM |
797 | config MAPLE |
798 | bool "Maple Bus support" | |
799 | depends on SH_DREAMCAST | |
800 | help | |
801 | The Maple Bus is SEGA's serial communication bus for peripherals | |
802 | on the Dreamcast. Without this bus support you won't be able to | |
803 | get your Dreamcast keyboard etc to work, so most users | |
804 | probably want to say 'Y' here, unless you are only using the | |
805 | Dreamcast with a serial line terminal or a remote network | |
806 | connection. | |
807 | ||
824e55f9 PM |
808 | config CF_ENABLER |
809 | bool "Compact Flash Enabler support" | |
810 | depends on SOLUTION_ENGINE || SH_SH03 | |
811 | ---help--- | |
812 | Compact Flash is a small, removable mass storage device introduced | |
813 | in 1994 originally as a PCMCIA device. If you say `Y' here, you | |
814 | compile in support for Compact Flash devices directly connected to | |
815 | a SuperH processor. A Compact Flash FAQ is available at | |
816 | <http://www.compactflash.org/faqs/faq.htm>. | |
817 | ||
818 | If your board has "Directly Connected" CompactFlash at area 5 or 6, | |
819 | you may want to enable this option. Then, you can use CF as | |
820 | primary IDE drive (only tested for SanDisk). | |
821 | ||
822 | If in doubt, select 'N'. | |
823 | ||
824 | choice | |
825 | prompt "Compact Flash Connection Area" | |
826 | depends on CF_ENABLER | |
827 | default CF_AREA6 | |
828 | ||
829 | config CF_AREA5 | |
830 | bool "Area5" | |
831 | help | |
832 | If your board has "Directly Connected" CompactFlash, You should | |
833 | select the area where your CF is connected to. | |
834 | ||
835 | - "Area5" if CompactFlash is connected to Area 5 (0x14000000) | |
836 | - "Area6" if it is connected to Area 6 (0x18000000) | |
837 | ||
838 | "Area6" will work for most boards. | |
839 | ||
840 | config CF_AREA6 | |
841 | bool "Area6" | |
842 | ||
843 | endchoice | |
844 | ||
845 | config CF_BASE_ADDR | |
846 | hex | |
847 | depends on CF_ENABLER | |
848 | default "0xb8000000" if CF_AREA6 | |
849 | default "0xb4000000" if CF_AREA5 | |
850 | ||
1da177e4 LT |
851 | source "arch/sh/drivers/pci/Kconfig" |
852 | ||
853 | source "drivers/pci/Kconfig" | |
854 | ||
855 | source "drivers/pcmcia/Kconfig" | |
856 | ||
857 | source "drivers/pci/hotplug/Kconfig" | |
858 | ||
859 | endmenu | |
860 | ||
861 | menu "Executable file formats" | |
862 | ||
863 | source "fs/Kconfig.binfmt" | |
864 | ||
865 | endmenu | |
866 | ||
3aa770e7 | 867 | menu "Power management options (EXPERIMENTAL)" |
357d5946 | 868 | depends on EXPERIMENTAL && SYS_SUPPORTS_PM |
3aa770e7 AS |
869 | |
870 | source kernel/power/Kconfig | |
871 | ||
3aa770e7 AS |
872 | endmenu |
873 | ||
d5950b43 SR |
874 | source "net/Kconfig" |
875 | ||
1da177e4 LT |
876 | source "drivers/Kconfig" |
877 | ||
878 | source "fs/Kconfig" | |
879 | ||
09cadedb | 880 | source "kernel/Kconfig.instrumentation" |
1da177e4 LT |
881 | |
882 | source "arch/sh/Kconfig.debug" | |
883 | ||
884 | source "security/Kconfig" | |
885 | ||
886 | source "crypto/Kconfig" | |
887 | ||
888 | source "lib/Kconfig" |