diff options
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r-- | arch/sh/Kconfig | 97 |
1 files changed, 65 insertions, 32 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 4d16d8917074..d74eb120a9c6 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -22,6 +22,10 @@ config RWSEM_GENERIC_SPINLOCK | |||
22 | config RWSEM_XCHGADD_ALGORITHM | 22 | config RWSEM_XCHGADD_ALGORITHM |
23 | bool | 23 | bool |
24 | 24 | ||
25 | config GENERIC_BUG | ||
26 | def_bool y | ||
27 | depends on BUG | ||
28 | |||
25 | config GENERIC_FIND_NEXT_BIT | 29 | config GENERIC_FIND_NEXT_BIT |
26 | bool | 30 | bool |
27 | default y | 31 | default y |
@@ -88,6 +92,14 @@ config SH_SOLUTION_ENGINE | |||
88 | Select SolutionEngine if configuring for a Hitachi SH7709 | 92 | Select SolutionEngine if configuring for a Hitachi SH7709 |
89 | or SH7750 evaluation board. | 93 | or SH7750 evaluation board. |
90 | 94 | ||
95 | config SH_7722_SOLUTION_ENGINE | ||
96 | bool "SolutionEngine7722" | ||
97 | select SOLUTION_ENGINE | ||
98 | select CPU_SUBTYPE_SH7722 | ||
99 | help | ||
100 | Select 7722 SolutionEngine if configuring for a Hitachi SH772 | ||
101 | evaluation board. | ||
102 | |||
91 | config SH_7751_SOLUTION_ENGINE | 103 | config SH_7751_SOLUTION_ENGINE |
92 | bool "SolutionEngine7751" | 104 | bool "SolutionEngine7751" |
93 | select SOLUTION_ENGINE | 105 | select SOLUTION_ENGINE |
@@ -95,6 +107,14 @@ config SH_7751_SOLUTION_ENGINE | |||
95 | help | 107 | help |
96 | Select 7751 SolutionEngine if configuring for a Hitachi SH7751 | 108 | Select 7751 SolutionEngine if configuring for a Hitachi SH7751 |
97 | evaluation board. | 109 | evaluation board. |
110 | |||
111 | config SH_7780_SOLUTION_ENGINE | ||
112 | bool "SolutionEngine7780" | ||
113 | select SOLUTION_ENGINE | ||
114 | select CPU_SUBTYPE_SH7780 | ||
115 | help | ||
116 | Select 7780 SolutionEngine if configuring for a Renesas SH7780 | ||
117 | evaluation board. | ||
98 | 118 | ||
99 | config SH_7300_SOLUTION_ENGINE | 119 | config SH_7300_SOLUTION_ENGINE |
100 | bool "SolutionEngine7300" | 120 | bool "SolutionEngine7300" |
@@ -193,12 +213,8 @@ config SH_RTS7751R2D | |||
193 | Select RTS7751R2D if configuring for a Renesas Technology | 213 | Select RTS7751R2D if configuring for a Renesas Technology |
194 | Sales SH-Graphics board. | 214 | Sales SH-Graphics board. |
195 | 215 | ||
196 | config SH_R7780RP | 216 | config SH_HIGHLANDER |
197 | bool "R7780RP-1" | 217 | bool "Highlander" |
198 | select CPU_SUBTYPE_SH7780 | ||
199 | help | ||
200 | Select R7780RP-1 if configuring for a Renesas Solutions | ||
201 | HIGHLANDER board. | ||
202 | 218 | ||
203 | config SH_EDOSK7705 | 219 | config SH_EDOSK7705 |
204 | bool "EDOSK7705" | 220 | bool "EDOSK7705" |
@@ -243,6 +259,12 @@ config SH_7619_SOLUTION_ENGINE | |||
243 | help | 259 | help |
244 | Select 7619 SolutionEngine if configuring for a Hitachi SH7619 | 260 | Select 7619 SolutionEngine if configuring for a Hitachi SH7619 |
245 | evaluation board. | 261 | evaluation board. |
262 | |||
263 | config SH_LBOX_RE2 | ||
264 | bool "L-BOX RE2" | ||
265 | select CPU_SUBTYPE_SH7751R | ||
266 | help | ||
267 | Select L-BOX RE2 if configuring for the NTT COMWARE L-BOX RE2. | ||
246 | 268 | ||
247 | config SH_UNKNOWN | 269 | config SH_UNKNOWN |
248 | bool "BareCPU" | 270 | bool "BareCPU" |
@@ -258,6 +280,10 @@ config SH_UNKNOWN | |||
258 | 280 | ||
259 | endchoice | 281 | endchoice |
260 | 282 | ||
283 | source "arch/sh/boards/renesas/hs7751rvoip/Kconfig" | ||
284 | source "arch/sh/boards/renesas/rts7751r2d/Kconfig" | ||
285 | source "arch/sh/boards/renesas/r7780rp/Kconfig" | ||
286 | |||
261 | source "arch/sh/mm/Kconfig" | 287 | source "arch/sh/mm/Kconfig" |
262 | 288 | ||
263 | config CF_ENABLER | 289 | config CF_ENABLER |
@@ -366,6 +392,16 @@ config SH_STORE_QUEUES | |||
366 | Selecting this option will enable an in-kernel API for manipulating | 392 | Selecting this option will enable an in-kernel API for manipulating |
367 | the store queues integrated in the SH-4 processors. | 393 | the store queues integrated in the SH-4 processors. |
368 | 394 | ||
395 | config SPECULATIVE_EXECUTION | ||
396 | bool "Speculative subroutine return" | ||
397 | depends on CPU_SUBTYPE_SH7780 && EXPERIMENTAL | ||
398 | help | ||
399 | This enables support for a speculative instruction fetch for | ||
400 | subroutine return. There are various pitfalls associated with | ||
401 | this, as outlined in the SH7780 hardware manual. | ||
402 | |||
403 | If unsure, say N. | ||
404 | |||
369 | config CPU_HAS_INTEVT | 405 | config CPU_HAS_INTEVT |
370 | bool | 406 | bool |
371 | 407 | ||
@@ -398,8 +434,9 @@ config CPU_HAS_PTEA | |||
398 | 434 | ||
399 | endmenu | 435 | endmenu |
400 | 436 | ||
401 | menu "Timer support" | 437 | menu "Timer and clock configuration" |
402 | depends on !GENERIC_TIME | 438 | |
439 | if !GENERIC_TIME | ||
403 | 440 | ||
404 | config SH_TMU | 441 | config SH_TMU |
405 | bool "TMU timer support" | 442 | bool "TMU timer support" |
@@ -422,17 +459,11 @@ config SH_MTU2 | |||
422 | help | 459 | help |
423 | This enables the use of the MTU2 as the system timer. | 460 | This enables the use of the MTU2 as the system timer. |
424 | 461 | ||
425 | endmenu | 462 | endif |
426 | |||
427 | source "arch/sh/boards/renesas/hs7751rvoip/Kconfig" | ||
428 | |||
429 | source "arch/sh/boards/renesas/rts7751r2d/Kconfig" | ||
430 | |||
431 | source "arch/sh/boards/renesas/r7780rp/Kconfig" | ||
432 | 463 | ||
433 | config SH_TIMER_IRQ | 464 | config SH_TIMER_IRQ |
434 | int | 465 | int |
435 | default "28" if CPU_SUBTYPE_SH7780 | 466 | default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 |
436 | default "86" if CPU_SUBTYPE_SH7619 | 467 | default "86" if CPU_SUBTYPE_SH7619 |
437 | default "140" if CPU_SUBTYPE_SH7206 | 468 | default "140" if CPU_SUBTYPE_SH7206 |
438 | default "16" | 469 | default "16" |
@@ -462,7 +493,8 @@ config SH_PCLK_FREQ | |||
462 | default "33333333" if CPU_SUBTYPE_SH7300 || CPU_SUBTYPE_SH7770 || \ | 493 | default "33333333" if CPU_SUBTYPE_SH7300 || CPU_SUBTYPE_SH7770 || \ |
463 | CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \ | 494 | CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \ |
464 | CPU_SUBTYPE_SH7206 | 495 | CPU_SUBTYPE_SH7206 |
465 | default "50000000" if CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7780 | 496 | default "50000000" if CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7780 || \ |
497 | CPU_SUBTYPE_SH7785 | ||
466 | default "60000000" if CPU_SUBTYPE_SH7751 | 498 | default "60000000" if CPU_SUBTYPE_SH7751 |
467 | default "66000000" if CPU_SUBTYPE_SH4_202 | 499 | default "66000000" if CPU_SUBTYPE_SH4_202 |
468 | help | 500 | help |
@@ -477,6 +509,8 @@ config SH_CLK_MD | |||
477 | help | 509 | help |
478 | MD2 - MD0 pin setting. | 510 | MD2 - MD0 pin setting. |
479 | 511 | ||
512 | endmenu | ||
513 | |||
480 | menu "CPU Frequency scaling" | 514 | menu "CPU Frequency scaling" |
481 | 515 | ||
482 | source "drivers/cpufreq/Kconfig" | 516 | source "drivers/cpufreq/Kconfig" |
@@ -495,21 +529,6 @@ config SH_CPU_FREQ | |||
495 | 529 | ||
496 | endmenu | 530 | endmenu |
497 | 531 | ||
498 | source "arch/sh/drivers/dma/Kconfig" | ||
499 | |||
500 | source "arch/sh/cchips/Kconfig" | ||
501 | |||
502 | config HEARTBEAT | ||
503 | bool "Heartbeat LED" | ||
504 | depends on SH_MPC1211 || SH_SH03 || \ | ||
505 | SOLUTION_ENGINE || \ | ||
506 | SH_RTS7751R2D || SH_SH4202_MICRODEV || SH_LANDISK || \ | ||
507 | SH_R7780RP | ||
508 | help | ||
509 | Use the power-on LED on your machine as a load meter. The exact | ||
510 | behavior is platform-dependent, but normally the flash frequency is | ||
511 | a hyperbolic function of the 5-minute load average. | ||
512 | |||
513 | source "arch/sh/drivers/Kconfig" | 532 | source "arch/sh/drivers/Kconfig" |
514 | 533 | ||
515 | endmenu | 534 | endmenu |
@@ -540,6 +559,20 @@ config KEXEC | |||
540 | support. As of this writing the exact hardware interface is | 559 | support. As of this writing the exact hardware interface is |
541 | strongly in flux, so no good recommendation can be made. | 560 | strongly in flux, so no good recommendation can be made. |
542 | 561 | ||
562 | config CRASH_DUMP | ||
563 | bool "kernel crash dumps (EXPERIMENTAL)" | ||
564 | depends on EXPERIMENTAL | ||
565 | help | ||
566 | Generate crash dump after being started by kexec. | ||
567 | This should be normally only set in special crash dump kernels | ||
568 | which are loaded in the main kernel with kexec-tools into | ||
569 | a specially reserved region and then later executed after | ||
570 | a crash by kdump/kexec. The crash dump kernel must be compiled | ||
571 | to a memory address not used by the main kernel using | ||
572 | MEMORY_START. | ||
573 | |||
574 | For more details see Documentation/kdump/kdump.txt | ||
575 | |||
543 | config SMP | 576 | config SMP |
544 | bool "Symmetric multi-processing support" | 577 | bool "Symmetric multi-processing support" |
545 | ---help--- | 578 | ---help--- |