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