diff options
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r-- | arch/sh/Kconfig | 888 |
1 files changed, 888 insertions, 0 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig new file mode 100644 index 000000000000..7cfd17230224 --- /dev/null +++ b/arch/sh/Kconfig | |||
@@ -0,0 +1,888 @@ | |||
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 | ||
9 | def_bool y | ||
10 | select EMBEDDED | ||
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 | |||
17 | config SUPERH32 | ||
18 | def_bool !SUPERH64 | ||
19 | |||
20 | config SUPERH64 | ||
21 | def_bool y if CPU_SH5 | ||
22 | |||
23 | config RWSEM_GENERIC_SPINLOCK | ||
24 | bool | ||
25 | default y | ||
26 | |||
27 | config SUPERH64 | ||
28 | def_bool y if CPU_SH5 | ||
29 | |||
30 | config RWSEM_XCHGADD_ALGORITHM | ||
31 | bool | ||
32 | |||
33 | config GENERIC_BUG | ||
34 | def_bool y | ||
35 | depends on BUG | ||
36 | |||
37 | config GENERIC_FIND_NEXT_BIT | ||
38 | bool | ||
39 | default y | ||
40 | |||
41 | config GENERIC_HWEIGHT | ||
42 | bool | ||
43 | default y | ||
44 | |||
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 | |||
57 | config GENERIC_IOMAP | ||
58 | bool | ||
59 | |||
60 | config GENERIC_TIME | ||
61 | def_bool n | ||
62 | |||
63 | config GENERIC_CLOCKEVENTS | ||
64 | def_bool n | ||
65 | |||
66 | config SYS_SUPPORTS_PM | ||
67 | bool | ||
68 | |||
69 | config SYS_SUPPORTS_APM_EMULATION | ||
70 | bool | ||
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 | ||
81 | |||
82 | config ARCH_MAY_HAVE_PC_FDC | ||
83 | bool | ||
84 | |||
85 | config STACKTRACE_SUPPORT | ||
86 | bool | ||
87 | default y | ||
88 | |||
89 | config LOCKDEP_SUPPORT | ||
90 | bool | ||
91 | default y | ||
92 | |||
93 | config ARCH_HAS_ILOG2_U32 | ||
94 | bool | ||
95 | default n | ||
96 | |||
97 | config ARCH_HAS_ILOG2_U64 | ||
98 | bool | ||
99 | default n | ||
100 | |||
101 | config ARCH_NO_VIRT_TO_BUS | ||
102 | def_bool y | ||
103 | |||
104 | source "init/Kconfig" | ||
105 | |||
106 | menu "System type" | ||
107 | |||
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 | |||
139 | config CPU_SH5 | ||
140 | bool | ||
141 | select CPU_HAS_FPU | ||
142 | |||
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 | |||
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 | |||
309 | endchoice | ||
310 | |||
311 | source "arch/sh/mm/Kconfig" | ||
312 | source "arch/sh/Kconfig.cpu" | ||
313 | |||
314 | menu "Board support" | ||
315 | |||
316 | config SOLUTION_ENGINE | ||
317 | bool | ||
318 | |||
319 | config SH_SOLUTION_ENGINE | ||
320 | bool "SolutionEngine" | ||
321 | select SOLUTION_ENGINE | ||
322 | select CPU_HAS_IPR_IRQ | ||
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 | ||
326 | help | ||
327 | Select SolutionEngine if configuring for a Hitachi SH7705, SH7709, | ||
328 | SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board. | ||
329 | |||
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 | |||
346 | config SH_7722_SOLUTION_ENGINE | ||
347 | bool "SolutionEngine7722" | ||
348 | select SOLUTION_ENGINE | ||
349 | depends on CPU_SUBTYPE_SH7722 | ||
350 | help | ||
351 | Select 7722 SolutionEngine if configuring for a Hitachi SH772 | ||
352 | evaluation board. | ||
353 | |||
354 | config SH_7751_SOLUTION_ENGINE | ||
355 | bool "SolutionEngine7751" | ||
356 | select SOLUTION_ENGINE | ||
357 | select CPU_HAS_IPR_IRQ | ||
358 | depends on CPU_SUBTYPE_SH7751 | ||
359 | help | ||
360 | Select 7751 SolutionEngine if configuring for a Hitachi SH7751 | ||
361 | evaluation board. | ||
362 | |||
363 | config SH_7780_SOLUTION_ENGINE | ||
364 | bool "SolutionEngine7780" | ||
365 | select SOLUTION_ENGINE | ||
366 | select SYS_SUPPORTS_PCI | ||
367 | depends on CPU_SUBTYPE_SH7780 | ||
368 | help | ||
369 | Select 7780 SolutionEngine if configuring for a Renesas SH7780 | ||
370 | evaluation board. | ||
371 | |||
372 | config SH_7343_SOLUTION_ENGINE | ||
373 | bool "SolutionEngine7343" | ||
374 | select SOLUTION_ENGINE | ||
375 | depends on CPU_SUBTYPE_SH7343 | ||
376 | help | ||
377 | Select 7343 SolutionEngine if configuring for a Hitachi | ||
378 | SH7343 (SH-Mobile 3AS) evaluation board. | ||
379 | |||
380 | config SH_7751_SYSTEMH | ||
381 | bool "SystemH7751R" | ||
382 | depends on CPU_SUBTYPE_SH7751R | ||
383 | help | ||
384 | Select SystemH if you are configuring for a Renesas SystemH | ||
385 | 7751R evaluation board. | ||
386 | |||
387 | config SH_HP6XX | ||
388 | bool "HP6XX" | ||
389 | select SYS_SUPPORTS_APM_EMULATION | ||
390 | select HD6446X_SERIES | ||
391 | depends on CPU_SUBTYPE_SH7709 | ||
392 | help | ||
393 | Select HP6XX if configuring for a HP jornada HP6xx. | ||
394 | More information (hardware only) at | ||
395 | <http://www.hp.com/jornada/>. | ||
396 | |||
397 | config SH_DREAMCAST | ||
398 | bool "Dreamcast" | ||
399 | select SYS_SUPPORTS_PCI | ||
400 | depends on CPU_SUBTYPE_SH7091 | ||
401 | help | ||
402 | Select Dreamcast if configuring for a SEGA Dreamcast. | ||
403 | More information at <http://www.linux-sh.org> | ||
404 | |||
405 | config SH_MPC1211 | ||
406 | bool "Interface MPC1211" | ||
407 | depends on CPU_SUBTYPE_SH7751 && BROKEN | ||
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> | ||
412 | |||
413 | config SH_SH03 | ||
414 | bool "Interface CTP/PCI-SH03" | ||
415 | depends on CPU_SUBTYPE_SH7751 | ||
416 | select CPU_HAS_IPR_IRQ | ||
417 | select SYS_SUPPORTS_PCI | ||
418 | help | ||
419 | CTP/PCI-SH03 is a CPU module computer that is produced | ||
420 | by Interface Corporation. | ||
421 | More information at <http://www.interface.co.jp> | ||
422 | |||
423 | config SH_SECUREEDGE5410 | ||
424 | bool "SecureEdge5410" | ||
425 | depends on CPU_SUBTYPE_SH7751R | ||
426 | select CPU_HAS_IPR_IRQ | ||
427 | select SYS_SUPPORTS_PCI | ||
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" | ||
435 | depends on CPU_SUBTYPE_SH7751R | ||
436 | help | ||
437 | Select HS7751RVOIP if configuring for a Renesas Technology | ||
438 | Sales VoIP board. | ||
439 | |||
440 | config SH_7710VOIPGW | ||
441 | bool "SH7710-VOIP-GW" | ||
442 | depends on CPU_SUBTYPE_SH7710 | ||
443 | help | ||
444 | Select this option to build a kernel for the SH7710 based | ||
445 | VOIP GW. | ||
446 | |||
447 | config SH_RTS7751R2D | ||
448 | bool "RTS7751R2D" | ||
449 | depends on CPU_SUBTYPE_SH7751R | ||
450 | select SYS_SUPPORTS_PCI | ||
451 | help | ||
452 | Select RTS7751R2D if configuring for a Renesas Technology | ||
453 | Sales SH-Graphics board. | ||
454 | |||
455 | config SH_HIGHLANDER | ||
456 | bool "Highlander" | ||
457 | depends on CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 | ||
458 | select SYS_SUPPORTS_PCI | ||
459 | |||
460 | config SH_EDOSK7705 | ||
461 | bool "EDOSK7705" | ||
462 | depends on CPU_SUBTYPE_SH7705 | ||
463 | |||
464 | config SH_SH4202_MICRODEV | ||
465 | bool "SH4-202 MicroDev" | ||
466 | depends on CPU_SUBTYPE_SH4_202 | ||
467 | help | ||
468 | Select SH4-202 MicroDev if configuring for a SuperH MicroDev board | ||
469 | with an SH4-202 CPU. | ||
470 | |||
471 | config SH_LANDISK | ||
472 | bool "LANDISK" | ||
473 | depends on CPU_SUBTYPE_SH7751R | ||
474 | select SYS_SUPPORTS_PCI | ||
475 | help | ||
476 | I-O DATA DEVICE, INC. "LANDISK Series" support. | ||
477 | |||
478 | config SH_TITAN | ||
479 | bool "TITAN" | ||
480 | depends on CPU_SUBTYPE_SH7751R | ||
481 | select CPU_HAS_IPR_IRQ | ||
482 | select SYS_SUPPORTS_PCI | ||
483 | help | ||
484 | Select Titan if you are configuring for a Nimble Microsystems | ||
485 | NetEngine NP51R. | ||
486 | |||
487 | config SH_SHMIN | ||
488 | bool "SHMIN" | ||
489 | depends on CPU_SUBTYPE_SH7706 | ||
490 | select CPU_HAS_IPR_IRQ | ||
491 | help | ||
492 | Select SHMIN if configuring for the SHMIN board. | ||
493 | |||
494 | config SH_LBOX_RE2 | ||
495 | bool "L-BOX RE2" | ||
496 | depends on CPU_SUBTYPE_SH7751R | ||
497 | select SYS_SUPPORTS_PCI | ||
498 | help | ||
499 | Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2. | ||
500 | |||
501 | config SH_X3PROTO | ||
502 | bool "SH-X3 Prototype board" | ||
503 | depends on CPU_SUBTYPE_SHX3 | ||
504 | |||
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 | |||
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 | |||
523 | endmenu | ||
524 | |||
525 | source "arch/sh/boards/renesas/hs7751rvoip/Kconfig" | ||
526 | source "arch/sh/boards/renesas/rts7751r2d/Kconfig" | ||
527 | source "arch/sh/boards/renesas/r7780rp/Kconfig" | ||
528 | source "arch/sh/boards/magicpanelr2/Kconfig" | ||
529 | |||
530 | menu "Timer and clock configuration" | ||
531 | |||
532 | config SH_TMU | ||
533 | bool "TMU timer support" | ||
534 | depends on CPU_SH3 || CPU_SH4 | ||
535 | select GENERIC_TIME | ||
536 | select GENERIC_CLOCKEVENTS | ||
537 | default y | ||
538 | help | ||
539 | This enables the use of the TMU as the system timer. | ||
540 | |||
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 | |||
555 | config SH_TIMER_IRQ | ||
556 | int | ||
557 | default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 | ||
558 | default "86" if CPU_SUBTYPE_SH7619 | ||
559 | default "140" if CPU_SUBTYPE_SH7206 | ||
560 | default "16" | ||
561 | |||
562 | config SH_PCLK_FREQ | ||
563 | int "Peripheral clock frequency (in Hz)" | ||
564 | default "27000000" if CPU_SUBTYPE_SH7343 | ||
565 | default "31250000" if CPU_SUBTYPE_SH7619 | ||
566 | default "32000000" if CPU_SUBTYPE_SH7722 | ||
567 | default "33333333" if CPU_SUBTYPE_SH7770 || \ | ||
568 | CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \ | ||
569 | CPU_SUBTYPE_SH7206 | ||
570 | default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R | ||
571 | default "66000000" if CPU_SUBTYPE_SH4_202 | ||
572 | default "50000000" | ||
573 | help | ||
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. | ||
577 | |||
578 | config SH_CLK_MD | ||
579 | int "CPU Mode Pin Setting" | ||
580 | depends on CPU_SUBTYPE_SH7619 || CPU_SUBTYPE_SH7206 | ||
581 | default 6 if CPU_SUBTYPE_SH7206 | ||
582 | default 5 if CPU_SUBTYPE_SH7619 | ||
583 | default 0 | ||
584 | help | ||
585 | MD2 - MD0 pin setting. | ||
586 | |||
587 | source "kernel/time/Kconfig" | ||
588 | |||
589 | endmenu | ||
590 | |||
591 | menu "CPU Frequency scaling" | ||
592 | |||
593 | source "drivers/cpufreq/Kconfig" | ||
594 | |||
595 | config SH_CPU_FREQ | ||
596 | tristate "SuperH CPU Frequency driver" | ||
597 | depends on CPU_FREQ | ||
598 | select CPU_FREQ_TABLE | ||
599 | help | ||
600 | This adds the cpufreq driver for SuperH. At present, only | ||
601 | the SH-4 is supported. | ||
602 | |||
603 | For details, take a look at <file:Documentation/cpu-freq>. | ||
604 | |||
605 | If unsure, say N. | ||
606 | |||
607 | endmenu | ||
608 | |||
609 | source "arch/sh/drivers/Kconfig" | ||
610 | |||
611 | endmenu | ||
612 | |||
613 | config ISA_DMA_API | ||
614 | bool | ||
615 | depends on SH_MPC1211 | ||
616 | default y | ||
617 | |||
618 | menu "Kernel features" | ||
619 | |||
620 | source kernel/Kconfig.hz | ||
621 | |||
622 | config KEXEC | ||
623 | bool "kexec system call (EXPERIMENTAL)" | ||
624 | depends on EXPERIMENTAL | ||
625 | help | ||
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 | ||
628 | but it is independent of the system firmware. And like a reboot | ||
629 | you can start any kernel with it, not just Linux. | ||
630 | |||
631 | The name comes from the similarity to the exec system call. | ||
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 | |||
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 | |||
653 | config SMP | ||
654 | bool "Symmetric multi-processing support" | ||
655 | depends on SYS_SUPPORTS_SMP | ||
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 | ||
680 | default "4" if CPU_SHX3 | ||
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 | |||
690 | source "kernel/Kconfig.preempt" | ||
691 | |||
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 | |||
706 | endmenu | ||
707 | |||
708 | menu "Boot options" | ||
709 | |||
710 | config ZERO_PAGE_OFFSET | ||
711 | hex "Zero page offset" | ||
712 | default "0x00004000" if SH_MPC1211 || SH_SH03 | ||
713 | default "0x00010000" if PAGE_SIZE_64KB | ||
714 | default "0x00002000" if PAGE_SIZE_8KB | ||
715 | default "0x00001000" | ||
716 | help | ||
717 | This sets the default offset of zero page. | ||
718 | |||
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. | ||
726 | |||
727 | config UBC_WAKEUP | ||
728 | bool "Wakeup UBC on startup" | ||
729 | depends on CPU_SH4 && !CPU_SH4A | ||
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(). | ||
735 | |||
736 | If unsure, say N. | ||
737 | |||
738 | config CMDLINE_BOOL | ||
739 | bool "Default bootloader kernel arguments" | ||
740 | |||
741 | config CMDLINE | ||
742 | string "Initial kernel command string" | ||
743 | depends on CMDLINE_BOOL | ||
744 | default "console=ttySC1,115200" | ||
745 | |||
746 | endmenu | ||
747 | |||
748 | menu "Bus options" | ||
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 | ||
758 | def_bool y | ||
759 | depends on PCMCIA && HD6446X_SERIES | ||
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 | |||
793 | config SUPERHYWAY | ||
794 | tristate "SuperHyway Bus support" | ||
795 | depends on CPU_SUBTYPE_SH4_202 | ||
796 | |||
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 | |||
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 | |||
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 | |||
867 | menu "Power management options (EXPERIMENTAL)" | ||
868 | depends on EXPERIMENTAL && SYS_SUPPORTS_PM | ||
869 | |||
870 | source kernel/power/Kconfig | ||
871 | |||
872 | endmenu | ||
873 | |||
874 | source "net/Kconfig" | ||
875 | |||
876 | source "drivers/Kconfig" | ||
877 | |||
878 | source "fs/Kconfig" | ||
879 | |||
880 | source "kernel/Kconfig.instrumentation" | ||
881 | |||
882 | source "arch/sh/Kconfig.debug" | ||
883 | |||
884 | source "security/Kconfig" | ||
885 | |||
886 | source "crypto/Kconfig" | ||
887 | |||
888 | source "lib/Kconfig" | ||