From 3dae5b510eb966214a3cc32476ca4e45029f087e Mon Sep 17 00:00:00 2001 From: Rob Herring Date: Fri, 4 Oct 2013 10:22:44 -0500 Subject: ARM: mx25: convert to common timer code Convert mx25 to use the commmon timer code. Signed-off-by: Rob Herring --- include/configs/zmx25.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/configs/zmx25.h') diff --git a/include/configs/zmx25.h b/include/configs/zmx25.h index 2e7f14586a..8ffe6f1e08 100644 --- a/include/configs/zmx25.h +++ b/include/configs/zmx25.h @@ -10,10 +10,16 @@ #ifndef __CONFIG_H #define __CONFIG_H +#include + #define CONFIG_ARM926EJS /* arm926ejs CPU core */ #define CONFIG_MX25 #define CONFIG_SYS_TEXT_BASE 0xA0000000 +#define CONFIG_SYS_TIMER_RATE 32768 +#define CONFIG_SYS_TIMER_COUNTER \ + (&((struct gpt_regs *)IMX_GPT1_BASE)->counter) + #define CONFIG_MACH_TYPE MACH_TYPE_ZMX25 /* * Environment settings -- cgit v1.2.1