diff options
author | Paul Mundt <lethal@linux-sh.org> | 2006-01-17 07:14:17 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-17 08:15:28 +0100 |
commit | 36ddf31b689a8c11d424e43565d2aa440b77bbf4 (patch) | |
tree | 8cc1e98a496811126c41a9ec31f894c64bae13df /include/asm-sh/cpu-sh4 | |
parent | [PATCH] sh: I/O routine cleanups and ioremap() overhaul (diff) | |
download | linux-36ddf31b689a8c11d424e43565d2aa440b77bbf4.tar.xz linux-36ddf31b689a8c11d424e43565d2aa440b77bbf4.zip |
[PATCH] sh: Simplistic clock framework
This adds a relatively simplistic clock framework for sh. The initial goal
behind this is to clean up the arch/sh/kernel/time.c mess and to get the CPU
subtype-specific frequency setting and calculation code moved somewhere more
sensible.
This only deals with the core clocks at the moment, though it's trivial for
other drivers to define their own clocks as desired.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Cc: john stultz <johnstul@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-sh/cpu-sh4')
-rw-r--r-- | include/asm-sh/cpu-sh4/freq.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-sh/cpu-sh4/freq.h b/include/asm-sh/cpu-sh4/freq.h index 201d94fd214f..ef2b9b1ae41f 100644 --- a/include/asm-sh/cpu-sh4/freq.h +++ b/include/asm-sh/cpu-sh4/freq.h @@ -12,6 +12,8 @@ #if defined(CONFIG_CPU_SUBTYPE_SH73180) #define FRQCR 0xa4150000 +#elif defined(CONFIG_CPU_SUBTYPE_SH7780) +#define FRQCR 0xffc80000 #else #define FRQCR 0xffc00000 #endif |