ARM: socfpga: convert to common timer code

Convert socfpga to use the commmon timer code.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
This commit is contained in:
Rob Herring
2013-10-04 10:22:46 -05:00
committed by Tom Rini
parent b3a7f22b3e
commit 23ab7ee0ff
2 changed files with 3 additions and 74 deletions

View File

@@ -197,10 +197,11 @@
#define TIMER_LOAD_VAL 0xFFFFFFFF
/* Timer info */
#ifdef CONFIG_SOCFPGA_VIRTUAL_TARGET
#define CONFIG_TIMER_CLOCK_KHZ 2400
#define CONFIG_SYS_TIMER_RATE 2400000
#else
#define CONFIG_TIMER_CLOCK_KHZ 25000
#define CONFIG_SYS_TIMER_RATE 25000000
#endif
#define CONFIG_SYS_TIMER_COUNTER (CONFIG_SYS_TIMERBASE + 0x4)
#define CONFIG_ENV_IS_NOWHERE