Skip to contentSkip to conversation

mmp: fix clock tick rate in mmp2

PATCH New Mingliang Hu 1 participant 1 message Apr 12, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mmp: fix clock tick rate in mmp2

In MMP2, clock tick rate should be 6500000.

---
 arch/arm/mach-mmp/include/mach/timex.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
(quoted diff) +0 -0

b/arch/arm/mach-mmp/include/mach/timex.h
index 6cebbd0..70c9f1d 100644

arch/arm/mach-mmp/include/mach/timex.h +4 -0
@@ -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
Signature · 1 line
1.5.6.5