diff options
author | Yoshinori Sato <ysato@users.sourceforge.jp> | 2006-11-05 01:40:13 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2006-12-05 20:45:36 -0500 |
commit | 9d4436a6fbc8c5eccdfcb8f5884e0a7b4a57f6d2 (patch) | |
tree | a8b7532fffa76ae526dea547cc87200466e00842 /arch/sh/Kconfig | |
parent | e62438630ca37539c8cc1553710bbfaa3cf960a7 (diff) |
sh: Add support for SH7206 and SH7619 CPU subtypes.
This implements initial support for the SH7206 (SH-2A) and SH7619
(SH-2) MMU-less CPUs.
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r-- | arch/sh/Kconfig | 43 |
1 files changed, 40 insertions, 3 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index bffc7e176970..ba7a15016307 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -219,6 +219,20 @@ config SH_SHMIN | |||
219 | help | 219 | help |
220 | Select SHMIN if configuring for the SHMIN board. | 220 | Select SHMIN if configuring for the SHMIN board. |
221 | 221 | ||
222 | config SH_7206_SOLUTION_ENGINE | ||
223 | bool "SolutionEngine7206" | ||
224 | select CPU_SUBTYPE_SH7206 | ||
225 | help | ||
226 | Select 7206 SolutionEngine if configuring for a Hitachi SH7206 | ||
227 | evaluation board. | ||
228 | |||
229 | config SH_7619_SOLUTION_ENGINE | ||
230 | bool "SolutionEngine7619" | ||
231 | select CPU_SUBTYPE_SH7619 | ||
232 | help | ||
233 | Select 7619 SolutionEngine if configuring for a Hitachi SH7619 | ||
234 | evaluation board. | ||
235 | |||
222 | config SH_UNKNOWN | 236 | config SH_UNKNOWN |
223 | bool "BareCPU" | 237 | bool "BareCPU" |
224 | help | 238 | help |
@@ -364,10 +378,25 @@ depends on !GENERIC_TIME | |||
364 | 378 | ||
365 | config SH_TMU | 379 | config SH_TMU |
366 | bool "TMU timer support" | 380 | bool "TMU timer support" |
381 | depends on CPU_SH3 || CPU_SH4 | ||
367 | default y | 382 | default y |
368 | help | 383 | help |
369 | This enables the use of the TMU as the system timer. | 384 | This enables the use of the TMU as the system timer. |
370 | 385 | ||
386 | config SH_CMT | ||
387 | bool "CMT timer support" | ||
388 | depends on CPU_SH2 | ||
389 | default y | ||
390 | help | ||
391 | This enables the use of the CMT as the system timer. | ||
392 | |||
393 | config SH_MTU2 | ||
394 | bool "MTU2 timer support" | ||
395 | depends on CPU_SH2A | ||
396 | default n | ||
397 | help | ||
398 | This enables the use of the MTU2 as the system timer. | ||
399 | |||
371 | endmenu | 400 | endmenu |
372 | 401 | ||
373 | source "arch/sh/boards/renesas/hs7751rvoip/Kconfig" | 402 | source "arch/sh/boards/renesas/hs7751rvoip/Kconfig" |
@@ -378,17 +407,25 @@ source "arch/sh/boards/renesas/r7780rp/Kconfig" | |||
378 | 407 | ||
379 | config SH_PCLK_FREQ | 408 | config SH_PCLK_FREQ |
380 | int "Peripheral clock frequency (in Hz)" | 409 | int "Peripheral clock frequency (in Hz)" |
410 | default "27000000" if CPU_SUBTYPE_SH73180 || CPU_SUBTYPE_SH7343 | ||
411 | default "31250000" if CPU_SUBTYPE_SH7619 | ||
412 | default "33333333" if CPU_SUBTYPE_SH7300 || CPU_SUBTYPE_SH7770 || \ | ||
413 | CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \ | ||
414 | CPU_SUBTYPE_SH7206 | ||
381 | default "50000000" if CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7780 | 415 | default "50000000" if CPU_SUBTYPE_SH7750 || CPU_SUBTYPE_SH7780 |
382 | default "60000000" if CPU_SUBTYPE_SH7751 | 416 | 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 | 417 | default "66000000" if CPU_SUBTYPE_SH4_202 |
387 | help | 418 | help |
388 | This option is used to specify the peripheral clock frequency. | 419 | This option is used to specify the peripheral clock frequency. |
389 | This is necessary for determining the reference clock value on | 420 | This is necessary for determining the reference clock value on |
390 | platforms lacking an RTC. | 421 | platforms lacking an RTC. |
391 | 422 | ||
423 | config SH_CLK_MD | ||
424 | int "CPU Mode Pin Setting" | ||
425 | depends on CPU_SUBTYPE_SH7619 || CPU_SUBTYPE_SH7206 | ||
426 | help | ||
427 | MD2 - MD0 Setting. | ||
428 | |||
392 | menu "CPU Frequency scaling" | 429 | menu "CPU Frequency scaling" |
393 | 430 | ||
394 | source "drivers/cpufreq/Kconfig" | 431 | source "drivers/cpufreq/Kconfig" |