diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-03-12 01:38:59 -0400 |
---|---|---|
committer | Paul Mundt <lethal@hera.kernel.org> | 2007-05-06 22:10:53 -0400 |
commit | 32351a28a7e1f2c68afbe559dd35e1ad0301be6d (patch) | |
tree | 289c28c605da6876125fa2105d880860b88b5017 /arch/sh/Kconfig | |
parent | be782df54c51b50dd4dbc363a5a5afa04565fc60 (diff) |
sh: Add SH7785 Highlander board support (R7785RP).
This adds preliminary support for the SH7785-based Highlander board.
Some of the Highlander support code is reordered so that most of it
can be reused directly.
This also plugs in missing SH7785 checks in the places that need it,
as this is the first board to support the CPU.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r-- | arch/sh/Kconfig | 47 |
1 files changed, 15 insertions, 32 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 51d9d0ab39c6..9932d1aa8494 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -197,12 +197,8 @@ config SH_RTS7751R2D | |||
197 | Select RTS7751R2D if configuring for a Renesas Technology | 197 | Select RTS7751R2D if configuring for a Renesas Technology |
198 | Sales SH-Graphics board. | 198 | Sales SH-Graphics board. |
199 | 199 | ||
200 | config SH_R7780RP | 200 | config SH_HIGHLANDER |
201 | bool "R7780RP-1" | 201 | bool "Highlander" |
202 | select CPU_SUBTYPE_SH7780 | ||
203 | help | ||
204 | Select R7780RP-1 if configuring for a Renesas Solutions | ||
205 | HIGHLANDER board. | ||
206 | 202 | ||
207 | config SH_EDOSK7705 | 203 | config SH_EDOSK7705 |
208 | bool "EDOSK7705" | 204 | bool "EDOSK7705" |
@@ -262,6 +258,10 @@ config SH_UNKNOWN | |||
262 | 258 | ||
263 | endchoice | 259 | endchoice |
264 | 260 | ||
261 | source "arch/sh/boards/renesas/hs7751rvoip/Kconfig" | ||
262 | source "arch/sh/boards/renesas/rts7751r2d/Kconfig" | ||
263 | source "arch/sh/boards/renesas/r7780rp/Kconfig" | ||
264 | |||
265 | source "arch/sh/mm/Kconfig" | 265 | source "arch/sh/mm/Kconfig" |
266 | 266 | ||
267 | config CF_ENABLER | 267 | config CF_ENABLER |
@@ -412,8 +412,9 @@ config CPU_HAS_PTEA | |||
412 | 412 | ||
413 | endmenu | 413 | endmenu |
414 | 414 | ||
415 | menu "Timer support" | 415 | menu "Timer and clock configuration" |
416 | depends on !GENERIC_TIME | 416 | |
417 | if !GENERIC_TIME | ||
417 | 418 | ||
418 | config SH_TMU | 419 | config SH_TMU |
419 | bool "TMU timer support" | 420 | bool "TMU timer support" |
@@ -436,17 +437,11 @@ config SH_MTU2 | |||
436 | help | 437 | help |
437 | This enables the use of the MTU2 as the system timer. | 438 | This enables the use of the MTU2 as the system timer. |
438 | 439 | ||
439 | endmenu | 440 | endif |
440 | |||
441 | source "arch/sh/boards/renesas/hs7751rvoip/Kconfig" | ||
442 | |||
443 | source "arch/sh/boards/renesas/rts7751r2d/Kconfig" | ||
444 | |||
445 | source "arch/sh/boards/renesas/r7780rp/Kconfig" | ||
446 | 441 | ||
447 | config SH_TIMER_IRQ | 442 | config SH_TIMER_IRQ |
448 | int | 443 | int |
449 | default "28" if CPU_SUBTYPE_SH7780 | 444 | default "28" if CPU_SUBTYPE_SH7780 || CPU_SUBTYPE_SH7785 |
450 | default "86" if CPU_SUBTYPE_SH7619 | 445 | default "86" if CPU_SUBTYPE_SH7619 |
451 | default "140" if CPU_SUBTYPE_SH7206 | 446 | default "140" if CPU_SUBTYPE_SH7206 |
452 | default "16" | 447 | default "16" |
@@ -476,7 +471,8 @@ config SH_PCLK_FREQ | |||
476 | default "33333333" if CPU_SUBTYPE_SH7300 || CPU_SUBTYPE_SH7770 || \ | 471 | default "33333333" if CPU_SUBTYPE_SH7300 || CPU_SUBTYPE_SH7770 || \ |
477 | CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \ | 472 | CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \ |
478 | CPU_SUBTYPE_SH7206 | 473 | CPU_SUBTYPE_SH7206 |
479 | default "50000000" if CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7780 | 474 | default "50000000" if CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7780 || \ |
475 | CPU_SUBTYPE_SH7785 | ||
480 | default "60000000" if CPU_SUBTYPE_SH7751 | 476 | default "60000000" if CPU_SUBTYPE_SH7751 |
481 | default "66000000" if CPU_SUBTYPE_SH4_202 | 477 | default "66000000" if CPU_SUBTYPE_SH4_202 |
482 | help | 478 | help |
@@ -491,6 +487,8 @@ config SH_CLK_MD | |||
491 | help | 487 | help |
492 | MD2 - MD0 pin setting. | 488 | MD2 - MD0 pin setting. |
493 | 489 | ||
490 | endmenu | ||
491 | |||
494 | menu "CPU Frequency scaling" | 492 | menu "CPU Frequency scaling" |
495 | 493 | ||
496 | source "drivers/cpufreq/Kconfig" | 494 | source "drivers/cpufreq/Kconfig" |
@@ -509,21 +507,6 @@ config SH_CPU_FREQ | |||
509 | 507 | ||
510 | endmenu | 508 | endmenu |
511 | 509 | ||
512 | source "arch/sh/drivers/dma/Kconfig" | ||
513 | |||
514 | source "arch/sh/cchips/Kconfig" | ||
515 | |||
516 | config HEARTBEAT | ||
517 | bool "Heartbeat LED" | ||
518 | depends on SH_MPC1211 || SH_SH03 || \ | ||
519 | SOLUTION_ENGINE || \ | ||
520 | SH_RTS7751R2D || SH_SH4202_MICRODEV || SH_LANDISK || \ | ||
521 | SH_R7780RP | ||
522 | help | ||
523 | Use the power-on LED on your machine as a load meter. The exact | ||
524 | behavior is platform-dependent, but normally the flash frequency is | ||
525 | a hyperbolic function of the 5-minute load average. | ||
526 | |||
527 | source "arch/sh/drivers/Kconfig" | 510 | source "arch/sh/drivers/Kconfig" |
528 | 511 | ||
529 | endmenu | 512 | endmenu |