summaryrefslogtreecommitdiff
path: root/include/configs/nios2-generic.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/nios2-generic.h')
-rw-r--r--include/configs/nios2-generic.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/configs/nios2-generic.h b/include/configs/nios2-generic.h
index 293acae..6e6cd8c 100644
--- a/include/configs/nios2-generic.h
+++ b/include/configs/nios2-generic.h
@@ -39,12 +39,8 @@
/*
* TIMER
*/
-#define CONFIG_SYS_LOW_RES_TIMER
-#define CONFIG_SYS_NIOS_TMRBASE CONFIG_SYS_TIMER_BASE
-#define CONFIG_SYS_NIOS_TMRIRQ CONFIG_SYS_TIMER_IRQ
-#define CONFIG_SYS_NIOS_TMRMS 10 /* Desired period (msec)*/
-#define CONFIG_SYS_NIOS_TMRCNT \
- (CONFIG_SYS_NIOS_TMRMS * (CONFIG_SYS_TIMER_FREQ / 1000) - 1)
+#define CONFIG_SYS_TIMER_RATE CONFIG_SYS_TIMER_FREQ
+#define CONFIG_SYS_NIOS_TMRMS 10 /* FIXME: Desired period (msec)*/
/*
* STATUS LED