diff options
author | Mingliang Hu <mhu4@marvell.com> | 2010-04-12 17:55:21 +0800 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-05-11 17:25:05 +0200 |
commit | 8ae84427bb05c2921dcb0200b161b904028b5784 (patch) | |
tree | 10134d1ebdb34f950b3f6e40b4bd9405f5d516da /arch/arm/mach-mmp | |
parent | 55d3936d30affccb904f9294a3076ccb7bf09688 (diff) | |
download | linux-8ae84427bb05c2921dcb0200b161b904028b5784.tar.gz linux-8ae84427bb05c2921dcb0200b161b904028b5784.tar.bz2 linux-8ae84427bb05c2921dcb0200b161b904028b5784.zip |
[ARM] mmp: fix clock tick rate in mmp2
In MMP2, clock tick rate should be 6500000.
Signed-off-by: Mingliang Hu <mhu4@marvell.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-mmp')
-rw-r--r-- | arch/arm/mach-mmp/include/mach/timex.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-mmp/include/mach/timex.h b/arch/arm/mach-mmp/include/mach/timex.h index 6cebbd0ca8f4..70c9f1d88c02 100644 --- a/arch/arm/mach-mmp/include/mach/timex.h +++ b/arch/arm/mach-mmp/include/mach/timex.h @@ -6,4 +6,8 @@ * published by the Free Software Foundation. */ +#ifdef CONFIG_CPU_MMP2 +#define CLOCK_TICK_RATE 6500000 +#else #define CLOCK_TICK_RATE 3250000 +#endif |