aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-ixp4xx/include/mach/timex.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2013-10-21 11:07:04 +0200
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2013-12-20 17:17:16 +0100
commit79f08d9ed217318b4f325b7fcf8f26dcd0e41689 (patch)
tree06baef3f15fea814781dacfd241a6f2095fcf87e /arch/arm/mach-ixp4xx/include/mach/timex.h
parent53985371458fc17405c7fc277e6f05fe36965eab (diff)
ARM: drop <mach/timex.h> for !ARCH_MULTIPLATFORM, too
While <mach/timex.h> isn't used for multi-platform builds since long it still is for "normal" builds. As the previous patches fix all sites to not make use of this per-platform file, it can go now for good also for platforms that are not (yet) converted to multi-platform. While at it there are no users of CLOCK_TICK_RATE any more, so also drop the dummy #define. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-ixp4xx/include/mach/timex.h')
-rw-r--r--arch/arm/mach-ixp4xx/include/mach/timex.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm/mach-ixp4xx/include/mach/timex.h b/arch/arm/mach-ixp4xx/include/mach/timex.h
deleted file mode 100644
index 0396d89f947c..000000000000
--- a/arch/arm/mach-ixp4xx/include/mach/timex.h
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- * arch/arm/mach-ixp4xx/include/mach/timex.h
- *
- */
-
-#include <mach/ixp4xx-regs.h>
-
-/*
- * We use IXP425 General purpose timer for our timer needs, it runs at
- * 66.66... MHz. We do a convulted calculation of CLOCK_TICK_RATE b/c the
- * timer register ignores the bottom 2 bits of the LATCH value.
- */
-#define IXP4XX_TIMER_FREQ 66666000
-#define CLOCK_TICK_RATE \
- (((IXP4XX_TIMER_FREQ / HZ & ~IXP4XX_OST_RELOAD_MASK) + 1) * HZ)
-