summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mxs/include/mach/timex.h
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@freescale.com>2010-12-09 23:12:37 +0800
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-12-13 14:49:50 +0100
commitfb410aef0314ef183fe6da879d29536311971a20 (patch)
treea8b1f7359426e426e529a3bb4b6609a2270ac256 /arch/arm/mach-mxs/include/mach/timex.h
parentb0b6e42aa63fbd00a3b509e75702aca4be8618cd (diff)
downloadop-kernel-dev-fb410aef0314ef183fe6da879d29536311971a20.zip
op-kernel-dev-fb410aef0314ef183fe6da879d29536311971a20.tar.gz
ARM: mxs: Add helper definition and function
Add helper definition and function for MXS-based. Signed-off-by: Shawn Guo <shawn.guo@freescale.com> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mxs/include/mach/timex.h')
-rw-r--r--arch/arm/mach-mxs/include/mach/timex.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/include/mach/timex.h b/arch/arm/mach-mxs/include/mach/timex.h
new file mode 100644
index 0000000..734ce89
--- /dev/null
+++ b/arch/arm/mach-mxs/include/mach/timex.h
@@ -0,0 +1,21 @@
+/*
+ * Copyright (C) 1999 ARM Limited
+ * Copyright 2004-2007 Freescale Semiconductor, Inc. All Rights Reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef __MACH_MXS_TIMEX_H__
+#define __MACH_MXS_TIMEX_H__
+
+#define CLOCK_TICK_RATE 32000 /* 32K */
+
+#endif /* __MACH_MXS_TIMEX_H__ */
OpenPOWER on IntegriCloud