Skip to content

Commit

Permalink
ARM i.MX: define CLOCK_TICK_RATE to bogus value
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sascha Hauer committed Jul 7, 2011
1 parent c0450df commit 5a145ba
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions arch/arm/plat-mxc/include/mach/timex.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__ */

0 comments on commit 5a145ba

Please sign in to comment.