aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/Kconfig
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-11-19 21:18:30 -0500
committerPaul Mundt <lethal@linux-sh.org>2006-12-05 20:45:37 -0500
commit417528a2e35f46bc42721de5c4efd33a0eba019d (patch)
tree622d88ef2f82910063e841fd70d8720465c4dcef /arch/sh/Kconfig
parent716067f28931d46b9f460acbeae1478a337e58ec (diff)
sh: Configurable timer IRQ.
All of the various CPU subtypes currently hardcode TIMER_IRQ, switch this to a config option in the few places we need this. This allows further removal of hardcoded IRQ headers.. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r--arch/sh/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig
index ba7a15016307..b95dbb8db661 100644
--- a/arch/sh/Kconfig
+++ b/arch/sh/Kconfig
@@ -405,6 +405,13 @@ source "arch/sh/boards/renesas/rts7751r2d/Kconfig"
405 405
406source "arch/sh/boards/renesas/r7780rp/Kconfig" 406source "arch/sh/boards/renesas/r7780rp/Kconfig"
407 407
408config SH_TIMER_IRQ
409 int
410 default "28" if CPU_SUBTYPE_SH7780
411 default "86" if CPU_SUBTYPE_SH7619
412 default "140" if CPU_SUBTYPE_SH7206
413 default "16"
414
408config SH_PCLK_FREQ 415config SH_PCLK_FREQ
409 int "Peripheral clock frequency (in Hz)" 416 int "Peripheral clock frequency (in Hz)"
410 default "27000000" if CPU_SUBTYPE_SH73180 || CPU_SUBTYPE_SH7343 417 default "27000000" if CPU_SUBTYPE_SH73180 || CPU_SUBTYPE_SH7343