summaryrefslogtreecommitdiff
path: root/include/configs/tx25.h
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2013-10-04 10:22:44 -0500
committerTom Rini <trini@ti.com>2013-11-04 11:09:34 -0500
commit3dae5b510eb966214a3cc32476ca4e45029f087e (patch)
tree80eb0c0c5fb269ccc6c307e63e0bb4b762a2979e /include/configs/tx25.h
parent9df1bd416deef274536f00128ad11d24278fa655 (diff)
downloadu-boot-imx-3dae5b510eb966214a3cc32476ca4e45029f087e.zip
u-boot-imx-3dae5b510eb966214a3cc32476ca4e45029f087e.tar.gz
u-boot-imx-3dae5b510eb966214a3cc32476ca4e45029f087e.tar.bz2
ARM: mx25: convert to common timer code
Convert mx25 to use the commmon timer code. Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Diffstat (limited to 'include/configs/tx25.h')
-rw-r--r--include/configs/tx25.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/tx25.h b/include/configs/tx25.h
index edd1f48..5ac6e64 100644
--- a/include/configs/tx25.h
+++ b/include/configs/tx25.h
@@ -15,6 +15,9 @@
*/
#define CONFIG_MX25
#define CONFIG_MX25_CLK32 32000 /* OSC32K frequency */
+#define CONFIG_SYS_TIMER_RATE CONFIG_MX25_CLK32
+#define CONFIG_SYS_TIMER_COUNTER \
+ (&((struct gpt_regs *)IMX_GPT1_BASE)->counter)
#define CONFIG_SYS_MONITOR_LEN (256 << 10) /* 256 kB for U-Boot */