diff options
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r-- | arch/sh/Kconfig | 100 |
1 files changed, 93 insertions, 7 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index bffc7e176970..d83d64af31f2 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -51,6 +51,14 @@ config GENERIC_TIME | |||
51 | config ARCH_MAY_HAVE_PC_FDC | 51 | config ARCH_MAY_HAVE_PC_FDC |
52 | bool | 52 | bool |
53 | 53 | ||
54 | config STACKTRACE_SUPPORT | ||
55 | bool | ||
56 | default y | ||
57 | |||
58 | config LOCKDEP_SUPPORT | ||
59 | bool | ||
60 | default y | ||
61 | |||
54 | source "init/Kconfig" | 62 | source "init/Kconfig" |
55 | 63 | ||
56 | menu "System type" | 64 | menu "System type" |
@@ -219,6 +227,20 @@ config SH_SHMIN | |||
219 | help | 227 | help |
220 | Select SHMIN if configuring for the SHMIN board. | 228 | Select SHMIN if configuring for the SHMIN board. |
221 | 229 | ||
230 | config SH_7206_SOLUTION_ENGINE | ||
231 | bool "SolutionEngine7206" | ||
232 | select CPU_SUBTYPE_SH7206 | ||
233 | help | ||
234 | Select 7206 SolutionEngine if configuring for a Hitachi SH7206 | ||
235 | evaluation board. | ||
236 | |||
237 | config SH_7619_SOLUTION_ENGINE | ||
238 | bool "SolutionEngine7619" | ||
239 | select CPU_SUBTYPE_SH7619 | ||
240 | help | ||
241 | Select 7619 SolutionEngine if configuring for a Hitachi SH7619 | ||
242 | evaluation board. | ||
243 | |||
222 | config SH_UNKNOWN | 244 | config SH_UNKNOWN |
223 | bool "BareCPU" | 245 | bool "BareCPU" |
224 | help | 246 | help |
@@ -280,12 +302,20 @@ config CF_BASE_ADDR | |||
280 | 302 | ||
281 | menu "Processor features" | 303 | menu "Processor features" |
282 | 304 | ||
283 | config CPU_LITTLE_ENDIAN | 305 | choice |
284 | bool "Little Endian" | 306 | prompt "Endianess selection" |
307 | default CPU_LITTLE_ENDIAN | ||
285 | help | 308 | help |
286 | Some SuperH machines can be configured for either little or big | 309 | Some SuperH machines can be configured for either little or big |
287 | endian byte order. These modes require different kernels. Say Y if | 310 | endian byte order. These modes require different kernels. |
288 | your machine is little endian, N if it's a big endian machine. | 311 | |
312 | config CPU_LITTLE_ENDIAN | ||
313 | bool "Little Endian" | ||
314 | |||
315 | config CPU_BIG_ENDIAN | ||
316 | bool "Big Endian" | ||
317 | |||
318 | endchoice | ||
289 | 319 | ||
290 | config SH_FPU | 320 | config SH_FPU |
291 | bool "FPU support" | 321 | bool "FPU support" |
@@ -345,6 +375,9 @@ config CPU_HAS_MASKREG_IRQ | |||
345 | config CPU_HAS_INTC2_IRQ | 375 | config CPU_HAS_INTC2_IRQ |
346 | bool | 376 | bool |
347 | 377 | ||
378 | config CPU_HAS_IPR_IRQ | ||
379 | bool | ||
380 | |||
348 | config CPU_HAS_SR_RB | 381 | config CPU_HAS_SR_RB |
349 | bool "CPU has SR.RB" | 382 | bool "CPU has SR.RB" |
350 | depends on CPU_SH3 || CPU_SH4 | 383 | depends on CPU_SH3 || CPU_SH4 |
@@ -357,6 +390,9 @@ config CPU_HAS_SR_RB | |||
357 | See <file:Documentation/sh/register-banks.txt> for further | 390 | See <file:Documentation/sh/register-banks.txt> for further |
358 | information on SR.RB and register banking in the kernel in general. | 391 | information on SR.RB and register banking in the kernel in general. |
359 | 392 | ||
393 | config CPU_HAS_PTEA | ||
394 | bool | ||
395 | |||
360 | endmenu | 396 | endmenu |
361 | 397 | ||
362 | menu "Timer support" | 398 | menu "Timer support" |
@@ -364,10 +400,25 @@ depends on !GENERIC_TIME | |||
364 | 400 | ||
365 | config SH_TMU | 401 | config SH_TMU |
366 | bool "TMU timer support" | 402 | bool "TMU timer support" |
403 | depends on CPU_SH3 || CPU_SH4 | ||
367 | default y | 404 | default y |
368 | help | 405 | help |
369 | This enables the use of the TMU as the system timer. | 406 | This enables the use of the TMU as the system timer. |
370 | 407 | ||
408 | config SH_CMT | ||
409 | bool "CMT timer support" | ||
410 | depends on CPU_SH2 | ||
411 | default y | ||
412 | help | ||
413 | This enables the use of the CMT as the system timer. | ||
414 | |||
415 | config SH_MTU2 | ||
416 | bool "MTU2 timer support" | ||
417 | depends on CPU_SH2A | ||
418 | default n | ||
419 | help | ||
420 | This enables the use of the MTU2 as the system timer. | ||
421 | |||
371 | endmenu | 422 | endmenu |
372 | 423 | ||
373 | source "arch/sh/boards/renesas/hs7751rvoip/Kconfig" | 424 | source "arch/sh/boards/renesas/hs7751rvoip/Kconfig" |
@@ -376,19 +427,52 @@ source "arch/sh/boards/renesas/rts7751r2d/Kconfig" | |||
376 | 427 | ||
377 | source "arch/sh/boards/renesas/r7780rp/Kconfig" | 428 | source "arch/sh/boards/renesas/r7780rp/Kconfig" |
378 | 429 | ||
430 | config SH_TIMER_IRQ | ||
431 | int | ||
432 | default "28" if CPU_SUBTYPE_SH7780 | ||
433 | default "86" if CPU_SUBTYPE_SH7619 | ||
434 | default "140" if CPU_SUBTYPE_SH7206 | ||
435 | default "16" | ||
436 | |||
437 | config NO_IDLE_HZ | ||
438 | bool "Dynamic tick timer" | ||
439 | help | ||
440 | Select this option if you want to disable continuous timer ticks | ||
441 | and have them programmed to occur as required. This option saves | ||
442 | power as the system can remain in idle state for longer. | ||
443 | |||
444 | By default dynamic tick is disabled during the boot, and can be | ||
445 | manually enabled with: | ||
446 | |||
447 | echo 1 > /sys/devices/system/timer/timer0/dyn_tick | ||
448 | |||
449 | Alternatively, if you want dynamic tick automatically enabled | ||
450 | during boot, pass "dyntick=enable" via the kernel command string. | ||
451 | |||
452 | Please note that dynamic tick may affect the accuracy of | ||
453 | timekeeping on some platforms depending on the implementation. | ||
454 | |||
379 | config SH_PCLK_FREQ | 455 | config SH_PCLK_FREQ |
380 | int "Peripheral clock frequency (in Hz)" | 456 | int "Peripheral clock frequency (in Hz)" |
457 | default "27000000" if CPU_SUBTYPE_SH73180 || CPU_SUBTYPE_SH7343 | ||
458 | default "31250000" if CPU_SUBTYPE_SH7619 | ||
459 | default "33333333" if CPU_SUBTYPE_SH7300 || CPU_SUBTYPE_SH7770 || \ | ||
460 | CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \ | ||
461 | CPU_SUBTYPE_SH7206 | ||
381 | default "50000000" if CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7780 | 462 | default "50000000" if CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7780 |
382 | default "60000000" if CPU_SUBTYPE_SH7751 | 463 | default "60000000" if CPU_SUBTYPE_SH7751 |
383 | default "33333333" if CPU_SUBTYPE_SH7300 || CPU_SUBTYPE_SH7770 || \ | ||
384 | CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 | ||
385 | default "27000000" if CPU_SUBTYPE_SH73180 || CPU_SUBTYPE_SH7343 | ||
386 | default "66000000" if CPU_SUBTYPE_SH4_202 | 464 | default "66000000" if CPU_SUBTYPE_SH4_202 |
387 | help | 465 | help |
388 | This option is used to specify the peripheral clock frequency. | 466 | This option is used to specify the peripheral clock frequency. |
389 | This is necessary for determining the reference clock value on | 467 | This is necessary for determining the reference clock value on |
390 | platforms lacking an RTC. | 468 | platforms lacking an RTC. |
391 | 469 | ||
470 | config SH_CLK_MD | ||
471 | int "CPU Mode Pin Setting" | ||
472 | depends on CPU_SUBTYPE_SH7619 || CPU_SUBTYPE_SH7206 | ||
473 | help | ||
474 | MD2 - MD0 Setting. | ||
475 | |||
392 | menu "CPU Frequency scaling" | 476 | menu "CPU Frequency scaling" |
393 | 477 | ||
394 | source "drivers/cpufreq/Kconfig" | 478 | source "drivers/cpufreq/Kconfig" |
@@ -421,6 +505,8 @@ config HEARTBEAT | |||
421 | behavior is platform-dependent, but normally the flash frequency is | 505 | behavior is platform-dependent, but normally the flash frequency is |
422 | a hyperbolic function of the 5-minute load average. | 506 | a hyperbolic function of the 5-minute load average. |
423 | 507 | ||
508 | source "arch/sh/drivers/Kconfig" | ||
509 | |||
424 | endmenu | 510 | endmenu |
425 | 511 | ||
426 | config ISA_DMA_API | 512 | config ISA_DMA_API |