diff options
author | Rob Herring <rob.herring@calxeda.com> | 2013-10-04 10:22:44 -0500 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-11-04 11:09:34 -0500 |
commit | 3dae5b510eb966214a3cc32476ca4e45029f087e (patch) | |
tree | 80eb0c0c5fb269ccc6c307e63e0bb4b762a2979e /include/configs/zmx25.h | |
parent | 9df1bd416deef274536f00128ad11d24278fa655 (diff) | |
download | u-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/zmx25.h')
-rw-r--r-- | include/configs/zmx25.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/zmx25.h b/include/configs/zmx25.h index 2e7f145..8ffe6f1 100644 --- a/include/configs/zmx25.h +++ b/include/configs/zmx25.h @@ -10,10 +10,16 @@ #ifndef __CONFIG_H #define __CONFIG_H +#include <asm/arch/imx-regs.h> + #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 |