diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-09-08 07:47:42 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-09-08 07:47:42 -0400 |
commit | cf204fa797cf968de8043491cd469ad0321d0940 (patch) | |
tree | 0faa7e866c1ce490973d61a5d1e277ee47ab3c54 /arch/sh/Kconfig | |
parent | 4eb5845d6cbdb9bf03f563c22f3a54115121858f (diff) |
sh: Derive calibrate_delay lpj from clk fwk.
All CPUs must have a sensible cpu_clk definition these days, which we can
safely use for deriving the preset loops_per_jiffy. The only odd one out
is SH-5, which hasn't been hammered in to the framework yet.
Based on the ST patch.
Signed-off-by: Francesco Virlinzi <francesco.virlinzi@st.com>
Signed-off-by: Carl Shaw <carl.shaw@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r-- | arch/sh/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index c5b08eb3770e..bbdcd6418ef5 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -25,6 +25,7 @@ config SUPERH32 | |||
25 | 25 | ||
26 | config SUPERH64 | 26 | config SUPERH64 |
27 | def_bool y if CPU_SH5 | 27 | def_bool y if CPU_SH5 |
28 | select GENERIC_CALIBRATE_DELAY | ||
28 | 29 | ||
29 | config ARCH_DEFCONFIG | 30 | config ARCH_DEFCONFIG |
30 | string | 31 | string |
@@ -57,7 +58,7 @@ config GENERIC_IRQ_PROBE | |||
57 | def_bool y | 58 | def_bool y |
58 | 59 | ||
59 | config GENERIC_CALIBRATE_DELAY | 60 | config GENERIC_CALIBRATE_DELAY |
60 | def_bool y | 61 | bool |
61 | 62 | ||
62 | config GENERIC_IOMAP | 63 | config GENERIC_IOMAP |
63 | bool | 64 | bool |