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