]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
[ARM] mmp: fix clock tick rate in mmp2
authorMingliang Hu <mhu4@marvell.com>
Mon, 12 Apr 2010 09:55:21 +0000 (17:55 +0800)
committerEric Miao <eric.y.miao@gmail.com>
Tue, 11 May 2010 15:25:05 +0000 (17:25 +0200)
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>
arch/arm/mach-mmp/include/mach/timex.h

index 6cebbd0ca8f432dbab4828e4ddad93a4e9bbee24..70c9f1d88c0280590da0b21f9bcce7376b4ca67b 100644 (file)
@@ -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