Blame view
arch/sh/Kconfig
20.4 KB
1da177e4c
|
1 2 3 4 5 6 7 8 |
# # For a description of the syntax of this configuration file, # see Documentation/kbuild/kconfig-language.txt. # mainmenu "Linux/SuperH Kernel Configuration" config SUPERH |
ea0e1a9a3
|
9 |
def_bool y |
7a440c950
|
10 |
select EMBEDDED |
9483a578d
|
11 |
select HAVE_CLK |
86e4dd5ad
|
12 |
select HAVE_IDE if HAS_IOPORT |
95f72d1ed
|
13 |
select HAVE_MEMBLOCK |
42d4b839c
|
14 |
select HAVE_OPROFILE |
9de90ac27
|
15 |
select HAVE_GENERIC_DMA_COHERENT |
d7b01f78a
|
16 |
select HAVE_ARCH_TRACEHOOK |
f802d969b
|
17 |
select HAVE_DMA_API_DEBUG |
73c926bee
|
18 |
select HAVE_DMA_ATTRS |
cdd6c482c
|
19 |
select HAVE_PERF_EVENTS |
72f0c137a
|
20 |
select PERF_USE_VMALLOC |
df8ce2595
|
21 |
select HAVE_KERNEL_GZIP |
07e88e1bf
|
22 23 |
select HAVE_KERNEL_BZIP2 select HAVE_KERNEL_LZMA |
c7b16efb7
|
24 |
select HAVE_KERNEL_LZO |
a74f7e041
|
25 |
select HAVE_SYSCALL_TRACEPOINTS |
6eac1af01
|
26 |
select RTC_LIB |
f01789c68
|
27 |
select GENERIC_ATOMIC64 |
1da177e4c
|
28 29 30 31 32 |
help The SuperH is a RISC processor targeted for use in embedded systems and consumer electronics; it was also used in the Sega Dreamcast gaming console. The SuperH port has a home page at <http://www.linux-sh.org/>. |
39d28a2db
|
33 |
config SUPERH32 |
3cc000b58
|
34 |
def_bool ARCH = "sh" |
d39f54501
|
35 36 |
select HAVE_KPROBES select HAVE_KRETPROBES |
6d63e73d5
|
37 |
select HAVE_IOREMAP_PROT if MMU && !X2TLB |
694f94f26
|
38 |
select HAVE_FUNCTION_TRACER |
fad57feba
|
39 40 |
select HAVE_FTRACE_MCOUNT_RECORD select HAVE_DYNAMIC_FTRACE |
c1340c053
|
41 |
select HAVE_FUNCTION_TRACE_MCOUNT_TEST |
e4b053d96
|
42 |
select HAVE_FTRACE_NMI_ENTER if DYNAMIC_FTRACE |
327933f5d
|
43 |
select HAVE_FUNCTION_GRAPH_TRACER |
ab6e570ba
|
44 |
select HAVE_ARCH_KGDB |
6fbfe8d7c
|
45 |
select HAVE_HW_BREAKPOINT |
0102752e4
|
46 |
select HAVE_MIXED_BREAKPOINTS_REGS |
6c0ee6a4b
|
47 |
select PERF_EVENTS if HAVE_HW_BREAKPOINT |
8dafc3461
|
48 |
select ARCH_HIBERNATION_POSSIBLE if MMU |
ea0e1a9a3
|
49 50 |
config SUPERH64 |
3cc000b58
|
51 |
def_bool ARCH = "sh64" |
39d28a2db
|
52 |
|
f42b7e3db
|
53 54 55 56 |
config ARCH_DEFCONFIG string default "arch/sh/configs/shx3_defconfig" if SUPERH32 default "arch/sh/configs/cayman_defconfig" if SUPERH64 |
1da177e4c
|
57 |
config RWSEM_GENERIC_SPINLOCK |
d7ef4fb3a
|
58 |
def_bool y |
1da177e4c
|
59 60 61 |
config RWSEM_XCHGADD_ALGORITHM bool |
fa6915117
|
62 63 |
config GENERIC_BUG def_bool y |
a82d53ec2
|
64 |
depends on BUG && SUPERH32 |
fa6915117
|
65 |
|
3767f3f1e
|
66 67 68 |
config GENERIC_CSUM def_bool y depends on SUPERH64 |
e2268c712
|
69 |
config GENERIC_FIND_NEXT_BIT |
d7ef4fb3a
|
70 |
def_bool y |
e2268c712
|
71 72 |
config GENERIC_HWEIGHT |
d7ef4fb3a
|
73 |
def_bool y |
e2268c712
|
74 |
|
1da177e4c
|
75 |
config GENERIC_HARDIRQS |
d7ef4fb3a
|
76 |
def_bool y |
1da177e4c
|
77 |
|
5093c9a4e
|
78 79 |
config GENERIC_HARDIRQS_NO__DO_IRQ def_bool y |
2eb2a4368
|
80 81 |
config IRQ_PER_CPU def_bool y |
4b842c857
|
82 83 84 |
config SPARSE_IRQ def_bool y depends on SUPERH32 |
2967dab1a
|
85 86 |
config GENERIC_GPIO def_bool n |
1da177e4c
|
87 |
config GENERIC_CALIBRATE_DELAY |
cf204fa79
|
88 |
bool |
1da177e4c
|
89 |
|
cad824484
|
90 91 |
config GENERIC_IOMAP bool |
57be2b484
|
92 |
config GENERIC_CLOCKEVENTS |
938edae11
|
93 |
def_bool y |
57be2b484
|
94 |
|
8c24594de
|
95 96 |
config GENERIC_CLOCKEVENTS_BROADCAST bool |
6d134b9e8
|
97 98 99 |
config GENERIC_CMOS_UPDATE def_bool y depends on SH_SH03 || SH_DREAMCAST |
bdcab87b1
|
100 101 102 |
config GENERIC_LOCKBREAK def_bool y depends on SMP && PREEMPT |
357d59469
|
103 104 |
config SYS_SUPPORTS_PM bool |
af998a9a0
|
105 106 107 108 109 110 111 |
depends on !SMP config ARCH_SUSPEND_POSSIBLE def_bool n config ARCH_HIBERNATION_POSSIBLE def_bool n |
357d59469
|
112 |
|
0a9b0db19
|
113 114 |
config SYS_SUPPORTS_APM_EMULATION bool |
af998a9a0
|
115 |
select ARCH_SUSPEND_POSSIBLE |
357d59469
|
116 |
|
ffb4a73d8
|
117 118 |
config SYS_SUPPORTS_HUGETLBFS bool |
357d59469
|
119 120 121 122 123 124 125 126 |
config SYS_SUPPORTS_SMP bool config SYS_SUPPORTS_NUMA bool config SYS_SUPPORTS_PCI bool |
0a9b0db19
|
127 |
|
f5ad881b4
|
128 129 |
config SYS_SUPPORTS_CMT bool |
d5ed4c2e5
|
130 131 |
config SYS_SUPPORTS_MTU2 bool |
9570ef204
|
132 133 |
config SYS_SUPPORTS_TMU bool |
afbfb52e4
|
134 |
config STACKTRACE_SUPPORT |
d7ef4fb3a
|
135 |
def_bool y |
afbfb52e4
|
136 137 |
config LOCKDEP_SUPPORT |
d7ef4fb3a
|
138 |
def_bool y |
afbfb52e4
|
139 |
|
5a89f1adb
|
140 141 |
config HAVE_LATENCYTOP_SUPPORT def_bool y |
5a89f1adb
|
142 |
|
f0d1b0b30
|
143 |
config ARCH_HAS_ILOG2_U32 |
d7ef4fb3a
|
144 |
def_bool n |
f0d1b0b30
|
145 146 |
config ARCH_HAS_ILOG2_U64 |
d7ef4fb3a
|
147 |
def_bool n |
f0d1b0b30
|
148 |
|
e257ad062
|
149 150 |
config ARCH_NO_VIRT_TO_BUS def_bool y |
e869a90ee
|
151 152 |
config ARCH_HAS_DEFAULT_IDLE def_bool y |
2e046b948
|
153 154 |
config ARCH_HAS_CPU_IDLE_WAIT def_bool y |
86e4dd5ad
|
155 156 |
config NO_IOPORT bool |
e7cc9a734
|
157 158 |
config IO_TRAPPED bool |
01be5d63f
|
159 160 161 162 163 |
config DMA_COHERENT bool config DMA_NONCOHERENT def_bool !DMA_COHERENT |
5cabbb627
|
164 165 |
config NEED_DMA_MAP_STATE def_bool DMA_NONCOHERENT |
18e98307d
|
166 167 |
config NEED_SG_DMA_LENGTH def_bool y |
1da177e4c
|
168 |
source "init/Kconfig" |
dc52ddc0e
|
169 |
source "kernel/Kconfig.freezer" |
1da177e4c
|
170 |
menu "System type" |
b5f42db0a
|
171 172 173 174 175 176 177 178 179 180 181 182 183 184 |
# # Processor families # config CPU_SH2 bool config CPU_SH2A bool select CPU_SH2 config CPU_SH3 bool select CPU_HAS_INTEVT select CPU_HAS_SR_RB |
4fa48e177
|
185 |
select SYS_SUPPORTS_TMU |
b5f42db0a
|
186 187 188 189 190 |
config CPU_SH4 bool select CPU_HAS_INTEVT select CPU_HAS_SR_RB |
b5f42db0a
|
191 |
select CPU_HAS_FPU if !CPU_SH4AL_DSP |
4fa48e177
|
192 |
select SYS_SUPPORTS_TMU |
ffb4a73d8
|
193 |
select SYS_SUPPORTS_HUGETLBFS if MMU |
b5f42db0a
|
194 195 196 197 198 199 200 201 202 |
config CPU_SH4A bool select CPU_SH4 config CPU_SH4AL_DSP bool select CPU_SH4A select CPU_HAS_DSP |
ea0e1a9a3
|
203 204 205 |
config CPU_SH5 bool select CPU_HAS_FPU |
add47067a
|
206 |
select SYS_SUPPORTS_TMU |
ffb4a73d8
|
207 |
select SYS_SUPPORTS_HUGETLBFS if MMU |
ea0e1a9a3
|
208 |
|
b5f42db0a
|
209 210 211 212 213 |
config CPU_SHX2 bool config CPU_SHX3 bool |
01be5d63f
|
214 |
select DMA_COHERENT |
4b478ee2a
|
215 216 |
select SYS_SUPPORTS_SMP select SYS_SUPPORTS_NUMA |
b5f42db0a
|
217 |
|
dc65a977c
|
218 219 |
config ARCH_SHMOBILE bool |
775949127
|
220 |
select ARCH_SUSPEND_POSSIBLE |
ac2c596b5
|
221 222 |
select PM select PM_RUNTIME |
dc65a977c
|
223 |
|
86c8c0479
|
224 225 226 227 |
config CPU_HAS_PMU depends on CPU_SH4 || CPU_SH4A default y bool |
3cc000b58
|
228 |
if SUPERH32 |
b5f42db0a
|
229 230 231 232 233 234 235 236 237 238 239 240 |
choice prompt "Processor sub-type selection" # # Processor subtypes # # SH-2 Processor Support config CPU_SUBTYPE_SH7619 bool "Support SH7619 processor" select CPU_SH2 |
f5ad881b4
|
241 |
select SYS_SUPPORTS_CMT |
b5f42db0a
|
242 243 |
# SH-2A Processor Support |
2825999e8
|
244 245 246 247 |
config CPU_SUBTYPE_SH7201 bool "Support SH7201 processor" select CPU_SH2A select CPU_HAS_FPU |
da107c6ef
|
248 |
select SYS_SUPPORTS_MTU2 |
2825999e8
|
249 |
|
6d01f5108
|
250 251 252 |
config CPU_SUBTYPE_SH7203 bool "Support SH7203 processor" select CPU_SH2A |
74d99a5e2
|
253 |
select CPU_HAS_FPU |
f5ad881b4
|
254 |
select SYS_SUPPORTS_CMT |
da107c6ef
|
255 |
select SYS_SUPPORTS_MTU2 |
6d01f5108
|
256 |
|
b5f42db0a
|
257 258 259 |
config CPU_SUBTYPE_SH7206 bool "Support SH7206 processor" select CPU_SH2A |
f5ad881b4
|
260 |
select SYS_SUPPORTS_CMT |
da107c6ef
|
261 |
select SYS_SUPPORTS_MTU2 |
b5f42db0a
|
262 |
|
a8f67f4b4
|
263 264 265 |
config CPU_SUBTYPE_SH7263 bool "Support SH7263 processor" select CPU_SH2A |
74d99a5e2
|
266 |
select CPU_HAS_FPU |
f5ad881b4
|
267 |
select SYS_SUPPORTS_CMT |
da107c6ef
|
268 |
select SYS_SUPPORTS_MTU2 |
a8f67f4b4
|
269 |
|
2ad699080
|
270 271 272 |
config CPU_SUBTYPE_MXG bool "Support MX-G processor" select CPU_SH2A |
da107c6ef
|
273 |
select SYS_SUPPORTS_MTU2 |
2ad699080
|
274 275 |
help Select MX-G if running on an R8A03022BG part. |
b5f42db0a
|
276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 |
# SH-3 Processor Support config CPU_SUBTYPE_SH7705 bool "Support SH7705 processor" select CPU_SH3 config CPU_SUBTYPE_SH7706 bool "Support SH7706 processor" select CPU_SH3 help Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU. config CPU_SUBTYPE_SH7707 bool "Support SH7707 processor" select CPU_SH3 help Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU. config CPU_SUBTYPE_SH7708 bool "Support SH7708 processor" select CPU_SH3 help Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or if you have a 100 Mhz SH-3 HD6417708R CPU. config CPU_SUBTYPE_SH7709 bool "Support SH7709 processor" select CPU_SH3 help Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU. config CPU_SUBTYPE_SH7710 bool "Support SH7710 processor" select CPU_SH3 select CPU_HAS_DSP help Select SH7710 if you have a SH3-DSP SH7710 CPU. config CPU_SUBTYPE_SH7712 bool "Support SH7712 processor" select CPU_SH3 select CPU_HAS_DSP help Select SH7712 if you have a SH3-DSP SH7712 CPU. config CPU_SUBTYPE_SH7720 bool "Support SH7720 processor" select CPU_SH3 select CPU_HAS_DSP |
2b23a8826
|
325 |
select SYS_SUPPORTS_CMT |
b5f42db0a
|
326 327 |
help Select SH7720 if you have a SH3-DSP SH7720 CPU. |
31a49c4bf
|
328 329 330 331 |
config CPU_SUBTYPE_SH7721 bool "Support SH7721 processor" select CPU_SH3 select CPU_HAS_DSP |
2b23a8826
|
332 |
select SYS_SUPPORTS_CMT |
31a49c4bf
|
333 334 |
help Select SH7721 if you have a SH3-DSP SH7721 CPU. |
b5f42db0a
|
335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 |
# SH-4 Processor Support config CPU_SUBTYPE_SH7750 bool "Support SH7750 processor" select CPU_SH4 help Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU. config CPU_SUBTYPE_SH7091 bool "Support SH7091 processor" select CPU_SH4 help Select SH7091 if you have an SH-4 based Sega device (such as the Dreamcast, Naomi, and Naomi 2). config CPU_SUBTYPE_SH7750R bool "Support SH7750R processor" select CPU_SH4 config CPU_SUBTYPE_SH7750S bool "Support SH7750S processor" select CPU_SH4 config CPU_SUBTYPE_SH7751 bool "Support SH7751 processor" select CPU_SH4 help Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU, or if you have a HD6417751R CPU. config CPU_SUBTYPE_SH7751R bool "Support SH7751R processor" select CPU_SH4 config CPU_SUBTYPE_SH7760 bool "Support SH7760 processor" select CPU_SH4 config CPU_SUBTYPE_SH4_202 bool "Support SH4-202 processor" select CPU_SH4 # SH-4A Processor Support |
178dd0cd2
|
378 379 380 381 |
config CPU_SUBTYPE_SH7723 bool "Support SH7723 processor" select CPU_SH4A select CPU_SHX2 |
dc65a977c
|
382 |
select ARCH_SHMOBILE |
178dd0cd2
|
383 |
select ARCH_SPARSEMEM_ENABLE |
f5ad881b4
|
384 |
select SYS_SUPPORTS_CMT |
178dd0cd2
|
385 386 |
help Select SH7723 if you have an SH-MobileR2 CPU. |
0207a2efb
|
387 388 389 390 |
config CPU_SUBTYPE_SH7724 bool "Support SH7724 processor" select CPU_SH4A select CPU_SHX2 |
59fe700dc
|
391 |
select ARCH_SHMOBILE |
0207a2efb
|
392 393 394 395 |
select ARCH_SPARSEMEM_ENABLE select SYS_SUPPORTS_CMT help Select SH7724 if you have an SH-MobileR2R CPU. |
c01f0f1a4
|
396 397 398 399 400 401 |
config CPU_SUBTYPE_SH7757 bool "Support SH7757 processor" select CPU_SH4A select CPU_SHX2 help Select SH7757 if you have a SH4A SH7757 CPU. |
7d740a066
|
402 403 404 405 406 |
config CPU_SUBTYPE_SH7763 bool "Support SH7763 processor" select CPU_SH4A help Select SH7763 if you have a SH4A SH7763(R5S77631) CPU. |
b5f42db0a
|
407 408 409 410 411 412 413 414 415 416 417 418 |
config CPU_SUBTYPE_SH7770 bool "Support SH7770 processor" select CPU_SH4A config CPU_SUBTYPE_SH7780 bool "Support SH7780 processor" select CPU_SH4A config CPU_SUBTYPE_SH7785 bool "Support SH7785 processor" select CPU_SH4A select CPU_SHX2 |
55ba99eb2
|
419 420 421 422 423 424 |
select ARCH_SPARSEMEM_ENABLE select SYS_SUPPORTS_NUMA config CPU_SUBTYPE_SH7786 bool "Support SH7786 processor" select CPU_SH4A |
37042fbd8
|
425 |
select CPU_SHX3 |
8263a67e1
|
426 |
select CPU_HAS_PTEAEX |
2eb2a4368
|
427 |
select GENERIC_CLOCKEVENTS_BROADCAST if SMP |
b5f42db0a
|
428 429 430 431 432 |
config CPU_SUBTYPE_SHX3 bool "Support SH-X3 processor" select CPU_SH4A select CPU_SHX3 |
5840263ec
|
433 |
select GENERIC_CLOCKEVENTS_BROADCAST if SMP |
b5f42db0a
|
434 435 436 437 438 439 |
# SH4AL-DSP Processor Support config CPU_SUBTYPE_SH7343 bool "Support SH7343 processor" select CPU_SH4AL_DSP |
dc65a977c
|
440 |
select ARCH_SHMOBILE |
f5ad881b4
|
441 |
select SYS_SUPPORTS_CMT |
b5f42db0a
|
442 443 444 445 446 |
config CPU_SUBTYPE_SH7722 bool "Support SH7722 processor" select CPU_SH4AL_DSP select CPU_SHX2 |
dc65a977c
|
447 |
select ARCH_SHMOBILE |
b5f42db0a
|
448 449 |
select ARCH_SPARSEMEM_ENABLE select SYS_SUPPORTS_NUMA |
f5ad881b4
|
450 |
select SYS_SUPPORTS_CMT |
9109a30e5
|
451 452 453 454 455 |
config CPU_SUBTYPE_SH7366 bool "Support SH7366 processor" select CPU_SH4AL_DSP select CPU_SHX2 |
dc65a977c
|
456 |
select ARCH_SHMOBILE |
9109a30e5
|
457 458 |
select ARCH_SPARSEMEM_ENABLE select SYS_SUPPORTS_NUMA |
f5ad881b4
|
459 |
select SYS_SUPPORTS_CMT |
b5f42db0a
|
460 |
|
3cc000b58
|
461 462 463 464 465 466 467 468 |
endchoice endif if SUPERH64 choice prompt "Processor sub-type selection" |
ea0e1a9a3
|
469 470 471 472 473 474 475 476 |
# SH-5 Processor Support config CPU_SUBTYPE_SH5_101 bool "Support SH5-101 processor" select CPU_SH5 config CPU_SUBTYPE_SH5_103 bool "Support SH5-103 processor" |
8ef97dd7a
|
477 |
select CPU_SH5 |
ea0e1a9a3
|
478 |
|
b5f42db0a
|
479 |
endchoice |
3cc000b58
|
480 |
endif |
f3d222985
|
481 |
source "arch/sh/mm/Kconfig" |
939a24a6d
|
482 |
|
4690bdc7c
|
483 |
source "arch/sh/Kconfig.cpu" |
f3d222985
|
484 |
|
939a24a6d
|
485 |
source "arch/sh/boards/Kconfig" |
32351a28a
|
486 |
|
32351a28a
|
487 |
menu "Timer and clock configuration" |
9570ef204
|
488 489 |
config SH_TIMER_TMU bool "TMU timer driver" |
f19900b2e
|
490 |
depends on SYS_SUPPORTS_TMU |
9570ef204
|
491 |
default y |
9570ef204
|
492 493 |
help This enables the build of the TMU timer driver. |
f5ad881b4
|
494 |
config SH_TIMER_CMT |
f425752fc
|
495 496 497 |
bool "CMT timer driver" depends on SYS_SUPPORTS_CMT default y |
f425752fc
|
498 499 |
help This enables build of the CMT timer driver. |
f5ad881b4
|
500 |
|
d5ed4c2e5
|
501 502 |
config SH_TIMER_MTU2 bool "MTU2 timer driver" |
3280c8865
|
503 |
depends on SYS_SUPPORTS_MTU2 |
d5ed4c2e5
|
504 |
default y |
d5ed4c2e5
|
505 506 |
help This enables build of the MTU2 timer driver. |
cad824484
|
507 508 |
config SH_PCLK_FREQ int "Peripheral clock frequency (in Hz)" |
8152a74bc
|
509 |
depends on SH_CLK_CPG_LEGACY |
9d4436a6f
|
510 |
default "31250000" if CPU_SUBTYPE_SH7619 |
8152a74bc
|
511 512 513 514 515 516 |
default "33333333" if CPU_SUBTYPE_SH7770 || \ CPU_SUBTYPE_SH7760 || \ CPU_SUBTYPE_SH7705 || \ CPU_SUBTYPE_SH7203 || \ CPU_SUBTYPE_SH7206 || \ CPU_SUBTYPE_SH7263 || \ |
43a1839cb
|
517 |
CPU_SUBTYPE_MXG |
05627486a
|
518 |
default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R |
cad824484
|
519 |
default "66000000" if CPU_SUBTYPE_SH4_202 |
05627486a
|
520 |
default "50000000" |
1da177e4c
|
521 |
help |
cad824484
|
522 523 524 |
This option is used to specify the peripheral clock frequency. This is necessary for determining the reference clock value on platforms lacking an RTC. |
1da177e4c
|
525 |
|
36aa1e32f
|
526 527 |
config SH_CLK_CPG def_bool y |
253b0887b
|
528 |
config SH_CLK_CPG_LEGACY |
36aa1e32f
|
529 |
depends on SH_CLK_CPG |
43a1839cb
|
530 531 |
def_bool y if !CPU_SUBTYPE_SH7785 && !ARCH_SHMOBILE && \ !CPU_SUBTYPE_SH7786 |
253b0887b
|
532 |
|
9d4436a6f
|
533 534 |
config SH_CLK_MD int "CPU Mode Pin Setting" |
6d01f5108
|
535 |
depends on CPU_SH2 |
357d59469
|
536 537 538 |
default 6 if CPU_SUBTYPE_SH7206 default 5 if CPU_SUBTYPE_SH7619 default 0 |
9d4436a6f
|
539 |
help |
11cbb70ea
|
540 |
MD2 - MD0 pin setting. |
9d4436a6f
|
541 |
|
57be2b484
|
542 |
source "kernel/time/Kconfig" |
32351a28a
|
543 |
endmenu |
cad824484
|
544 545 546 |
menu "CPU Frequency scaling" source "drivers/cpufreq/Kconfig" |
1da177e4c
|
547 |
|
cad824484
|
548 549 |
config SH_CPU_FREQ tristate "SuperH CPU Frequency driver" |
cb5ec75b8
|
550 |
depends on CPU_FREQ |
cad824484
|
551 |
select CPU_FREQ_TABLE |
1da177e4c
|
552 |
help |
8a655053c
|
553 554 555 556 557 558 |
This adds the cpufreq driver for SuperH. Any CPU that supports clock rate rounding through the clock framework can use this driver. While it will make the kernel slightly larger, this is harmless for CPUs that don't support rate rounding. The driver will also generate a notice in the boot log before disabling itself if the CPU in question is not capable of rate rounding. |
1da177e4c
|
559 |
|
cad824484
|
560 |
For details, take a look at <file:Documentation/cpu-freq>. |
1da177e4c
|
561 562 |
If unsure, say N. |
cad824484
|
563 |
endmenu |
9f5e8eee5
|
564 |
source "arch/sh/drivers/Kconfig" |
cad824484
|
565 |
endmenu |
1da177e4c
|
566 |
|
cad824484
|
567 |
menu "Kernel features" |
91b91d014
|
568 |
source kernel/Kconfig.hz |
cad824484
|
569 570 |
config KEXEC bool "kexec system call (EXPERIMENTAL)" |
f36b59d1a
|
571 |
depends on SUPERH32 && EXPERIMENTAL && MMU |
1da177e4c
|
572 |
help |
cad824484
|
573 574 |
kexec is a system call that implements the ability to shutdown your current kernel, and to start another kernel. It is like a reboot |
1f1332f72
|
575 |
but it is independent of the system firmware. And like a reboot |
cad824484
|
576 |
you can start any kernel with it, not just Linux. |
1f1332f72
|
577 |
The name comes from the similarity to the exec system call. |
cad824484
|
578 579 580 581 582 583 |
It is an ongoing process to be certain the hardware in a machine is properly shutdown, so do not be surprised if this code does not initially work for you. It may help to enable device hotplugging support. As of this writing the exact hardware interface is strongly in flux, so no good recommendation can be made. |
4d5ade5b2
|
584 585 |
config CRASH_DUMP bool "kernel crash dumps (EXPERIMENTAL)" |
d523e1ae6
|
586 |
depends on SUPERH32 && EXPERIMENTAL && BROKEN_ON_SMP |
4d5ade5b2
|
587 588 589 590 591 592 593 594 595 596 |
help Generate crash dump after being started by kexec. This should be normally only set in special crash dump kernels which are loaded in the main kernel with kexec-tools into a specially reserved region and then later executed after a crash by kdump/kexec. The crash dump kernel must be compiled to a memory address not used by the main kernel using MEMORY_START. For more details see Documentation/kdump/kdump.txt |
b7cf6ddc1
|
597 598 599 600 601 602 |
config KEXEC_JUMP bool "kexec jump (EXPERIMENTAL)" depends on SUPERH32 && KEXEC && HIBERNATION && EXPERIMENTAL help Jump between original kernel and kexeced kernel and invoke code via KEXEC |
c4637d475
|
603 604 605 |
config SECCOMP bool "Enable seccomp to safely compute untrusted bytecode" depends on PROC_FS |
c4637d475
|
606 607 608 609 610 611 612 613 614 615 616 617 |
help This kernel feature is useful for number crunching applications that may need to compute untrusted bytecode during their execution. By using pipes or other transports made available to the process as file descriptors supporting the read/write syscalls, it's possible to isolate those applications in their own address space using seccomp. Once seccomp is enabled via prctl, it cannot be disabled and the task is only allowed to execute a few safe syscalls defined by each seccomp mode. If unsure, say N. |
1da177e4c
|
618 619 |
config SMP bool "Symmetric multi-processing support" |
357d59469
|
620 |
depends on SYS_SUPPORTS_SMP |
490f5de52
|
621 |
select USE_GENERIC_SMP_HELPERS |
1da177e4c
|
622 623 624 625 626 627 628 629 630 631 632 633 634 |
---help--- This enables support for systems with more than one CPU. If you have a system with only one CPU, like most personal computers, say N. If you have a system with more than one CPU, say Y. If you say N here, the kernel will run on single and multiprocessor machines, but will use only one CPU of a multiprocessor machine. If you say Y here, the kernel will run on many, but not all, singleprocessor machines. On a singleprocessor machine, the kernel will run faster if you say N here. People using multiprocessor machines who say Y here should also say Y to "Enhanced Real Time Clock Support", below. |
03502faa2
|
635 636 |
See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at <http://www.tldp.org/docs.html#howto>. |
1da177e4c
|
637 638 639 640 641 642 643 |
If you don't know what to do here, say N. config NR_CPUS int "Maximum number of CPUs (2-32)" range 2 32 depends on SMP |
2eb2a4368
|
644 |
default "4" if CPU_SUBTYPE_SHX3 |
1da177e4c
|
645 646 647 648 649 650 651 652 |
default "2" help This allows you to specify the maximum number of CPUs which this kernel will support. The maximum supported value is 32 and the minimum value which makes sense is 2. This is purely to save memory - each supported CPU adds approximately eight kilobytes to the kernel image. |
763142d1e
|
653 654 655 656 657 658 |
config HOTPLUG_CPU bool "Support for hot-pluggable CPUs (EXPERIMENTAL)" depends on SMP && HOTPLUG && EXPERIMENTAL help Say Y here to experiment with turning CPUs off and on. CPUs can be controlled through /sys/devices/system/cpu. |
91b91d014
|
659 |
source "kernel/Kconfig.preempt" |
836624619
|
660 661 |
config GUSA def_bool y |
1efe4ce3c
|
662 |
depends on !SMP && SUPERH32 |
836624619
|
663 664 665 666 667 668 669 670 671 672 |
help This enables support for gUSA (general UserSpace Atomicity). This is the default implementation for both UP and non-ll/sc CPUs, and is used by the libc, amongst others. For additional information, design information can be found in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>. This should only be disabled for special cases where alternate atomicity implementations exist. |
1efe4ce3c
|
673 674 675 676 677 |
config GUSA_RB bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)" depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A) help Enabling this option will allow the kernel to implement some |
692105b8a
|
678 |
atomic operations using a software implementation of load-locked/ |
1efe4ce3c
|
679 680 |
store-conditional (LLSC). On machines which do not have hardware LLSC, this should be more efficient than the other alternative of |
692105b8a
|
681 |
disabling interrupts around the atomic sequence. |
1efe4ce3c
|
682 |
|
86c8c0479
|
683 684 685 686 687 688 689 |
config HW_PERF_EVENTS bool "Enable hardware performance counter support for perf events" depends on PERF_EVENTS && CPU_HAS_PMU default y help Enable hardware performance counter support for perf events. If disabled, perf events will use software events only. |
43b8774dc
|
690 |
source "drivers/sh/Kconfig" |
cad824484
|
691 |
endmenu |
1da177e4c
|
692 |
|
cad824484
|
693 |
menu "Boot options" |
1da177e4c
|
694 |
|
cad824484
|
695 |
config ZERO_PAGE_OFFSET |
b412a49af
|
696 697 698 699 |
hex default "0x00010000" if PAGE_SIZE_64KB || SH_RTS7751R2D || \ SH_7751_SOLUTION_ENGINE default "0x00004000" if PAGE_SIZE_16KB || SH_SH03 |
7a847f819
|
700 |
default "0x00002000" if PAGE_SIZE_8KB |
cad824484
|
701 |
default "0x00001000" |
1da177e4c
|
702 |
help |
cad824484
|
703 |
This sets the default offset of zero page. |
1da177e4c
|
704 |
|
cad824484
|
705 |
config BOOT_LINK_OFFSET |
b412a49af
|
706 707 |
hex default "0x00210000" if SH_SHMIN |
a2e76c80d
|
708 |
default "0x00400000" if SH_CAYMAN |
b412a49af
|
709 710 711 712 |
default "0x00810000" if SH_7780_SOLUTION_ENGINE default "0x009e0000" if SH_TITAN default "0x01800000" if SH_SDK7780 default "0x02000000" if SH_EDOSK7760 |
cad824484
|
713 714 715 716 717 |
default "0x00800000" help This option allows you to set the link address offset of the zImage. This can be useful if you are on a board which has a small amount of memory. |
1da177e4c
|
718 |
|
b412a49af
|
719 720 721 722 723 724 725 |
config ENTRY_OFFSET hex default "0x00001000" if PAGE_SIZE_4KB default "0x00002000" if PAGE_SIZE_8KB default "0x00004000" if PAGE_SIZE_16KB default "0x00010000" if PAGE_SIZE_64KB default "0x00000000" |
4705b2e80
|
726 727 728 729 730 731 732 733 734 735 |
config ROMIMAGE_MMCIF bool "Include MMCIF loader in romImage (EXPERIMENTAL)" depends on CPU_SUBTYPE_SH7724 && EXPERIMENTAL help Say Y here to include experimental MMCIF loading code in romImage. With this enabled it is possible to write the romImage kernel image to an MMC card and boot the kernel straight from the reset vector. At reset the processor Mask ROM will load the first part of the romImage which in turn loads the rest the kernel image to RAM using the MMCIF hardware block. |
d724a9c9d
|
736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 |
choice prompt "Kernel command line" optional default CMDLINE_OVERWRITE help Setting this option allows the kernel command line arguments to be set. config CMDLINE_OVERWRITE bool "Overwrite bootloader kernel arguments" help Given string will overwrite any arguments passed in by a bootloader. config CMDLINE_EXTEND bool "Extend bootloader kernel arguments" help Given string will be concatenated with arguments passed in by a bootloader. endchoice |
1da177e4c
|
757 |
|
cad824484
|
758 |
config CMDLINE |
d724a9c9d
|
759 760 |
string "Kernel command line arguments string" depends on CMDLINE_OVERWRITE || CMDLINE_EXTEND |
cad824484
|
761 |
default "console=ttySC1,115200" |
1da177e4c
|
762 763 |
endmenu |
cad824484
|
764 |
menu "Bus options" |
1da177e4c
|
765 |
|
cad824484
|
766 767 768 |
config SUPERHYWAY tristate "SuperHyway Bus support" depends on CPU_SUBTYPE_SH4_202 |
1da177e4c
|
769 |
|
17be2d2b1
|
770 |
config MAPLE |
e16038aba
|
771 772 773 774 775 776 777 778 779 |
bool "Maple Bus support" depends on SH_DREAMCAST help The Maple Bus is SEGA's serial communication bus for peripherals on the Dreamcast. Without this bus support you won't be able to get your Dreamcast keyboard etc to work, so most users probably want to say 'Y' here, unless you are only using the Dreamcast with a serial line terminal or a remote network connection. |
17be2d2b1
|
780 |
|
7693465d8
|
781 782 783 |
config PCI bool "PCI support" depends on SYS_SUPPORTS_PCI |
320e68da5
|
784 |
select PCI_DOMAINS |
7693465d8
|
785 786 787 788 |
help Find out whether you have a PCI motherboard. PCI is the name of a bus system, i.e. the way the CPU talks to the other stuff inside your box. If you have PCI, say Y, otherwise N. |
1da177e4c
|
789 |
|
320e68da5
|
790 791 |
config PCI_DOMAINS bool |
e16038aba
|
792 |
source "drivers/pci/pcie/Kconfig" |
1da177e4c
|
793 794 795 796 797 798 799 800 801 802 803 804 805 |
source "drivers/pci/Kconfig" source "drivers/pcmcia/Kconfig" source "drivers/pci/hotplug/Kconfig" endmenu menu "Executable file formats" source "fs/Kconfig.binfmt" endmenu |
3aa770e79
|
806 |
menu "Power management options (EXPERIMENTAL)" |
af998a9a0
|
807 |
depends on EXPERIMENTAL |
f4cb57007
|
808 |
|
c6f17cb22
|
809 810 811 |
source "kernel/power/Kconfig" source "drivers/cpuidle/Kconfig" |
3aa770e79
|
812 |
|
3aa770e79
|
813 |
endmenu |
d5950b435
|
814 |
source "net/Kconfig" |
1da177e4c
|
815 816 817 |
source "drivers/Kconfig" source "fs/Kconfig" |
1da177e4c
|
818 819 820 821 822 |
source "arch/sh/Kconfig.debug" source "security/Kconfig" source "crypto/Kconfig" |
5f737b39b
|
823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 |
menuconfig VIRTUALIZATION bool "Virtualization" default n ---help--- Say Y here to get to see options for using your Linux host to run other operating systems inside virtual machines (guests). This option alone does not add any kernel code. If you say N, all options in this submenu will be skipped and disabled. if VIRTUALIZATION source drivers/virtio/Kconfig endif # VIRTUALIZATION |
1da177e4c
|
838 |
source "lib/Kconfig" |