projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0450df
)
ARM i.MX: define CLOCK_TICK_RATE to bogus value
author
Sascha Hauer
<s.hauer@pengutronix.de>
Mon, 9 May 2011 16:30:14 +0000
(18:30 +0200)
committer
Sascha Hauer
<s.hauer@pengutronix.de>
Thu, 7 Jul 2011 07:59:58 +0000
(09:59 +0200)
We have a clocksource which renders CLOCK_TICK_RATE useless. Define
it to a bogus value to get rid of some ifdeffery.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/plat-mxc/include/mach/timex.h
patch
|
blob
|
history
diff --git
a/arch/arm/plat-mxc/include/mach/timex.h
b/arch/arm/plat-mxc/include/mach/timex.h
index d61d5c74817cb3cce231db111eee134682750d28..10343d1f87e144542b1414f0b23e28519c5a2617 100644
(file)
--- a/
arch/arm/plat-mxc/include/mach/timex.h
+++ b/
arch/arm/plat-mxc/include/mach/timex.h
@@
-16,16
+16,7
@@
#ifndef __ASM_ARCH_MXC_TIMEX_H__
#define __ASM_ARCH_MXC_TIMEX_H__
-#if defined CONFIG_ARCH_MX1
-#define CLOCK_TICK_RATE 16000000
-#elif defined CONFIG_ARCH_MX2
-#define CLOCK_TICK_RATE 13300000
-#elif defined CONFIG_ARCH_MX3
-#define CLOCK_TICK_RATE 16625000
-#elif defined CONFIG_ARCH_MX25
-#define CLOCK_TICK_RATE 16000000
-#elif defined CONFIG_ARCH_MX5
-#define CLOCK_TICK_RATE 8000000
-#endif
+/* Bogus value */
+#define CLOCK_TICK_RATE 12345678
#endif /* __ASM_ARCH_MXC_TIMEX_H__ */