Blame view
arch/sh/Kconfig
20.5 KB
1da177e4c
|
1 |
config SUPERH |
ea0e1a9a3
|
2 |
def_bool y |
6a108a14f
|
3 |
select EXPERT |
6d803ba73
|
4 |
select CLKDEV_LOOKUP |
86e4dd5ad
|
5 |
select HAVE_IDE if HAS_IOPORT |
95f72d1ed
|
6 |
select HAVE_MEMBLOCK |
42d4b839c
|
7 |
select HAVE_OPROFILE |
9de90ac27
|
8 |
select HAVE_GENERIC_DMA_COHERENT |
d7b01f78a
|
9 |
select HAVE_ARCH_TRACEHOOK |
f802d969b
|
10 |
select HAVE_DMA_API_DEBUG |
73c926bee
|
11 |
select HAVE_DMA_ATTRS |
e360adbe2
|
12 |
select HAVE_IRQ_WORK |
cdd6c482c
|
13 |
select HAVE_PERF_EVENTS |
df013ffb8
|
14 |
select ARCH_HAVE_NMI_SAFE_CMPXCHG if (GUSA_RB || CPU_SH4A) |
72f0c137a
|
15 |
select PERF_USE_VMALLOC |
df8ce2595
|
16 |
select HAVE_KERNEL_GZIP |
07e88e1bf
|
17 18 |
select HAVE_KERNEL_BZIP2 select HAVE_KERNEL_LZMA |
50cfa79dc
|
19 |
select HAVE_KERNEL_XZ |
c7b16efb7
|
20 |
select HAVE_KERNEL_LZO |
a74f7e041
|
21 |
select HAVE_SYSCALL_TRACEPOINTS |
eaaaeef39
|
22 |
select HAVE_REGS_AND_STACK_ACCESS_API |
57b813303
|
23 24 |
select HAVE_GENERIC_HARDIRQS select HAVE_SPARSE_IRQ |
ed170924d
|
25 |
select IRQ_FORCED_THREADING |
6eac1af01
|
26 |
select RTC_LIB |
f01789c68
|
27 |
select GENERIC_ATOMIC64 |
3d44ae402
|
28 |
select GENERIC_IRQ_SHOW |
1da177e4c
|
29 30 31 32 33 |
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
|
34 |
config SUPERH32 |
3cc000b58
|
35 |
def_bool ARCH = "sh" |
d39f54501
|
36 37 |
select HAVE_KPROBES select HAVE_KRETPROBES |
6d63e73d5
|
38 |
select HAVE_IOREMAP_PROT if MMU && !X2TLB |
694f94f26
|
39 |
select HAVE_FUNCTION_TRACER |
fad57feba
|
40 41 |
select HAVE_FTRACE_MCOUNT_RECORD select HAVE_DYNAMIC_FTRACE |
c1340c053
|
42 |
select HAVE_FUNCTION_TRACE_MCOUNT_TEST |
e4b053d96
|
43 |
select HAVE_FTRACE_NMI_ENTER if DYNAMIC_FTRACE |
327933f5d
|
44 |
select HAVE_FUNCTION_GRAPH_TRACER |
ab6e570ba
|
45 |
select HAVE_ARCH_KGDB |
6fbfe8d7c
|
46 |
select HAVE_HW_BREAKPOINT |
0102752e4
|
47 |
select HAVE_MIXED_BREAKPOINTS_REGS |
e583d6b3c
|
48 |
select PERF_EVENTS |
8dafc3461
|
49 |
select ARCH_HIBERNATION_POSSIBLE if MMU |
57b813303
|
50 |
select SPARSE_IRQ |
ea0e1a9a3
|
51 52 |
config SUPERH64 |
3cc000b58
|
53 |
def_bool ARCH = "sh64" |
39d28a2db
|
54 |
|
f42b7e3db
|
55 56 57 58 |
config ARCH_DEFCONFIG string default "arch/sh/configs/shx3_defconfig" if SUPERH32 default "arch/sh/configs/cayman_defconfig" if SUPERH64 |
1da177e4c
|
59 |
config RWSEM_GENERIC_SPINLOCK |
d7ef4fb3a
|
60 |
def_bool y |
1da177e4c
|
61 62 63 |
config RWSEM_XCHGADD_ALGORITHM bool |
fa6915117
|
64 65 |
config GENERIC_BUG def_bool y |
a82d53ec2
|
66 |
depends on BUG && SUPERH32 |
fa6915117
|
67 |
|
3767f3f1e
|
68 69 70 |
config GENERIC_CSUM def_bool y depends on SUPERH64 |
e2268c712
|
71 |
config GENERIC_HWEIGHT |
d7ef4fb3a
|
72 |
def_bool y |
e2268c712
|
73 |
|
2eb2a4368
|
74 75 |
config IRQ_PER_CPU def_bool y |
2967dab1a
|
76 77 |
config GENERIC_GPIO def_bool n |
1da177e4c
|
78 |
config GENERIC_CALIBRATE_DELAY |
cf204fa79
|
79 |
bool |
1da177e4c
|
80 |
|
cad824484
|
81 82 |
config GENERIC_IOMAP bool |
57be2b484
|
83 |
config GENERIC_CLOCKEVENTS |
938edae11
|
84 |
def_bool y |
57be2b484
|
85 |
|
8c24594de
|
86 87 |
config GENERIC_CLOCKEVENTS_BROADCAST bool |
6d134b9e8
|
88 89 90 |
config GENERIC_CMOS_UPDATE def_bool y depends on SH_SH03 || SH_DREAMCAST |
bdcab87b1
|
91 92 93 |
config GENERIC_LOCKBREAK def_bool y depends on SMP && PREEMPT |
357d59469
|
94 95 |
config SYS_SUPPORTS_PM bool |
af998a9a0
|
96 97 98 99 100 101 102 |
depends on !SMP config ARCH_SUSPEND_POSSIBLE def_bool n config ARCH_HIBERNATION_POSSIBLE def_bool n |
357d59469
|
103 |
|
0a9b0db19
|
104 105 |
config SYS_SUPPORTS_APM_EMULATION bool |
af998a9a0
|
106 |
select ARCH_SUSPEND_POSSIBLE |
357d59469
|
107 |
|
ffb4a73d8
|
108 109 |
config SYS_SUPPORTS_HUGETLBFS bool |
357d59469
|
110 111 112 113 114 115 116 117 |
config SYS_SUPPORTS_SMP bool config SYS_SUPPORTS_NUMA bool config SYS_SUPPORTS_PCI bool |
0a9b0db19
|
118 |
|
f5ad881b4
|
119 120 |
config SYS_SUPPORTS_CMT bool |
d5ed4c2e5
|
121 122 |
config SYS_SUPPORTS_MTU2 bool |
9570ef204
|
123 124 |
config SYS_SUPPORTS_TMU bool |
afbfb52e4
|
125 |
config STACKTRACE_SUPPORT |
d7ef4fb3a
|
126 |
def_bool y |
afbfb52e4
|
127 128 |
config LOCKDEP_SUPPORT |
d7ef4fb3a
|
129 |
def_bool y |
afbfb52e4
|
130 |
|
5a89f1adb
|
131 132 |
config HAVE_LATENCYTOP_SUPPORT def_bool y |
5a89f1adb
|
133 |
|
f0d1b0b30
|
134 |
config ARCH_HAS_ILOG2_U32 |
d7ef4fb3a
|
135 |
def_bool n |
f0d1b0b30
|
136 137 |
config ARCH_HAS_ILOG2_U64 |
d7ef4fb3a
|
138 |
def_bool n |
f0d1b0b30
|
139 |
|
e257ad062
|
140 141 |
config ARCH_NO_VIRT_TO_BUS def_bool y |
e869a90ee
|
142 143 |
config ARCH_HAS_DEFAULT_IDLE def_bool y |
2e046b948
|
144 145 |
config ARCH_HAS_CPU_IDLE_WAIT def_bool y |
86e4dd5ad
|
146 |
config NO_IOPORT |
37b7a9788
|
147 |
def_bool !PCI |
4e2b1084b
|
148 |
depends on !SH_CAYMAN && !SH_SH4202_MICRODEV && !SH_SHMIN |
86e4dd5ad
|
149 |
|
e7cc9a734
|
150 151 |
config IO_TRAPPED bool |
01be5d63f
|
152 153 154 155 156 |
config DMA_COHERENT bool config DMA_NONCOHERENT def_bool !DMA_COHERENT |
5cabbb627
|
157 158 |
config NEED_DMA_MAP_STATE def_bool DMA_NONCOHERENT |
18e98307d
|
159 160 |
config NEED_SG_DMA_LENGTH def_bool y |
1da177e4c
|
161 |
source "init/Kconfig" |
dc52ddc0e
|
162 |
source "kernel/Kconfig.freezer" |
1da177e4c
|
163 |
menu "System type" |
b5f42db0a
|
164 165 166 167 168 169 170 171 172 |
# # Processor families # config CPU_SH2 bool config CPU_SH2A bool select CPU_SH2 |
e2fcf74f3
|
173 |
select UNCACHED_MAPPING |
b5f42db0a
|
174 175 176 177 178 |
config CPU_SH3 bool select CPU_HAS_INTEVT select CPU_HAS_SR_RB |
4fa48e177
|
179 |
select SYS_SUPPORTS_TMU |
b5f42db0a
|
180 181 182 183 184 |
config CPU_SH4 bool select CPU_HAS_INTEVT select CPU_HAS_SR_RB |
b5f42db0a
|
185 |
select CPU_HAS_FPU if !CPU_SH4AL_DSP |
4fa48e177
|
186 |
select SYS_SUPPORTS_TMU |
ffb4a73d8
|
187 |
select SYS_SUPPORTS_HUGETLBFS if MMU |
b5f42db0a
|
188 189 190 191 192 193 194 195 196 |
config CPU_SH4A bool select CPU_SH4 config CPU_SH4AL_DSP bool select CPU_SH4A select CPU_HAS_DSP |
ea0e1a9a3
|
197 198 199 |
config CPU_SH5 bool select CPU_HAS_FPU |
add47067a
|
200 |
select SYS_SUPPORTS_TMU |
ffb4a73d8
|
201 |
select SYS_SUPPORTS_HUGETLBFS if MMU |
ea0e1a9a3
|
202 |
|
b5f42db0a
|
203 204 205 206 207 |
config CPU_SHX2 bool config CPU_SHX3 bool |
01be5d63f
|
208 |
select DMA_COHERENT |
4b478ee2a
|
209 210 |
select SYS_SUPPORTS_SMP select SYS_SUPPORTS_NUMA |
b5f42db0a
|
211 |
|
dc65a977c
|
212 213 |
config ARCH_SHMOBILE bool |
775949127
|
214 |
select ARCH_SUSPEND_POSSIBLE |
ac2c596b5
|
215 216 |
select PM select PM_RUNTIME |
dc65a977c
|
217 |
|
86c8c0479
|
218 219 220 221 |
config CPU_HAS_PMU depends on CPU_SH4 || CPU_SH4A default y bool |
3cc000b58
|
222 |
if SUPERH32 |
b5f42db0a
|
223 224 225 226 227 228 229 230 231 232 233 234 |
choice prompt "Processor sub-type selection" # # Processor subtypes # # SH-2 Processor Support config CPU_SUBTYPE_SH7619 bool "Support SH7619 processor" select CPU_SH2 |
f5ad881b4
|
235 |
select SYS_SUPPORTS_CMT |
b5f42db0a
|
236 237 |
# SH-2A Processor Support |
2825999e8
|
238 239 240 241 |
config CPU_SUBTYPE_SH7201 bool "Support SH7201 processor" select CPU_SH2A select CPU_HAS_FPU |
da107c6ef
|
242 |
select SYS_SUPPORTS_MTU2 |
2825999e8
|
243 |
|
6d01f5108
|
244 245 246 |
config CPU_SUBTYPE_SH7203 bool "Support SH7203 processor" select CPU_SH2A |
74d99a5e2
|
247 |
select CPU_HAS_FPU |
f5ad881b4
|
248 |
select SYS_SUPPORTS_CMT |
da107c6ef
|
249 |
select SYS_SUPPORTS_MTU2 |
f020c92de
|
250 |
select ARCH_WANT_OPTIONAL_GPIOLIB |
6d01f5108
|
251 |
|
b5f42db0a
|
252 253 254 |
config CPU_SUBTYPE_SH7206 bool "Support SH7206 processor" select CPU_SH2A |
f5ad881b4
|
255 |
select SYS_SUPPORTS_CMT |
da107c6ef
|
256 |
select SYS_SUPPORTS_MTU2 |
b5f42db0a
|
257 |
|
a8f67f4b4
|
258 259 260 |
config CPU_SUBTYPE_SH7263 bool "Support SH7263 processor" select CPU_SH2A |
74d99a5e2
|
261 |
select CPU_HAS_FPU |
f5ad881b4
|
262 |
select SYS_SUPPORTS_CMT |
da107c6ef
|
263 |
select SYS_SUPPORTS_MTU2 |
a8f67f4b4
|
264 |
|
2ad699080
|
265 266 267 |
config CPU_SUBTYPE_MXG bool "Support MX-G processor" select CPU_SH2A |
da107c6ef
|
268 |
select SYS_SUPPORTS_MTU2 |
2ad699080
|
269 270 |
help Select MX-G if running on an R8A03022BG part. |
b5f42db0a
|
271 272 273 274 275 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 |
# 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
|
320 |
select SYS_SUPPORTS_CMT |
f020c92de
|
321 |
select ARCH_WANT_OPTIONAL_GPIOLIB |
e3e9887ee
|
322 |
select USB_ARCH_HAS_OHCI |
7b61ca5d9
|
323 |
select USB_OHCI_SH if USB_OHCI_HCD |
b5f42db0a
|
324 325 |
help Select SH7720 if you have a SH3-DSP SH7720 CPU. |
31a49c4bf
|
326 327 328 329 |
config CPU_SUBTYPE_SH7721 bool "Support SH7721 processor" select CPU_SH3 select CPU_HAS_DSP |
2b23a8826
|
330 |
select SYS_SUPPORTS_CMT |
e3e9887ee
|
331 |
select USB_ARCH_HAS_OHCI |
7b61ca5d9
|
332 |
select USB_OHCI_SH if USB_OHCI_HCD |
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 |
f020c92de
|
385 |
select ARCH_WANT_OPTIONAL_GPIOLIB |
178dd0cd2
|
386 387 |
help Select SH7723 if you have an SH-MobileR2 CPU. |
0207a2efb
|
388 389 390 391 |
config CPU_SUBTYPE_SH7724 bool "Support SH7724 processor" select CPU_SH4A select CPU_SHX2 |
59fe700dc
|
392 |
select ARCH_SHMOBILE |
0207a2efb
|
393 394 |
select ARCH_SPARSEMEM_ENABLE select SYS_SUPPORTS_CMT |
f020c92de
|
395 |
select ARCH_WANT_OPTIONAL_GPIOLIB |
0207a2efb
|
396 397 |
help Select SH7724 if you have an SH-MobileR2R CPU. |
c01f0f1a4
|
398 399 400 401 |
config CPU_SUBTYPE_SH7757 bool "Support SH7757 processor" select CPU_SH4A select CPU_SHX2 |
f020c92de
|
402 |
select ARCH_WANT_OPTIONAL_GPIOLIB |
0fe48601d
|
403 404 |
select USB_ARCH_HAS_OHCI select USB_ARCH_HAS_EHCI |
c01f0f1a4
|
405 406 |
help Select SH7757 if you have a SH4A SH7757 CPU. |
7d740a066
|
407 408 409 |
config CPU_SUBTYPE_SH7763 bool "Support SH7763 processor" select CPU_SH4A |
e3e9887ee
|
410 |
select USB_ARCH_HAS_OHCI |
7b61ca5d9
|
411 |
select USB_OHCI_SH if USB_OHCI_HCD |
7d740a066
|
412 413 |
help Select SH7763 if you have a SH4A SH7763(R5S77631) CPU. |
b5f42db0a
|
414 415 416 417 418 419 420 421 422 423 424 425 |
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
|
426 427 |
select ARCH_SPARSEMEM_ENABLE select SYS_SUPPORTS_NUMA |
f020c92de
|
428 |
select ARCH_WANT_OPTIONAL_GPIOLIB |
55ba99eb2
|
429 430 431 432 |
config CPU_SUBTYPE_SH7786 bool "Support SH7786 processor" select CPU_SH4A |
37042fbd8
|
433 |
select CPU_SHX3 |
8263a67e1
|
434 |
select CPU_HAS_PTEAEX |
2eb2a4368
|
435 |
select GENERIC_CLOCKEVENTS_BROADCAST if SMP |
f020c92de
|
436 |
select ARCH_WANT_OPTIONAL_GPIOLIB |
e3e9887ee
|
437 |
select USB_ARCH_HAS_OHCI |
7b61ca5d9
|
438 |
select USB_OHCI_SH if USB_OHCI_HCD |
e3e9887ee
|
439 |
select USB_ARCH_HAS_EHCI |
7b61ca5d9
|
440 |
select USB_EHCI_SH if USB_EHCI_HCD |
b5f42db0a
|
441 442 443 444 445 |
config CPU_SUBTYPE_SHX3 bool "Support SH-X3 processor" select CPU_SH4A select CPU_SHX3 |
5840263ec
|
446 |
select GENERIC_CLOCKEVENTS_BROADCAST if SMP |
742759eae
|
447 |
select ARCH_REQUIRE_GPIOLIB |
b5f42db0a
|
448 449 450 451 452 453 |
# SH4AL-DSP Processor Support config CPU_SUBTYPE_SH7343 bool "Support SH7343 processor" select CPU_SH4AL_DSP |
dc65a977c
|
454 |
select ARCH_SHMOBILE |
f5ad881b4
|
455 |
select SYS_SUPPORTS_CMT |
b5f42db0a
|
456 457 458 459 460 |
config CPU_SUBTYPE_SH7722 bool "Support SH7722 processor" select CPU_SH4AL_DSP select CPU_SHX2 |
dc65a977c
|
461 |
select ARCH_SHMOBILE |
b5f42db0a
|
462 463 |
select ARCH_SPARSEMEM_ENABLE select SYS_SUPPORTS_NUMA |
f5ad881b4
|
464 |
select SYS_SUPPORTS_CMT |
f020c92de
|
465 |
select ARCH_WANT_OPTIONAL_GPIOLIB |
9109a30e5
|
466 467 468 469 470 |
config CPU_SUBTYPE_SH7366 bool "Support SH7366 processor" select CPU_SH4AL_DSP select CPU_SHX2 |
dc65a977c
|
471 |
select ARCH_SHMOBILE |
9109a30e5
|
472 473 |
select ARCH_SPARSEMEM_ENABLE select SYS_SUPPORTS_NUMA |
f5ad881b4
|
474 |
select SYS_SUPPORTS_CMT |
b5f42db0a
|
475 |
|
3cc000b58
|
476 477 478 479 480 481 482 483 |
endchoice endif if SUPERH64 choice prompt "Processor sub-type selection" |
ea0e1a9a3
|
484 485 486 487 488 489 490 491 |
# 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
|
492 |
select CPU_SH5 |
ea0e1a9a3
|
493 |
|
b5f42db0a
|
494 |
endchoice |
3cc000b58
|
495 |
endif |
f3d222985
|
496 |
source "arch/sh/mm/Kconfig" |
939a24a6d
|
497 |
|
4690bdc7c
|
498 |
source "arch/sh/Kconfig.cpu" |
f3d222985
|
499 |
|
939a24a6d
|
500 |
source "arch/sh/boards/Kconfig" |
32351a28a
|
501 |
|
32351a28a
|
502 |
menu "Timer and clock configuration" |
9570ef204
|
503 504 |
config SH_TIMER_TMU bool "TMU timer driver" |
f19900b2e
|
505 |
depends on SYS_SUPPORTS_TMU |
9570ef204
|
506 |
default y |
9570ef204
|
507 508 |
help This enables the build of the TMU timer driver. |
f5ad881b4
|
509 |
config SH_TIMER_CMT |
f425752fc
|
510 511 512 |
bool "CMT timer driver" depends on SYS_SUPPORTS_CMT default y |
f425752fc
|
513 514 |
help This enables build of the CMT timer driver. |
f5ad881b4
|
515 |
|
d5ed4c2e5
|
516 517 |
config SH_TIMER_MTU2 bool "MTU2 timer driver" |
3280c8865
|
518 |
depends on SYS_SUPPORTS_MTU2 |
d5ed4c2e5
|
519 |
default y |
d5ed4c2e5
|
520 521 |
help This enables build of the MTU2 timer driver. |
cad824484
|
522 523 |
config SH_PCLK_FREQ int "Peripheral clock frequency (in Hz)" |
8152a74bc
|
524 |
depends on SH_CLK_CPG_LEGACY |
9d4436a6f
|
525 |
default "31250000" if CPU_SUBTYPE_SH7619 |
8152a74bc
|
526 527 528 529 530 531 |
default "33333333" if CPU_SUBTYPE_SH7770 || \ CPU_SUBTYPE_SH7760 || \ CPU_SUBTYPE_SH7705 || \ CPU_SUBTYPE_SH7203 || \ CPU_SUBTYPE_SH7206 || \ CPU_SUBTYPE_SH7263 || \ |
43a1839cb
|
532 |
CPU_SUBTYPE_MXG |
05627486a
|
533 |
default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R |
cad824484
|
534 |
default "66000000" if CPU_SUBTYPE_SH4_202 |
05627486a
|
535 |
default "50000000" |
1da177e4c
|
536 |
help |
cad824484
|
537 538 539 |
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
|
540 |
|
36aa1e32f
|
541 542 |
config SH_CLK_CPG def_bool y |
253b0887b
|
543 |
config SH_CLK_CPG_LEGACY |
36aa1e32f
|
544 |
depends on SH_CLK_CPG |
43a1839cb
|
545 |
def_bool y if !CPU_SUBTYPE_SH7785 && !ARCH_SHMOBILE && \ |
5924ad0d8
|
546 |
!CPU_SHX3 && !CPU_SUBTYPE_SH7757 |
253b0887b
|
547 |
|
57be2b484
|
548 |
source "kernel/time/Kconfig" |
32351a28a
|
549 |
endmenu |
cad824484
|
550 551 552 |
menu "CPU Frequency scaling" source "drivers/cpufreq/Kconfig" |
1da177e4c
|
553 |
|
cad824484
|
554 555 |
config SH_CPU_FREQ tristate "SuperH CPU Frequency driver" |
cb5ec75b8
|
556 |
depends on CPU_FREQ |
cad824484
|
557 |
select CPU_FREQ_TABLE |
1da177e4c
|
558 |
help |
8a655053c
|
559 560 561 562 563 564 |
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
|
565 |
|
cad824484
|
566 |
For details, take a look at <file:Documentation/cpu-freq>. |
1da177e4c
|
567 568 |
If unsure, say N. |
cad824484
|
569 |
endmenu |
9f5e8eee5
|
570 |
source "arch/sh/drivers/Kconfig" |
cad824484
|
571 |
endmenu |
1da177e4c
|
572 |
|
cad824484
|
573 |
menu "Kernel features" |
91b91d014
|
574 |
source kernel/Kconfig.hz |
cad824484
|
575 576 |
config KEXEC bool "kexec system call (EXPERIMENTAL)" |
f36b59d1a
|
577 |
depends on SUPERH32 && EXPERIMENTAL && MMU |
1da177e4c
|
578 |
help |
cad824484
|
579 580 |
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
|
581 |
but it is independent of the system firmware. And like a reboot |
cad824484
|
582 |
you can start any kernel with it, not just Linux. |
1f1332f72
|
583 |
The name comes from the similarity to the exec system call. |
cad824484
|
584 585 586 587 588 589 |
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
|
590 591 |
config CRASH_DUMP bool "kernel crash dumps (EXPERIMENTAL)" |
d523e1ae6
|
592 |
depends on SUPERH32 && EXPERIMENTAL && BROKEN_ON_SMP |
4d5ade5b2
|
593 594 595 596 597 598 599 600 601 602 |
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
|
603 604 605 606 607 608 |
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
|
609 610 611 |
config SECCOMP bool "Enable seccomp to safely compute untrusted bytecode" depends on PROC_FS |
c4637d475
|
612 613 614 615 616 617 618 619 620 621 622 623 |
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
|
624 625 |
config SMP bool "Symmetric multi-processing support" |
357d59469
|
626 |
depends on SYS_SUPPORTS_SMP |
490f5de52
|
627 |
select USE_GENERIC_SMP_HELPERS |
1da177e4c
|
628 629 630 631 632 633 634 635 636 637 638 639 640 |
---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
|
641 642 |
See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available at <http://www.tldp.org/docs.html#howto>. |
1da177e4c
|
643 644 645 646 647 648 649 |
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
|
650 |
default "4" if CPU_SUBTYPE_SHX3 |
1da177e4c
|
651 652 653 654 655 656 657 658 |
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
|
659 660 661 662 663 664 |
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
|
665 |
source "kernel/Kconfig.preempt" |
836624619
|
666 667 |
config GUSA def_bool y |
1efe4ce3c
|
668 |
depends on !SMP && SUPERH32 |
836624619
|
669 670 671 672 673 674 675 676 677 678 |
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
|
679 680 681 682 683 |
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
|
684 |
atomic operations using a software implementation of load-locked/ |
1efe4ce3c
|
685 686 |
store-conditional (LLSC). On machines which do not have hardware LLSC, this should be more efficient than the other alternative of |
692105b8a
|
687 |
disabling interrupts around the atomic sequence. |
1efe4ce3c
|
688 |
|
86c8c0479
|
689 690 691 692 693 694 695 |
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
|
696 |
source "drivers/sh/Kconfig" |
cad824484
|
697 |
endmenu |
1da177e4c
|
698 |
|
cad824484
|
699 |
menu "Boot options" |
1da177e4c
|
700 |
|
cad824484
|
701 |
config ZERO_PAGE_OFFSET |
b412a49af
|
702 703 704 705 |
hex default "0x00010000" if PAGE_SIZE_64KB || SH_RTS7751R2D || \ SH_7751_SOLUTION_ENGINE default "0x00004000" if PAGE_SIZE_16KB || SH_SH03 |
7a847f819
|
706 |
default "0x00002000" if PAGE_SIZE_8KB |
cad824484
|
707 |
default "0x00001000" |
1da177e4c
|
708 |
help |
cad824484
|
709 |
This sets the default offset of zero page. |
1da177e4c
|
710 |
|
cad824484
|
711 |
config BOOT_LINK_OFFSET |
b412a49af
|
712 713 |
hex default "0x00210000" if SH_SHMIN |
a2e76c80d
|
714 |
default "0x00400000" if SH_CAYMAN |
b412a49af
|
715 716 717 718 |
default "0x00810000" if SH_7780_SOLUTION_ENGINE default "0x009e0000" if SH_TITAN default "0x01800000" if SH_SDK7780 default "0x02000000" if SH_EDOSK7760 |
cad824484
|
719 720 721 722 723 |
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
|
724 |
|
b412a49af
|
725 726 727 728 729 730 731 |
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
|
732 733 734 735 736 737 738 739 740 741 |
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
|
742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 |
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
|
763 |
|
cad824484
|
764 |
config CMDLINE |
d724a9c9d
|
765 766 |
string "Kernel command line arguments string" depends on CMDLINE_OVERWRITE || CMDLINE_EXTEND |
cad824484
|
767 |
default "console=ttySC1,115200" |
1da177e4c
|
768 769 |
endmenu |
cad824484
|
770 |
menu "Bus options" |
1da177e4c
|
771 |
|
cad824484
|
772 773 774 |
config SUPERHYWAY tristate "SuperHyway Bus support" depends on CPU_SUBTYPE_SH4_202 |
1da177e4c
|
775 |
|
17be2d2b1
|
776 |
config MAPLE |
e16038aba
|
777 778 779 780 781 782 783 784 785 |
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
|
786 |
|
7693465d8
|
787 788 789 |
config PCI bool "PCI support" depends on SYS_SUPPORTS_PCI |
320e68da5
|
790 |
select PCI_DOMAINS |
7693465d8
|
791 792 793 794 |
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
|
795 |
|
320e68da5
|
796 797 |
config PCI_DOMAINS bool |
e16038aba
|
798 |
source "drivers/pci/pcie/Kconfig" |
1da177e4c
|
799 800 801 802 803 804 805 806 807 808 809 810 811 |
source "drivers/pci/Kconfig" source "drivers/pcmcia/Kconfig" source "drivers/pci/hotplug/Kconfig" endmenu menu "Executable file formats" source "fs/Kconfig.binfmt" endmenu |
3aa770e79
|
812 |
menu "Power management options (EXPERIMENTAL)" |
af998a9a0
|
813 |
depends on EXPERIMENTAL |
f4cb57007
|
814 |
|
c6f17cb22
|
815 816 817 |
source "kernel/power/Kconfig" source "drivers/cpuidle/Kconfig" |
3aa770e79
|
818 |
|
3aa770e79
|
819 |
endmenu |
d5950b435
|
820 |
source "net/Kconfig" |
1da177e4c
|
821 822 823 |
source "drivers/Kconfig" source "fs/Kconfig" |
1da177e4c
|
824 825 826 827 828 829 830 |
source "arch/sh/Kconfig.debug" source "security/Kconfig" source "crypto/Kconfig" source "lib/Kconfig" |