summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndrew Murray <amurray@mpc-data.co.uk>2008-01-08 01:56:45 +0100
committerPaul Mundt <lethal@linux-sh.org>2008-01-28 05:19:02 +0100
commitc3aa92afd0a6c253df974556b4a43c0a182d1fc4 (patch)
tree8b002befad30111dc3736984042ed081de2fe64e /include
parentsh: Add support for SH7763 CPU subtype. (diff)
downloadlinux-c3aa92afd0a6c253df974556b4a43c0a182d1fc4.tar.xz
linux-c3aa92afd0a6c253df974556b4a43c0a182d1fc4.zip
sh: sh7712 clock support
This patch provides specific clock support for the SH7712. Signed-off-by: Andrew Murray <amurray@mpc-data.co.uk> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-sh/cpu-sh3/freq.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-sh/cpu-sh3/freq.h b/include/asm-sh/cpu-sh3/freq.h
index 0a054b53b9de..53c62302b2e3 100644
--- a/include/asm-sh/cpu-sh3/freq.h
+++ b/include/asm-sh/cpu-sh3/freq.h
@@ -10,7 +10,12 @@
#ifndef __ASM_CPU_SH3_FREQ_H
#define __ASM_CPU_SH3_FREQ_H
+#ifdef CONFIG_CPU_SUBTYPE_SH7712
+#define FRQCR 0xA415FF80
+#else
#define FRQCR 0xffffff80
+#endif
+
#define MIN_DIVISOR_NR 0
#define MAX_DIVISOR_NR 4