diff options
author | Kuninori Morimoto <morimoto.kuninori@renesas.com> | 2009-05-29 03:41:26 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-06-01 23:08:52 -0400 |
commit | 4778541470cf7d074acd998fd40c06b94711e4ad (patch) | |
tree | f917a4ad0819a92c1f1d3f7a7b80993c60a3df38 /arch/sh | |
parent | 0bf8513ed0df64b38edce63411d4b7b368464f47 (diff) |
sh: fix CONFIG_SH_PCLK_FREQ bug for sh7724
CONFIG_SH_PCLK_FREQ=33333333 is correct for sh7724.
sh7724 master clock is 33333333, but peripheral is 41666666.
This bug came to light because sh-sci driver had changed clk
from "module_clk" to "peripheral_clk"
Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/Kconfig | 3 | ||||
-rw-r--r-- | arch/sh/configs/se7724_defconfig | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index e9392aa8c561..dec8b7b8dc6c 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -502,8 +502,7 @@ config SH_PCLK_FREQ | |||
502 | CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \ | 502 | CPU_SUBTYPE_SH7760 || CPU_SUBTYPE_SH7705 || \ |
503 | CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \ | 503 | CPU_SUBTYPE_SH7203 || CPU_SUBTYPE_SH7206 || \ |
504 | CPU_SUBTYPE_SH7263 || CPU_SUBTYPE_MXG || \ | 504 | CPU_SUBTYPE_SH7263 || CPU_SUBTYPE_MXG || \ |
505 | CPU_SUBTYPE_SH7786 | 505 | CPU_SUBTYPE_SH7786 || CPU_SUBTYPE_SH7724 |
506 | default "41666666" if CPU_SUBTYPE_SH7724 | ||
507 | default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R | 506 | default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R |
508 | default "66000000" if CPU_SUBTYPE_SH4_202 | 507 | default "66000000" if CPU_SUBTYPE_SH4_202 |
509 | default "50000000" | 508 | default "50000000" |
diff --git a/arch/sh/configs/se7724_defconfig b/arch/sh/configs/se7724_defconfig index a029d0fb1163..96d2587467e6 100644 --- a/arch/sh/configs/se7724_defconfig +++ b/arch/sh/configs/se7724_defconfig | |||
@@ -243,7 +243,7 @@ CONFIG_SH_7724_SOLUTION_ENGINE=y | |||
243 | # | 243 | # |
244 | CONFIG_SH_TIMER_TMU=y | 244 | CONFIG_SH_TIMER_TMU=y |
245 | # CONFIG_SH_TIMER_CMT is not set | 245 | # CONFIG_SH_TIMER_CMT is not set |
246 | CONFIG_SH_PCLK_FREQ=41666666 | 246 | CONFIG_SH_PCLK_FREQ=33333333 |
247 | # CONFIG_NO_HZ is not set | 247 | # CONFIG_NO_HZ is not set |
248 | # CONFIG_HIGH_RES_TIMERS is not set | 248 | # CONFIG_HIGH_RES_TIMERS is not set |
249 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | 249 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y |